aws-sdk-honeycode 1.1.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7baf5bcd039f35b8aea6807bccd71b6b3cb1d9a78595a86c7095830e24d92db4
4
- data.tar.gz: 6011fd1e37c29d376d2d12c21011929e3134b7fa4411ca95d48648f09cf571d1
3
+ metadata.gz: beaacbf52c49c664356d74018b2a40dcb091a1eff4ce0068593d7ba29c62b01e
4
+ data.tar.gz: fac327b28450b525baaf933f1ebebffcd8d7e7b62038ab1c99f341dc37183956
5
5
  SHA512:
6
- metadata.gz: 288dcd33cd94394cb1103eccdbd2df1f7a47bd26491f96593b844db82f6e5229f7cce5a98a79c26450964d6b5cddbbddf24e8a34bc73f51a88cf3a4806ed1a78
7
- data.tar.gz: 908d83929b098091973ce9e3c1e52bf57396b5ceeb40c3775fd8866b2cd87ed2ebb883fb84c451c3e82cbd329959d40a161d7365628d4cc753ff17b80d2026d1
6
+ metadata.gz: 5a35e1af8158ee088c1b559b97c1728bff17046b2d883c030c5c7f69e79d1dc816d329d8f90b08baf942c5b5d956e88ae44533d711530e782c97e66285cc13bd
7
+ data.tar.gz: 188d3d1de3ef1c2dbf11e01a152825b9a6fa98623f995eb3c7b1e169e2286696f1c1962d25e93e268b6e1befaafc0fc3f4a44ccc70b46ea19f8c8ce6617d7e03
data/CHANGELOG.md ADDED
@@ -0,0 +1,38 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.6.0 (2021-03-10)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.5.0 (2021-02-02)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.4.0 (2020-12-01)
15
+ ------------------
16
+
17
+ * Feature - Introducing APIs to read and write directly from Honeycode tables. Use APIs to pull table and column metadata, then use the read and write APIs to programmatically read and write from the tables.
18
+
19
+ 1.3.0 (2020-09-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.2.0 (2020-09-15)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.1.0 (2020-08-25)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.0.0 (2020-06-24)
35
+ ------------------
36
+
37
+ * Feature - Initial release of `aws-sdk-honeycode`.
38
+
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.6.0
@@ -3,10 +3,11 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -27,7 +28,7 @@ require_relative 'aws-sdk-honeycode/customizations'
27
28
  # structure.
28
29
  #
29
30
  # honeycode = Aws::Honeycode::Client.new
30
- # resp = honeycode.get_screen_data(params)
31
+ # resp = honeycode.batch_create_table_rows(params)
31
32
  #
32
33
  # See {Client} for more information.
33
34
  #
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-honeycode/customizations'
47
48
  # @!group service
48
49
  module Aws::Honeycode
49
50
 
50
- GEM_VERSION = '1.1.0'
51
+ GEM_VERSION = '1.6.0'
51
52
 
52
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -327,6 +327,396 @@ module Aws::Honeycode
327
327
 
328
328
  # @!group API Operations
329
329
 
330
+ # The BatchCreateTableRows API allows you to create one or more rows at
331
+ # the end of a table in a workbook. The API allows you to specify the
332
+ # values to set in some or all of the columns in the new rows.
333
+ #
334
+ # If a column is not explicitly set in a specific row, then the column
335
+ # level formula specified in the table will be applied to the new row.
336
+ # If there is no column level formula but the last row of the table has
337
+ # a formula, then that formula will be copied down to the new row. If
338
+ # there is no column level formula and no formula in the last row of the
339
+ # table, then that column will be left blank for the new rows.
340
+ #
341
+ # @option params [required, String] :workbook_id
342
+ # The ID of the workbook where the new rows are being added.
343
+ #
344
+ # If a workbook with the specified ID could not be found, this API
345
+ # throws ResourceNotFoundException.
346
+ #
347
+ # @option params [required, String] :table_id
348
+ # The ID of the table where the new rows are being added.
349
+ #
350
+ # If a table with the specified ID could not be found, this API throws
351
+ # ResourceNotFoundException.
352
+ #
353
+ # @option params [required, Array<Types::CreateRowData>] :rows_to_create
354
+ # The list of rows to create at the end of the table. Each item in this
355
+ # list needs to have a batch item id to uniquely identify the element in
356
+ # the request and the cells to create for that row. You need to specify
357
+ # at least one item in this list.
358
+ #
359
+ # Note that if one of the column ids in any of the rows in the request
360
+ # does not exist in the table, then the request fails and no updates are
361
+ # made to the table.
362
+ #
363
+ # @option params [String] :client_request_token
364
+ # The request token for performing the batch create operation. Request
365
+ # tokens help to identify duplicate requests. If a call times out or
366
+ # fails due to a transient error like a failed network connection, you
367
+ # can retry the call with the same request token. The service ensures
368
+ # that if the first call using that request token is successfully
369
+ # performed, the second call will not perform the operation again.
370
+ #
371
+ # Note that request tokens are valid only for a few minutes. You cannot
372
+ # use request tokens to dedupe requests spanning hours or days.
373
+ #
374
+ # @return [Types::BatchCreateTableRowsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
375
+ #
376
+ # * {Types::BatchCreateTableRowsResult#workbook_cursor #workbook_cursor} => Integer
377
+ # * {Types::BatchCreateTableRowsResult#created_rows #created_rows} => Hash&lt;String,String&gt;
378
+ # * {Types::BatchCreateTableRowsResult#failed_batch_items #failed_batch_items} => Array&lt;Types::FailedBatchItem&gt;
379
+ #
380
+ # @example Request syntax with placeholder values
381
+ #
382
+ # resp = client.batch_create_table_rows({
383
+ # workbook_id: "ResourceId", # required
384
+ # table_id: "ResourceId", # required
385
+ # rows_to_create: [ # required
386
+ # {
387
+ # batch_item_id: "BatchItemId", # required
388
+ # cells_to_create: { # required
389
+ # "ResourceId" => {
390
+ # fact: "Fact",
391
+ # },
392
+ # },
393
+ # },
394
+ # ],
395
+ # client_request_token: "ClientRequestToken",
396
+ # })
397
+ #
398
+ # @example Response structure
399
+ #
400
+ # resp.workbook_cursor #=> Integer
401
+ # resp.created_rows #=> Hash
402
+ # resp.created_rows["BatchItemId"] #=> String
403
+ # resp.failed_batch_items #=> Array
404
+ # resp.failed_batch_items[0].id #=> String
405
+ # resp.failed_batch_items[0].error_message #=> String
406
+ #
407
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchCreateTableRows AWS API Documentation
408
+ #
409
+ # @overload batch_create_table_rows(params = {})
410
+ # @param [Hash] params ({})
411
+ def batch_create_table_rows(params = {}, options = {})
412
+ req = build_request(:batch_create_table_rows, params)
413
+ req.send_request(options)
414
+ end
415
+
416
+ # The BatchDeleteTableRows API allows you to delete one or more rows
417
+ # from a table in a workbook. You need to specify the ids of the rows
418
+ # that you want to delete from the table.
419
+ #
420
+ # @option params [required, String] :workbook_id
421
+ # The ID of the workbook where the rows are being deleted.
422
+ #
423
+ # If a workbook with the specified id could not be found, this API
424
+ # throws ResourceNotFoundException.
425
+ #
426
+ # @option params [required, String] :table_id
427
+ # The ID of the table where the rows are being deleted.
428
+ #
429
+ # If a table with the specified id could not be found, this API throws
430
+ # ResourceNotFoundException.
431
+ #
432
+ # @option params [required, Array<String>] :row_ids
433
+ # The list of row ids to delete from the table. You need to specify at
434
+ # least one row id in this list.
435
+ #
436
+ # Note that if one of the row ids provided in the request does not exist
437
+ # in the table, then the request fails and no rows are deleted from the
438
+ # table.
439
+ #
440
+ # @option params [String] :client_request_token
441
+ # The request token for performing the delete action. Request tokens
442
+ # help to identify duplicate requests. If a call times out or fails due
443
+ # to a transient error like a failed network connection, you can retry
444
+ # the call with the same request token. The service ensures that if the
445
+ # first call using that request token is successfully performed, the
446
+ # second call will not perform the action again.
447
+ #
448
+ # Note that request tokens are valid only for a few minutes. You cannot
449
+ # use request tokens to dedupe requests spanning hours or days.
450
+ #
451
+ # @return [Types::BatchDeleteTableRowsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
452
+ #
453
+ # * {Types::BatchDeleteTableRowsResult#workbook_cursor #workbook_cursor} => Integer
454
+ # * {Types::BatchDeleteTableRowsResult#failed_batch_items #failed_batch_items} => Array&lt;Types::FailedBatchItem&gt;
455
+ #
456
+ # @example Request syntax with placeholder values
457
+ #
458
+ # resp = client.batch_delete_table_rows({
459
+ # workbook_id: "ResourceId", # required
460
+ # table_id: "ResourceId", # required
461
+ # row_ids: ["RowId"], # required
462
+ # client_request_token: "ClientRequestToken",
463
+ # })
464
+ #
465
+ # @example Response structure
466
+ #
467
+ # resp.workbook_cursor #=> Integer
468
+ # resp.failed_batch_items #=> Array
469
+ # resp.failed_batch_items[0].id #=> String
470
+ # resp.failed_batch_items[0].error_message #=> String
471
+ #
472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchDeleteTableRows AWS API Documentation
473
+ #
474
+ # @overload batch_delete_table_rows(params = {})
475
+ # @param [Hash] params ({})
476
+ def batch_delete_table_rows(params = {}, options = {})
477
+ req = build_request(:batch_delete_table_rows, params)
478
+ req.send_request(options)
479
+ end
480
+
481
+ # The BatchUpdateTableRows API allows you to update one or more rows in
482
+ # a table in a workbook.
483
+ #
484
+ # You can specify the values to set in some or all of the columns in the
485
+ # table for the specified rows. If a column is not explicitly specified
486
+ # in a particular row, then that column will not be updated for that
487
+ # row. To clear out the data in a specific cell, you need to set the
488
+ # value as an empty string ("").
489
+ #
490
+ # @option params [required, String] :workbook_id
491
+ # The ID of the workbook where the rows are being updated.
492
+ #
493
+ # If a workbook with the specified id could not be found, this API
494
+ # throws ResourceNotFoundException.
495
+ #
496
+ # @option params [required, String] :table_id
497
+ # The ID of the table where the rows are being updated.
498
+ #
499
+ # If a table with the specified id could not be found, this API throws
500
+ # ResourceNotFoundException.
501
+ #
502
+ # @option params [required, Array<Types::UpdateRowData>] :rows_to_update
503
+ # The list of rows to update in the table. Each item in this list needs
504
+ # to contain the row id to update along with the map of column id to
505
+ # cell values for each column in that row that needs to be updated. You
506
+ # need to specify at least one row in this list, and for each row, you
507
+ # need to specify at least one column to update.
508
+ #
509
+ # Note that if one of the row or column ids in the request does not
510
+ # exist in the table, then the request fails and no updates are made to
511
+ # the table.
512
+ #
513
+ # @option params [String] :client_request_token
514
+ # The request token for performing the update action. Request tokens
515
+ # help to identify duplicate requests. If a call times out or fails due
516
+ # to a transient error like a failed network connection, you can retry
517
+ # the call with the same request token. The service ensures that if the
518
+ # first call using that request token is successfully performed, the
519
+ # second call will not perform the action again.
520
+ #
521
+ # Note that request tokens are valid only for a few minutes. You cannot
522
+ # use request tokens to dedupe requests spanning hours or days.
523
+ #
524
+ # @return [Types::BatchUpdateTableRowsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
525
+ #
526
+ # * {Types::BatchUpdateTableRowsResult#workbook_cursor #workbook_cursor} => Integer
527
+ # * {Types::BatchUpdateTableRowsResult#failed_batch_items #failed_batch_items} => Array&lt;Types::FailedBatchItem&gt;
528
+ #
529
+ # @example Request syntax with placeholder values
530
+ #
531
+ # resp = client.batch_update_table_rows({
532
+ # workbook_id: "ResourceId", # required
533
+ # table_id: "ResourceId", # required
534
+ # rows_to_update: [ # required
535
+ # {
536
+ # row_id: "RowId", # required
537
+ # cells_to_update: { # required
538
+ # "ResourceId" => {
539
+ # fact: "Fact",
540
+ # },
541
+ # },
542
+ # },
543
+ # ],
544
+ # client_request_token: "ClientRequestToken",
545
+ # })
546
+ #
547
+ # @example Response structure
548
+ #
549
+ # resp.workbook_cursor #=> Integer
550
+ # resp.failed_batch_items #=> Array
551
+ # resp.failed_batch_items[0].id #=> String
552
+ # resp.failed_batch_items[0].error_message #=> String
553
+ #
554
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchUpdateTableRows AWS API Documentation
555
+ #
556
+ # @overload batch_update_table_rows(params = {})
557
+ # @param [Hash] params ({})
558
+ def batch_update_table_rows(params = {}, options = {})
559
+ req = build_request(:batch_update_table_rows, params)
560
+ req.send_request(options)
561
+ end
562
+
563
+ # The BatchUpsertTableRows API allows you to upsert one or more rows in
564
+ # a table. The upsert operation takes a filter expression as input and
565
+ # evaluates it to find matching rows on the destination table. If
566
+ # matching rows are found, it will update the cells in the matching rows
567
+ # to new values specified in the request. If no matching rows are found,
568
+ # a new row is added at the end of the table and the cells in that row
569
+ # are set to the new values specified in the request.
570
+ #
571
+ # You can specify the values to set in some or all of the columns in the
572
+ # table for the matching or newly appended rows. If a column is not
573
+ # explicitly specified for a particular row, then that column will not
574
+ # be updated for that row. To clear out the data in a specific cell, you
575
+ # need to set the value as an empty string ("").
576
+ #
577
+ # @option params [required, String] :workbook_id
578
+ # The ID of the workbook where the rows are being upserted.
579
+ #
580
+ # If a workbook with the specified id could not be found, this API
581
+ # throws ResourceNotFoundException.
582
+ #
583
+ # @option params [required, String] :table_id
584
+ # The ID of the table where the rows are being upserted.
585
+ #
586
+ # If a table with the specified id could not be found, this API throws
587
+ # ResourceNotFoundException.
588
+ #
589
+ # @option params [required, Array<Types::UpsertRowData>] :rows_to_upsert
590
+ # The list of rows to upsert in the table. Each item in this list needs
591
+ # to have a batch item id to uniquely identify the element in the
592
+ # request, a filter expression to find the rows to update for that
593
+ # element and the cell values to set for each column in the upserted
594
+ # rows. You need to specify at least one item in this list.
595
+ #
596
+ # Note that if one of the filter formulas in the request fails to
597
+ # evaluate because of an error or one of the column ids in any of the
598
+ # rows does not exist in the table, then the request fails and no
599
+ # updates are made to the table.
600
+ #
601
+ # @option params [String] :client_request_token
602
+ # The request token for performing the update action. Request tokens
603
+ # help to identify duplicate requests. If a call times out or fails due
604
+ # to a transient error like a failed network connection, you can retry
605
+ # the call with the same request token. The service ensures that if the
606
+ # first call using that request token is successfully performed, the
607
+ # second call will not perform the action again.
608
+ #
609
+ # Note that request tokens are valid only for a few minutes. You cannot
610
+ # use request tokens to dedupe requests spanning hours or days.
611
+ #
612
+ # @return [Types::BatchUpsertTableRowsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
613
+ #
614
+ # * {Types::BatchUpsertTableRowsResult#rows #rows} => Hash&lt;String,Types::UpsertRowsResult&gt;
615
+ # * {Types::BatchUpsertTableRowsResult#workbook_cursor #workbook_cursor} => Integer
616
+ # * {Types::BatchUpsertTableRowsResult#failed_batch_items #failed_batch_items} => Array&lt;Types::FailedBatchItem&gt;
617
+ #
618
+ # @example Request syntax with placeholder values
619
+ #
620
+ # resp = client.batch_upsert_table_rows({
621
+ # workbook_id: "ResourceId", # required
622
+ # table_id: "ResourceId", # required
623
+ # rows_to_upsert: [ # required
624
+ # {
625
+ # batch_item_id: "BatchItemId", # required
626
+ # filter: { # required
627
+ # formula: "Formula", # required
628
+ # context_row_id: "RowId",
629
+ # },
630
+ # cells_to_update: { # required
631
+ # "ResourceId" => {
632
+ # fact: "Fact",
633
+ # },
634
+ # },
635
+ # },
636
+ # ],
637
+ # client_request_token: "ClientRequestToken",
638
+ # })
639
+ #
640
+ # @example Response structure
641
+ #
642
+ # resp.rows #=> Hash
643
+ # resp.rows["BatchItemId"].row_ids #=> Array
644
+ # resp.rows["BatchItemId"].row_ids[0] #=> String
645
+ # resp.rows["BatchItemId"].upsert_action #=> String, one of "UPDATED", "APPENDED"
646
+ # resp.workbook_cursor #=> Integer
647
+ # resp.failed_batch_items #=> Array
648
+ # resp.failed_batch_items[0].id #=> String
649
+ # resp.failed_batch_items[0].error_message #=> String
650
+ #
651
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchUpsertTableRows AWS API Documentation
652
+ #
653
+ # @overload batch_upsert_table_rows(params = {})
654
+ # @param [Hash] params ({})
655
+ def batch_upsert_table_rows(params = {}, options = {})
656
+ req = build_request(:batch_upsert_table_rows, params)
657
+ req.send_request(options)
658
+ end
659
+
660
+ # The DescribeTableDataImportJob API allows you to retrieve the status
661
+ # and details of a table data import job.
662
+ #
663
+ # @option params [required, String] :workbook_id
664
+ # The ID of the workbook into which data was imported.
665
+ #
666
+ # If a workbook with the specified id could not be found, this API
667
+ # throws ResourceNotFoundException.
668
+ #
669
+ # @option params [required, String] :table_id
670
+ # The ID of the table into which data was imported.
671
+ #
672
+ # If a table with the specified id could not be found, this API throws
673
+ # ResourceNotFoundException.
674
+ #
675
+ # @option params [required, String] :job_id
676
+ # The ID of the job that was returned by the StartTableDataImportJob
677
+ # request.
678
+ #
679
+ # If a job with the specified id could not be found, this API throws
680
+ # ResourceNotFoundException.
681
+ #
682
+ # @return [Types::DescribeTableDataImportJobResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
683
+ #
684
+ # * {Types::DescribeTableDataImportJobResult#job_status #job_status} => String
685
+ # * {Types::DescribeTableDataImportJobResult#message #message} => String
686
+ # * {Types::DescribeTableDataImportJobResult#job_metadata #job_metadata} => Types::TableDataImportJobMetadata
687
+ #
688
+ # @example Request syntax with placeholder values
689
+ #
690
+ # resp = client.describe_table_data_import_job({
691
+ # workbook_id: "ResourceId", # required
692
+ # table_id: "ResourceId", # required
693
+ # job_id: "JobId", # required
694
+ # })
695
+ #
696
+ # @example Response structure
697
+ #
698
+ # resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED"
699
+ # resp.message #=> String
700
+ # resp.job_metadata.submitter.email #=> String
701
+ # resp.job_metadata.submitter.user_arn #=> String
702
+ # resp.job_metadata.submit_time #=> Time
703
+ # resp.job_metadata.import_options.destination_options.column_map #=> Hash
704
+ # resp.job_metadata.import_options.destination_options.column_map["ResourceId"].column_index #=> Integer
705
+ # resp.job_metadata.import_options.delimited_text_options.delimiter #=> String
706
+ # resp.job_metadata.import_options.delimited_text_options.has_header_row #=> Boolean
707
+ # resp.job_metadata.import_options.delimited_text_options.ignore_empty_rows #=> Boolean
708
+ # resp.job_metadata.import_options.delimited_text_options.data_character_encoding #=> String, one of "UTF-8", "US-ASCII", "ISO-8859-1", "UTF-16BE", "UTF-16LE", "UTF-16"
709
+ # resp.job_metadata.data_source.data_source_config.data_source_url #=> String
710
+ #
711
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/DescribeTableDataImportJob AWS API Documentation
712
+ #
713
+ # @overload describe_table_data_import_job(params = {})
714
+ # @param [Hash] params ({})
715
+ def describe_table_data_import_job(params = {}, options = {})
716
+ req = build_request(:describe_table_data_import_job, params)
717
+ req.send_request(options)
718
+ end
719
+
330
720
  # The GetScreenData API allows retrieval of data from a screen in a
331
721
  # Honeycode app. The API allows setting local variables in the screen to
332
722
  # filter, sort or otherwise affect what will be displayed on the screen.
@@ -426,11 +816,11 @@ module Aws::Honeycode
426
816
  # The ID of the automation action to be performed.
427
817
  #
428
818
  # @option params [Hash<String,Types::VariableValue>] :variables
429
- # Variables are optional and are needed only if the screen requires them
430
- # to render correctly. Variables are specified as a map where the key is
431
- # the name of the variable as defined on the screen. The value is an
432
- # object which currently has only one property, rawValue, which holds
433
- # the value of the variable to be passed to the screen.
819
+ # Variables are specified as a map where the key is the name of the
820
+ # variable as defined on the screen. The value is an object which
821
+ # currently has only one property, rawValue, which holds the value of
822
+ # the variable to be passed to the screen. Any variables defined in a
823
+ # screen are required to be passed in the call.
434
824
  #
435
825
  # @option params [String] :row_id
436
826
  # The row ID for the automation if the automation is defined inside a
@@ -481,6 +871,358 @@ module Aws::Honeycode
481
871
  req.send_request(options)
482
872
  end
483
873
 
874
+ # The ListTableColumns API allows you to retrieve a list of all the
875
+ # columns in a table in a workbook.
876
+ #
877
+ # @option params [required, String] :workbook_id
878
+ # The ID of the workbook that contains the table whose columns are being
879
+ # retrieved.
880
+ #
881
+ # If a workbook with the specified id could not be found, this API
882
+ # throws ResourceNotFoundException.
883
+ #
884
+ # @option params [required, String] :table_id
885
+ # The ID of the table whose columns are being retrieved.
886
+ #
887
+ # If a table with the specified id could not be found, this API throws
888
+ # ResourceNotFoundException.
889
+ #
890
+ # @option params [String] :next_token
891
+ # This parameter is optional. If a nextToken is not specified, the API
892
+ # returns the first page of data.
893
+ #
894
+ # Pagination tokens expire after 1 hour. If you use a token that was
895
+ # returned more than an hour back, the API will throw
896
+ # ValidationException.
897
+ #
898
+ # @return [Types::ListTableColumnsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
899
+ #
900
+ # * {Types::ListTableColumnsResult#table_columns #table_columns} => Array&lt;Types::TableColumn&gt;
901
+ # * {Types::ListTableColumnsResult#next_token #next_token} => String
902
+ # * {Types::ListTableColumnsResult#workbook_cursor #workbook_cursor} => Integer
903
+ #
904
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
905
+ #
906
+ # @example Request syntax with placeholder values
907
+ #
908
+ # resp = client.list_table_columns({
909
+ # workbook_id: "ResourceId", # required
910
+ # table_id: "ResourceId", # required
911
+ # next_token: "PaginationToken",
912
+ # })
913
+ #
914
+ # @example Response structure
915
+ #
916
+ # resp.table_columns #=> Array
917
+ # resp.table_columns[0].table_column_id #=> String
918
+ # resp.table_columns[0].table_column_name #=> String
919
+ # resp.table_columns[0].format #=> String, one of "AUTO", "NUMBER", "CURRENCY", "DATE", "TIME", "DATE_TIME", "PERCENTAGE", "TEXT", "ACCOUNTING", "CONTACT", "ROWLINK"
920
+ # resp.next_token #=> String
921
+ # resp.workbook_cursor #=> Integer
922
+ #
923
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTableColumns AWS API Documentation
924
+ #
925
+ # @overload list_table_columns(params = {})
926
+ # @param [Hash] params ({})
927
+ def list_table_columns(params = {}, options = {})
928
+ req = build_request(:list_table_columns, params)
929
+ req.send_request(options)
930
+ end
931
+
932
+ # The ListTableRows API allows you to retrieve a list of all the rows in
933
+ # a table in a workbook.
934
+ #
935
+ # @option params [required, String] :workbook_id
936
+ # The ID of the workbook that contains the table whose rows are being
937
+ # retrieved.
938
+ #
939
+ # If a workbook with the specified id could not be found, this API
940
+ # throws ResourceNotFoundException.
941
+ #
942
+ # @option params [required, String] :table_id
943
+ # The ID of the table whose rows are being retrieved.
944
+ #
945
+ # If a table with the specified id could not be found, this API throws
946
+ # ResourceNotFoundException.
947
+ #
948
+ # @option params [Array<String>] :row_ids
949
+ # This parameter is optional. If one or more row ids are specified in
950
+ # this list, then only the specified row ids are returned in the result.
951
+ # If no row ids are specified here, then all the rows in the table are
952
+ # returned.
953
+ #
954
+ # @option params [Integer] :max_results
955
+ # The maximum number of rows to return in each page of the results.
956
+ #
957
+ # @option params [String] :next_token
958
+ # This parameter is optional. If a nextToken is not specified, the API
959
+ # returns the first page of data.
960
+ #
961
+ # Pagination tokens expire after 1 hour. If you use a token that was
962
+ # returned more than an hour back, the API will throw
963
+ # ValidationException.
964
+ #
965
+ # @return [Types::ListTableRowsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
966
+ #
967
+ # * {Types::ListTableRowsResult#column_ids #column_ids} => Array&lt;String&gt;
968
+ # * {Types::ListTableRowsResult#rows #rows} => Array&lt;Types::TableRow&gt;
969
+ # * {Types::ListTableRowsResult#row_ids_not_found #row_ids_not_found} => Array&lt;String&gt;
970
+ # * {Types::ListTableRowsResult#next_token #next_token} => String
971
+ # * {Types::ListTableRowsResult#workbook_cursor #workbook_cursor} => Integer
972
+ #
973
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
974
+ #
975
+ # @example Request syntax with placeholder values
976
+ #
977
+ # resp = client.list_table_rows({
978
+ # workbook_id: "ResourceId", # required
979
+ # table_id: "ResourceId", # required
980
+ # row_ids: ["RowId"],
981
+ # max_results: 1,
982
+ # next_token: "PaginationToken",
983
+ # })
984
+ #
985
+ # @example Response structure
986
+ #
987
+ # resp.column_ids #=> Array
988
+ # resp.column_ids[0] #=> String
989
+ # resp.rows #=> Array
990
+ # resp.rows[0].row_id #=> String
991
+ # resp.rows[0].cells #=> Array
992
+ # resp.rows[0].cells[0].formula #=> String
993
+ # resp.rows[0].cells[0].format #=> String, one of "AUTO", "NUMBER", "CURRENCY", "DATE", "TIME", "DATE_TIME", "PERCENTAGE", "TEXT", "ACCOUNTING", "CONTACT", "ROWLINK"
994
+ # resp.rows[0].cells[0].raw_value #=> String
995
+ # resp.rows[0].cells[0].formatted_value #=> String
996
+ # resp.row_ids_not_found #=> Array
997
+ # resp.row_ids_not_found[0] #=> String
998
+ # resp.next_token #=> String
999
+ # resp.workbook_cursor #=> Integer
1000
+ #
1001
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTableRows AWS API Documentation
1002
+ #
1003
+ # @overload list_table_rows(params = {})
1004
+ # @param [Hash] params ({})
1005
+ def list_table_rows(params = {}, options = {})
1006
+ req = build_request(:list_table_rows, params)
1007
+ req.send_request(options)
1008
+ end
1009
+
1010
+ # The ListTables API allows you to retrieve a list of all the tables in
1011
+ # a workbook.
1012
+ #
1013
+ # @option params [required, String] :workbook_id
1014
+ # The ID of the workbook whose tables are being retrieved.
1015
+ #
1016
+ # If a workbook with the specified id could not be found, this API
1017
+ # throws ResourceNotFoundException.
1018
+ #
1019
+ # @option params [Integer] :max_results
1020
+ # The maximum number of tables to return in each page of the results.
1021
+ #
1022
+ # @option params [String] :next_token
1023
+ # This parameter is optional. If a nextToken is not specified, the API
1024
+ # returns the first page of data.
1025
+ #
1026
+ # Pagination tokens expire after 1 hour. If you use a token that was
1027
+ # returned more than an hour back, the API will throw
1028
+ # ValidationException.
1029
+ #
1030
+ # @return [Types::ListTablesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1031
+ #
1032
+ # * {Types::ListTablesResult#tables #tables} => Array&lt;Types::Table&gt;
1033
+ # * {Types::ListTablesResult#next_token #next_token} => String
1034
+ # * {Types::ListTablesResult#workbook_cursor #workbook_cursor} => Integer
1035
+ #
1036
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1037
+ #
1038
+ # @example Request syntax with placeholder values
1039
+ #
1040
+ # resp = client.list_tables({
1041
+ # workbook_id: "ResourceId", # required
1042
+ # max_results: 1,
1043
+ # next_token: "PaginationToken",
1044
+ # })
1045
+ #
1046
+ # @example Response structure
1047
+ #
1048
+ # resp.tables #=> Array
1049
+ # resp.tables[0].table_id #=> String
1050
+ # resp.tables[0].table_name #=> String
1051
+ # resp.next_token #=> String
1052
+ # resp.workbook_cursor #=> Integer
1053
+ #
1054
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTables AWS API Documentation
1055
+ #
1056
+ # @overload list_tables(params = {})
1057
+ # @param [Hash] params ({})
1058
+ def list_tables(params = {}, options = {})
1059
+ req = build_request(:list_tables, params)
1060
+ req.send_request(options)
1061
+ end
1062
+
1063
+ # The QueryTableRows API allows you to use a filter formula to query for
1064
+ # specific rows in a table.
1065
+ #
1066
+ # @option params [required, String] :workbook_id
1067
+ # The ID of the workbook whose table rows are being queried.
1068
+ #
1069
+ # If a workbook with the specified id could not be found, this API
1070
+ # throws ResourceNotFoundException.
1071
+ #
1072
+ # @option params [required, String] :table_id
1073
+ # The ID of the table whose rows are being queried.
1074
+ #
1075
+ # If a table with the specified id could not be found, this API throws
1076
+ # ResourceNotFoundException.
1077
+ #
1078
+ # @option params [required, Types::Filter] :filter_formula
1079
+ # An object that represents a filter formula along with the id of the
1080
+ # context row under which the filter function needs to evaluate.
1081
+ #
1082
+ # @option params [Integer] :max_results
1083
+ # The maximum number of rows to return in each page of the results.
1084
+ #
1085
+ # @option params [String] :next_token
1086
+ # This parameter is optional. If a nextToken is not specified, the API
1087
+ # returns the first page of data.
1088
+ #
1089
+ # Pagination tokens expire after 1 hour. If you use a token that was
1090
+ # returned more than an hour back, the API will throw
1091
+ # ValidationException.
1092
+ #
1093
+ # @return [Types::QueryTableRowsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1094
+ #
1095
+ # * {Types::QueryTableRowsResult#column_ids #column_ids} => Array&lt;String&gt;
1096
+ # * {Types::QueryTableRowsResult#rows #rows} => Array&lt;Types::TableRow&gt;
1097
+ # * {Types::QueryTableRowsResult#next_token #next_token} => String
1098
+ # * {Types::QueryTableRowsResult#workbook_cursor #workbook_cursor} => Integer
1099
+ #
1100
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1101
+ #
1102
+ # @example Request syntax with placeholder values
1103
+ #
1104
+ # resp = client.query_table_rows({
1105
+ # workbook_id: "ResourceId", # required
1106
+ # table_id: "ResourceId", # required
1107
+ # filter_formula: { # required
1108
+ # formula: "Formula", # required
1109
+ # context_row_id: "RowId",
1110
+ # },
1111
+ # max_results: 1,
1112
+ # next_token: "PaginationToken",
1113
+ # })
1114
+ #
1115
+ # @example Response structure
1116
+ #
1117
+ # resp.column_ids #=> Array
1118
+ # resp.column_ids[0] #=> String
1119
+ # resp.rows #=> Array
1120
+ # resp.rows[0].row_id #=> String
1121
+ # resp.rows[0].cells #=> Array
1122
+ # resp.rows[0].cells[0].formula #=> String
1123
+ # resp.rows[0].cells[0].format #=> String, one of "AUTO", "NUMBER", "CURRENCY", "DATE", "TIME", "DATE_TIME", "PERCENTAGE", "TEXT", "ACCOUNTING", "CONTACT", "ROWLINK"
1124
+ # resp.rows[0].cells[0].raw_value #=> String
1125
+ # resp.rows[0].cells[0].formatted_value #=> String
1126
+ # resp.next_token #=> String
1127
+ # resp.workbook_cursor #=> Integer
1128
+ #
1129
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/QueryTableRows AWS API Documentation
1130
+ #
1131
+ # @overload query_table_rows(params = {})
1132
+ # @param [Hash] params ({})
1133
+ def query_table_rows(params = {}, options = {})
1134
+ req = build_request(:query_table_rows, params)
1135
+ req.send_request(options)
1136
+ end
1137
+
1138
+ # The StartTableDataImportJob API allows you to start an import job on a
1139
+ # table. This API will only return the id of the job that was started.
1140
+ # To find out the status of the import request, you need to call the
1141
+ # DescribeTableDataImportJob API.
1142
+ #
1143
+ # @option params [required, String] :workbook_id
1144
+ # The ID of the workbook where the rows are being imported.
1145
+ #
1146
+ # If a workbook with the specified id could not be found, this API
1147
+ # throws ResourceNotFoundException.
1148
+ #
1149
+ # @option params [required, Types::ImportDataSource] :data_source
1150
+ # The source of the data that is being imported. The size of source must
1151
+ # be no larger than 100 MB. Source must have no more than 100,000 cells
1152
+ # and no more than 1,000 rows.
1153
+ #
1154
+ # @option params [required, String] :data_format
1155
+ # The format of the data that is being imported. Currently the only
1156
+ # option supported is "DELIMITED\_TEXT".
1157
+ #
1158
+ # @option params [required, String] :destination_table_id
1159
+ # The ID of the table where the rows are being imported.
1160
+ #
1161
+ # If a table with the specified id could not be found, this API throws
1162
+ # ResourceNotFoundException.
1163
+ #
1164
+ # @option params [required, Types::ImportOptions] :import_options
1165
+ # The options for customizing this import request.
1166
+ #
1167
+ # @option params [required, String] :client_request_token
1168
+ # The request token for performing the update action. Request tokens
1169
+ # help to identify duplicate requests. If a call times out or fails due
1170
+ # to a transient error like a failed network connection, you can retry
1171
+ # the call with the same request token. The service ensures that if the
1172
+ # first call using that request token is successfully performed, the
1173
+ # second call will not perform the action again.
1174
+ #
1175
+ # Note that request tokens are valid only for a few minutes. You cannot
1176
+ # use request tokens to dedupe requests spanning hours or days.
1177
+ #
1178
+ # @return [Types::StartTableDataImportJobResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1179
+ #
1180
+ # * {Types::StartTableDataImportJobResult#job_id #job_id} => String
1181
+ # * {Types::StartTableDataImportJobResult#job_status #job_status} => String
1182
+ #
1183
+ # @example Request syntax with placeholder values
1184
+ #
1185
+ # resp = client.start_table_data_import_job({
1186
+ # workbook_id: "ResourceId", # required
1187
+ # data_source: { # required
1188
+ # data_source_config: { # required
1189
+ # data_source_url: "SecureURL",
1190
+ # },
1191
+ # },
1192
+ # data_format: "DELIMITED_TEXT", # required, accepts DELIMITED_TEXT
1193
+ # destination_table_id: "ResourceId", # required
1194
+ # import_options: { # required
1195
+ # destination_options: {
1196
+ # column_map: {
1197
+ # "ResourceId" => {
1198
+ # column_index: 1,
1199
+ # },
1200
+ # },
1201
+ # },
1202
+ # delimited_text_options: {
1203
+ # delimiter: "DelimitedTextDelimiter", # required
1204
+ # has_header_row: false,
1205
+ # ignore_empty_rows: false,
1206
+ # data_character_encoding: "UTF-8", # accepts UTF-8, US-ASCII, ISO-8859-1, UTF-16BE, UTF-16LE, UTF-16
1207
+ # },
1208
+ # },
1209
+ # client_request_token: "ClientRequestToken", # required
1210
+ # })
1211
+ #
1212
+ # @example Response structure
1213
+ #
1214
+ # resp.job_id #=> String
1215
+ # resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED"
1216
+ #
1217
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/StartTableDataImportJob AWS API Documentation
1218
+ #
1219
+ # @overload start_table_data_import_job(params = {})
1220
+ # @param [Hash] params ({})
1221
+ def start_table_data_import_job(params = {}, options = {})
1222
+ req = build_request(:start_table_data_import_job, params)
1223
+ req.send_request(options)
1224
+ end
1225
+
484
1226
  # @!endgroup
485
1227
 
486
1228
  # @param params ({})
@@ -494,7 +1236,7 @@ module Aws::Honeycode
494
1236
  params: params,
495
1237
  config: config)
496
1238
  context[:gem_name] = 'aws-sdk-honeycode'
497
- context[:gem_version] = '1.1.0'
1239
+ context[:gem_version] = '1.6.0'
498
1240
  Seahorse::Client::Request.new(handlers, context)
499
1241
  end
500
1242