aws-sdk-honeycode 1.17.0 → 1.19.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
  SHA256:
3
- metadata.gz: ad1b95124e40f99dee5511c614dde20b061b7983145fad801b98b63a76d03be4
4
- data.tar.gz: ebea7ba2e3d2fbf6f1c625837c82bd5089e267b5cc62774ea7a572fa4ec99016
3
+ metadata.gz: 95ed66ba131aff84a29ed1253fcf0a30307cfdd8680b467a819d3a2e618c8517
4
+ data.tar.gz: cf392c6c5cb0d245f9fb2089c12a3b9514437111a780ac34a673639aed53c1f1
5
5
  SHA512:
6
- metadata.gz: 92a5462069ef7fc378f5804e728c55b0699332d5a3c4efb1f7c4acc52b7ea1a342f0239c19106c308661c882d00d8bfcb1ae11b37a4d4e563be38a4e829f9ae2
7
- data.tar.gz: 6e0c1f1d9ffc79b50f8ba6efa2c8194f015f20cca82f742ad12674973fef963491ae3272815ba8d5bdab14f307b3392d4e44274dea08c57d26f8855d863fbca7
6
+ metadata.gz: fa61e29fd8267d50cc19a1d04410662386c187a78495b77c366102c670a8a4bb24c8034a446b2e1026a14028e3453fcc463f2cd1c957a6616ed99935a6c178ce
7
+ data.tar.gz: 537216515cf69e6ef0ce477b41c703a669939043105f5ae81bc402de90bd5afcb92406b14428d84b4babb60d1f207747b37aa7cb1c13be76a442b62755889323
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.19.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.18.0 (2022-10-25)
12
+ ------------------
13
+
14
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
15
+
4
16
  1.17.0 (2022-02-24)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.17.0
1
+ 1.19.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:honeycode)
@@ -79,8 +79,9 @@ module Aws::Honeycode
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::RestJson)
84
+ add_plugin(Aws::Honeycode::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -287,6 +288,19 @@ module Aws::Honeycode
287
288
  # ** Please note ** When response stubbing is enabled, no HTTP
288
289
  # requests are made, and retries are disabled.
289
290
  #
291
+ # @option options [Aws::TokenProvider] :token_provider
292
+ # A Bearer Token Provider. This can be an instance of any one of the
293
+ # following classes:
294
+ #
295
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
296
+ # tokens.
297
+ #
298
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
299
+ # access token generated from `aws login`.
300
+ #
301
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
302
+ # will be used to search for tokens configured for your profile in shared configuration files.
303
+ #
290
304
  # @option options [Boolean] :use_dualstack_endpoint
291
305
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
306
  # will be used if available.
@@ -300,6 +314,9 @@ module Aws::Honeycode
300
314
  # When `true`, request parameters are validated before
301
315
  # sending the request.
302
316
  #
317
+ # @option options [Aws::Honeycode::EndpointProvider] :endpoint_provider
318
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Honeycode::EndpointParameters`
319
+ #
303
320
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
321
  # requests through. Formatted like 'http://proxy.com:123'.
305
322
  #
@@ -1355,7 +1372,7 @@ module Aws::Honeycode
1355
1372
  params: params,
1356
1373
  config: config)
1357
1374
  context[:gem_name] = 'aws-sdk-honeycode'
1358
- context[:gem_version] = '1.17.0'
1375
+ context[:gem_version] = '1.19.0'
1359
1376
  Seahorse::Client::Request.new(handlers, context)
1360
1377
  end
1361
1378
 
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::Honeycode
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::Honeycode
11
+ class EndpointProvider
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://honeycode-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://honeycode-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://honeycode.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://honeycode.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
+ end
47
+ raise ArgumentError, 'No endpoint could be resolved'
48
+
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,225 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::Honeycode
12
+ module Endpoints
13
+
14
+ class BatchCreateTableRows
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::Honeycode::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class BatchDeleteTableRows
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::Honeycode::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class BatchUpdateTableRows
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::Honeycode::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class BatchUpsertTableRows
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::Honeycode::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class DescribeTableDataImportJob
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::Honeycode::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
84
+ class GetScreenData
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::Honeycode::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
98
+ class InvokeScreenAutomation
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::Honeycode::EndpointParameters.new(
104
+ region: context.config.region,
105
+ use_dual_stack: context.config.use_dualstack_endpoint,
106
+ use_fips: context.config.use_fips_endpoint,
107
+ endpoint: endpoint,
108
+ )
109
+ end
110
+ end
111
+
112
+ class ListTableColumns
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::Honeycode::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
126
+ class ListTableRows
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::Honeycode::EndpointParameters.new(
132
+ region: context.config.region,
133
+ use_dual_stack: context.config.use_dualstack_endpoint,
134
+ use_fips: context.config.use_fips_endpoint,
135
+ endpoint: endpoint,
136
+ )
137
+ end
138
+ end
139
+
140
+ class ListTables
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::Honeycode::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
154
+ class ListTagsForResource
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::Honeycode::EndpointParameters.new(
160
+ region: context.config.region,
161
+ use_dual_stack: context.config.use_dualstack_endpoint,
162
+ use_fips: context.config.use_fips_endpoint,
163
+ endpoint: endpoint,
164
+ )
165
+ end
166
+ end
167
+
168
+ class QueryTableRows
169
+ def self.build(context)
170
+ unless context.config.regional_endpoint
171
+ endpoint = context.config.endpoint.to_s
172
+ end
173
+ Aws::Honeycode::EndpointParameters.new(
174
+ region: context.config.region,
175
+ use_dual_stack: context.config.use_dualstack_endpoint,
176
+ use_fips: context.config.use_fips_endpoint,
177
+ endpoint: endpoint,
178
+ )
179
+ end
180
+ end
181
+
182
+ class StartTableDataImportJob
183
+ def self.build(context)
184
+ unless context.config.regional_endpoint
185
+ endpoint = context.config.endpoint.to_s
186
+ end
187
+ Aws::Honeycode::EndpointParameters.new(
188
+ region: context.config.region,
189
+ use_dual_stack: context.config.use_dualstack_endpoint,
190
+ use_fips: context.config.use_fips_endpoint,
191
+ endpoint: endpoint,
192
+ )
193
+ end
194
+ end
195
+
196
+ class TagResource
197
+ def self.build(context)
198
+ unless context.config.regional_endpoint
199
+ endpoint = context.config.endpoint.to_s
200
+ end
201
+ Aws::Honeycode::EndpointParameters.new(
202
+ region: context.config.region,
203
+ use_dual_stack: context.config.use_dualstack_endpoint,
204
+ use_fips: context.config.use_fips_endpoint,
205
+ endpoint: endpoint,
206
+ )
207
+ end
208
+ end
209
+
210
+ class UntagResource
211
+ def self.build(context)
212
+ unless context.config.regional_endpoint
213
+ endpoint = context.config.endpoint.to_s
214
+ end
215
+ Aws::Honeycode::EndpointParameters.new(
216
+ region: context.config.region,
217
+ use_dual_stack: context.config.use_dualstack_endpoint,
218
+ use_fips: context.config.use_fips_endpoint,
219
+ endpoint: endpoint,
220
+ )
221
+ end
222
+ end
223
+
224
+ end
225
+ end
@@ -0,0 +1,98 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::Honeycode
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::Honeycode::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::Honeycode::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::Honeycode::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :batch_create_table_rows
60
+ Aws::Honeycode::Endpoints::BatchCreateTableRows.build(context)
61
+ when :batch_delete_table_rows
62
+ Aws::Honeycode::Endpoints::BatchDeleteTableRows.build(context)
63
+ when :batch_update_table_rows
64
+ Aws::Honeycode::Endpoints::BatchUpdateTableRows.build(context)
65
+ when :batch_upsert_table_rows
66
+ Aws::Honeycode::Endpoints::BatchUpsertTableRows.build(context)
67
+ when :describe_table_data_import_job
68
+ Aws::Honeycode::Endpoints::DescribeTableDataImportJob.build(context)
69
+ when :get_screen_data
70
+ Aws::Honeycode::Endpoints::GetScreenData.build(context)
71
+ when :invoke_screen_automation
72
+ Aws::Honeycode::Endpoints::InvokeScreenAutomation.build(context)
73
+ when :list_table_columns
74
+ Aws::Honeycode::Endpoints::ListTableColumns.build(context)
75
+ when :list_table_rows
76
+ Aws::Honeycode::Endpoints::ListTableRows.build(context)
77
+ when :list_tables
78
+ Aws::Honeycode::Endpoints::ListTables.build(context)
79
+ when :list_tags_for_resource
80
+ Aws::Honeycode::Endpoints::ListTagsForResource.build(context)
81
+ when :query_table_rows
82
+ Aws::Honeycode::Endpoints::QueryTableRows.build(context)
83
+ when :start_table_data_import_job
84
+ Aws::Honeycode::Endpoints::StartTableDataImportJob.build(context)
85
+ when :tag_resource
86
+ Aws::Honeycode::Endpoints::TagResource.build(context)
87
+ when :untag_resource
88
+ Aws::Honeycode::Endpoints::UntagResource.build(context)
89
+ end
90
+ end
91
+ end
92
+
93
+ def add_handlers(handlers, _config)
94
+ handlers.add(Handler, step: :build, priority: 75)
95
+ end
96
+ end
97
+ end
98
+ end
@@ -51,26 +51,6 @@ module Aws::Honeycode
51
51
  include Aws::Structure
52
52
  end
53
53
 
54
- # @note When making an API call, you may pass BatchCreateTableRowsRequest
55
- # data as a hash:
56
- #
57
- # {
58
- # workbook_id: "ResourceId", # required
59
- # table_id: "ResourceId", # required
60
- # rows_to_create: [ # required
61
- # {
62
- # batch_item_id: "BatchItemId", # required
63
- # cells_to_create: { # required
64
- # "ResourceId" => {
65
- # fact: "Fact",
66
- # facts: ["Fact"],
67
- # },
68
- # },
69
- # },
70
- # ],
71
- # client_request_token: "ClientRequestToken",
72
- # }
73
- #
74
54
  # @!attribute [rw] workbook_id
75
55
  # The ID of the workbook where the new rows are being added.
76
56
  #
@@ -146,16 +126,6 @@ module Aws::Honeycode
146
126
  include Aws::Structure
147
127
  end
148
128
 
149
- # @note When making an API call, you may pass BatchDeleteTableRowsRequest
150
- # data as a hash:
151
- #
152
- # {
153
- # workbook_id: "ResourceId", # required
154
- # table_id: "ResourceId", # required
155
- # row_ids: ["RowId"], # required
156
- # client_request_token: "ClientRequestToken",
157
- # }
158
- #
159
129
  # @!attribute [rw] workbook_id
160
130
  # The ID of the workbook where the rows are being deleted.
161
131
  #
@@ -222,26 +192,6 @@ module Aws::Honeycode
222
192
  include Aws::Structure
223
193
  end
224
194
 
225
- # @note When making an API call, you may pass BatchUpdateTableRowsRequest
226
- # data as a hash:
227
- #
228
- # {
229
- # workbook_id: "ResourceId", # required
230
- # table_id: "ResourceId", # required
231
- # rows_to_update: [ # required
232
- # {
233
- # row_id: "RowId", # required
234
- # cells_to_update: { # required
235
- # "ResourceId" => {
236
- # fact: "Fact",
237
- # facts: ["Fact"],
238
- # },
239
- # },
240
- # },
241
- # ],
242
- # client_request_token: "ClientRequestToken",
243
- # }
244
- #
245
195
  # @!attribute [rw] workbook_id
246
196
  # The ID of the workbook where the rows are being updated.
247
197
  #
@@ -312,30 +262,6 @@ module Aws::Honeycode
312
262
  include Aws::Structure
313
263
  end
314
264
 
315
- # @note When making an API call, you may pass BatchUpsertTableRowsRequest
316
- # data as a hash:
317
- #
318
- # {
319
- # workbook_id: "ResourceId", # required
320
- # table_id: "ResourceId", # required
321
- # rows_to_upsert: [ # required
322
- # {
323
- # batch_item_id: "BatchItemId", # required
324
- # filter: { # required
325
- # formula: "Formula", # required
326
- # context_row_id: "RowId",
327
- # },
328
- # cells_to_update: { # required
329
- # "ResourceId" => {
330
- # fact: "Fact",
331
- # facts: ["Fact"],
332
- # },
333
- # },
334
- # },
335
- # ],
336
- # client_request_token: "ClientRequestToken",
337
- # }
338
- #
339
265
  # @!attribute [rw] workbook_id
340
266
  # The ID of the workbook where the rows are being upserted.
341
267
  #
@@ -536,14 +462,6 @@ module Aws::Honeycode
536
462
  #
537
463
  # </note>
538
464
  #
539
- # @note When making an API call, you may pass CellInput
540
- # data as a hash:
541
- #
542
- # {
543
- # fact: "Fact",
544
- # facts: ["Fact"],
545
- # }
546
- #
547
465
  # @!attribute [rw] fact
548
466
  # Fact represents the data that is entered into a cell. This data can
549
467
  # be free text or a formula. Formulas need to start with the equals
@@ -587,19 +505,6 @@ module Aws::Honeycode
587
505
  # Data needed to create a single row in a table as part of the
588
506
  # BatchCreateTableRows request.
589
507
  #
590
- # @note When making an API call, you may pass CreateRowData
591
- # data as a hash:
592
- #
593
- # {
594
- # batch_item_id: "BatchItemId", # required
595
- # cells_to_create: { # required
596
- # "ResourceId" => {
597
- # fact: "Fact",
598
- # facts: ["Fact"],
599
- # },
600
- # },
601
- # }
602
- #
603
508
  # @!attribute [rw] batch_item_id
604
509
  # An external identifier that represents the single row that is being
605
510
  # created as part of the BatchCreateTableRows request. This can be any
@@ -652,16 +557,6 @@ module Aws::Honeycode
652
557
  # An object that contains the options relating to parsing delimited text
653
558
  # as part of an import request.
654
559
  #
655
- # @note When making an API call, you may pass DelimitedTextImportOptions
656
- # data as a hash:
657
- #
658
- # {
659
- # delimiter: "DelimitedTextDelimiter", # required
660
- # has_header_row: false,
661
- # ignore_empty_rows: false,
662
- # data_character_encoding: "UTF-8", # accepts UTF-8, US-ASCII, ISO-8859-1, UTF-16BE, UTF-16LE, UTF-16
663
- # }
664
- #
665
560
  # @!attribute [rw] delimiter
666
561
  # The delimiter to use for separating columns in a single row of the
667
562
  # input.
@@ -692,15 +587,6 @@ module Aws::Honeycode
692
587
  include Aws::Structure
693
588
  end
694
589
 
695
- # @note When making an API call, you may pass DescribeTableDataImportJobRequest
696
- # data as a hash:
697
- #
698
- # {
699
- # workbook_id: "ResourceId", # required
700
- # table_id: "ResourceId", # required
701
- # job_id: "JobId", # required
702
- # }
703
- #
704
590
  # @!attribute [rw] workbook_id
705
591
  # The ID of the workbook into which data was imported.
706
592
  #
@@ -765,17 +651,6 @@ module Aws::Honeycode
765
651
  # An object that contains the options relating to the destination of the
766
652
  # import request.
767
653
  #
768
- # @note When making an API call, you may pass DestinationOptions
769
- # data as a hash:
770
- #
771
- # {
772
- # column_map: {
773
- # "ResourceId" => {
774
- # column_index: 1,
775
- # },
776
- # },
777
- # }
778
- #
779
654
  # @!attribute [rw] column_map
780
655
  # A map of the column id to the import properties for each column.
781
656
  # @return [Hash<String,Types::SourceDataColumnProperties>]
@@ -814,14 +689,6 @@ module Aws::Honeycode
814
689
  # An object that represents a filter formula along with the id of the
815
690
  # context row under which the filter function needs to evaluate.
816
691
  #
817
- # @note When making an API call, you may pass Filter
818
- # data as a hash:
819
- #
820
- # {
821
- # formula: "Formula", # required
822
- # context_row_id: "RowId",
823
- # }
824
- #
825
692
  # @!attribute [rw] formula
826
693
  # A formula representing a filter function that returns zero or more
827
694
  # matching rows from a table. Valid formulas in this field return a
@@ -848,22 +715,6 @@ module Aws::Honeycode
848
715
  include Aws::Structure
849
716
  end
850
717
 
851
- # @note When making an API call, you may pass GetScreenDataRequest
852
- # data as a hash:
853
- #
854
- # {
855
- # workbook_id: "ResourceId", # required
856
- # app_id: "ResourceId", # required
857
- # screen_id: "ResourceId", # required
858
- # variables: {
859
- # "VariableName" => {
860
- # raw_value: "RawValue", # required
861
- # },
862
- # },
863
- # max_results: 1,
864
- # next_token: "PaginationToken",
865
- # }
866
- #
867
718
  # @!attribute [rw] workbook_id
868
719
  # The ID of the workbook that contains the screen.
869
720
  # @return [String]
@@ -944,15 +795,6 @@ module Aws::Honeycode
944
795
  # An object that has details about the source of the data that was
945
796
  # submitted for import.
946
797
  #
947
- # @note When making an API call, you may pass ImportDataSource
948
- # data as a hash:
949
- #
950
- # {
951
- # data_source_config: { # required
952
- # data_source_url: "SecureURL",
953
- # },
954
- # }
955
- #
956
798
  # @!attribute [rw] data_source_config
957
799
  # The configuration parameters for the data source of the import
958
800
  # @return [Types::ImportDataSourceConfig]
@@ -968,13 +810,6 @@ module Aws::Honeycode
968
810
  # An object that contains the configuration parameters for the data
969
811
  # source of an import request.
970
812
  #
971
- # @note When making an API call, you may pass ImportDataSourceConfig
972
- # data as a hash:
973
- #
974
- # {
975
- # data_source_url: "SecureURL",
976
- # }
977
- #
978
813
  # @!attribute [rw] data_source_url
979
814
  # The URL from which source data will be downloaded for the import
980
815
  # request.
@@ -1011,25 +846,6 @@ module Aws::Honeycode
1011
846
  # An object that contains the options specified by the sumitter of the
1012
847
  # import request.
1013
848
  #
1014
- # @note When making an API call, you may pass ImportOptions
1015
- # data as a hash:
1016
- #
1017
- # {
1018
- # destination_options: {
1019
- # column_map: {
1020
- # "ResourceId" => {
1021
- # column_index: 1,
1022
- # },
1023
- # },
1024
- # },
1025
- # delimited_text_options: {
1026
- # delimiter: "DelimitedTextDelimiter", # required
1027
- # has_header_row: false,
1028
- # ignore_empty_rows: false,
1029
- # data_character_encoding: "UTF-8", # accepts UTF-8, US-ASCII, ISO-8859-1, UTF-16BE, UTF-16LE, UTF-16
1030
- # },
1031
- # }
1032
- #
1033
849
  # @!attribute [rw] destination_options
1034
850
  # Options relating to the destination of the import request.
1035
851
  # @return [Types::DestinationOptions]
@@ -1061,23 +877,6 @@ module Aws::Honeycode
1061
877
  include Aws::Structure
1062
878
  end
1063
879
 
1064
- # @note When making an API call, you may pass InvokeScreenAutomationRequest
1065
- # data as a hash:
1066
- #
1067
- # {
1068
- # workbook_id: "ResourceId", # required
1069
- # app_id: "ResourceId", # required
1070
- # screen_id: "ResourceId", # required
1071
- # screen_automation_id: "ResourceId", # required
1072
- # variables: {
1073
- # "VariableName" => {
1074
- # raw_value: "RawValue", # required
1075
- # },
1076
- # },
1077
- # row_id: "RowId",
1078
- # client_request_token: "ClientRequestToken",
1079
- # }
1080
- #
1081
880
  # @!attribute [rw] workbook_id
1082
881
  # The ID of the workbook that contains the screen automation.
1083
882
  # @return [String]
@@ -1146,15 +945,6 @@ module Aws::Honeycode
1146
945
  include Aws::Structure
1147
946
  end
1148
947
 
1149
- # @note When making an API call, you may pass ListTableColumnsRequest
1150
- # data as a hash:
1151
- #
1152
- # {
1153
- # workbook_id: "ResourceId", # required
1154
- # table_id: "ResourceId", # required
1155
- # next_token: "PaginationToken",
1156
- # }
1157
- #
1158
948
  # @!attribute [rw] workbook_id
1159
949
  # The ID of the workbook that contains the table whose columns are
1160
950
  # being retrieved.
@@ -1216,17 +1006,6 @@ module Aws::Honeycode
1216
1006
  include Aws::Structure
1217
1007
  end
1218
1008
 
1219
- # @note When making an API call, you may pass ListTableRowsRequest
1220
- # data as a hash:
1221
- #
1222
- # {
1223
- # workbook_id: "ResourceId", # required
1224
- # table_id: "ResourceId", # required
1225
- # row_ids: ["RowId"],
1226
- # max_results: 1,
1227
- # next_token: "PaginationToken",
1228
- # }
1229
- #
1230
1009
  # @!attribute [rw] workbook_id
1231
1010
  # The ID of the workbook that contains the table whose rows are being
1232
1011
  # retrieved.
@@ -1314,15 +1093,6 @@ module Aws::Honeycode
1314
1093
  include Aws::Structure
1315
1094
  end
1316
1095
 
1317
- # @note When making an API call, you may pass ListTablesRequest
1318
- # data as a hash:
1319
- #
1320
- # {
1321
- # workbook_id: "ResourceId", # required
1322
- # max_results: 1,
1323
- # next_token: "PaginationToken",
1324
- # }
1325
- #
1326
1096
  # @!attribute [rw] workbook_id
1327
1097
  # The ID of the workbook whose tables are being retrieved.
1328
1098
  #
@@ -1380,13 +1150,6 @@ module Aws::Honeycode
1380
1150
  include Aws::Structure
1381
1151
  end
1382
1152
 
1383
- # @note When making an API call, you may pass ListTagsForResourceRequest
1384
- # data as a hash:
1385
- #
1386
- # {
1387
- # resource_arn: "ResourceArn", # required
1388
- # }
1389
- #
1390
1153
  # @!attribute [rw] resource_arn
1391
1154
  # The resource's Amazon Resource Name (ARN).
1392
1155
  # @return [String]
@@ -1411,20 +1174,6 @@ module Aws::Honeycode
1411
1174
  include Aws::Structure
1412
1175
  end
1413
1176
 
1414
- # @note When making an API call, you may pass QueryTableRowsRequest
1415
- # data as a hash:
1416
- #
1417
- # {
1418
- # workbook_id: "ResourceId", # required
1419
- # table_id: "ResourceId", # required
1420
- # filter_formula: { # required
1421
- # formula: "Formula", # required
1422
- # context_row_id: "RowId",
1423
- # },
1424
- # max_results: 1,
1425
- # next_token: "PaginationToken",
1426
- # }
1427
- #
1428
1177
  # @!attribute [rw] workbook_id
1429
1178
  # The ID of the workbook whose table rows are being queried.
1430
1179
  #
@@ -1613,13 +1362,6 @@ module Aws::Honeycode
1613
1362
  # An object that contains the properties for importing data to a
1614
1363
  # specific column in a table.
1615
1364
  #
1616
- # @note When making an API call, you may pass SourceDataColumnProperties
1617
- # data as a hash:
1618
- #
1619
- # {
1620
- # column_index: 1,
1621
- # }
1622
- #
1623
1365
  # @!attribute [rw] column_index
1624
1366
  # The index of the column in the input file.
1625
1367
  # @return [Integer]
@@ -1632,36 +1374,6 @@ module Aws::Honeycode
1632
1374
  include Aws::Structure
1633
1375
  end
1634
1376
 
1635
- # @note When making an API call, you may pass StartTableDataImportJobRequest
1636
- # data as a hash:
1637
- #
1638
- # {
1639
- # workbook_id: "ResourceId", # required
1640
- # data_source: { # required
1641
- # data_source_config: { # required
1642
- # data_source_url: "SecureURL",
1643
- # },
1644
- # },
1645
- # data_format: "DELIMITED_TEXT", # required, accepts DELIMITED_TEXT
1646
- # destination_table_id: "ResourceId", # required
1647
- # import_options: { # required
1648
- # destination_options: {
1649
- # column_map: {
1650
- # "ResourceId" => {
1651
- # column_index: 1,
1652
- # },
1653
- # },
1654
- # },
1655
- # delimited_text_options: {
1656
- # delimiter: "DelimitedTextDelimiter", # required
1657
- # has_header_row: false,
1658
- # ignore_empty_rows: false,
1659
- # data_character_encoding: "UTF-8", # accepts UTF-8, US-ASCII, ISO-8859-1, UTF-16BE, UTF-16LE, UTF-16
1660
- # },
1661
- # },
1662
- # client_request_token: "ClientRequestToken", # required
1663
- # }
1664
- #
1665
1377
  # @!attribute [rw] workbook_id
1666
1378
  # The ID of the workbook where the rows are being imported.
1667
1379
  #
@@ -1832,16 +1544,6 @@ module Aws::Honeycode
1832
1544
  include Aws::Structure
1833
1545
  end
1834
1546
 
1835
- # @note When making an API call, you may pass TagResourceRequest
1836
- # data as a hash:
1837
- #
1838
- # {
1839
- # resource_arn: "ResourceArn", # required
1840
- # tags: { # required
1841
- # "TagKey" => "TagValue",
1842
- # },
1843
- # }
1844
- #
1845
1547
  # @!attribute [rw] resource_arn
1846
1548
  # The resource's Amazon Resource Name (ARN).
1847
1549
  # @return [String]
@@ -1876,14 +1578,6 @@ module Aws::Honeycode
1876
1578
  include Aws::Structure
1877
1579
  end
1878
1580
 
1879
- # @note When making an API call, you may pass UntagResourceRequest
1880
- # data as a hash:
1881
- #
1882
- # {
1883
- # resource_arn: "ResourceArn", # required
1884
- # tag_keys: ["TagKey"], # required
1885
- # }
1886
- #
1887
1581
  # @!attribute [rw] resource_arn
1888
1582
  # The resource's Amazon Resource Name (ARN).
1889
1583
  # @return [String]
@@ -1908,19 +1602,6 @@ module Aws::Honeycode
1908
1602
  # Data needed to create a single row in a table as part of the
1909
1603
  # BatchCreateTableRows request.
1910
1604
  #
1911
- # @note When making an API call, you may pass UpdateRowData
1912
- # data as a hash:
1913
- #
1914
- # {
1915
- # row_id: "RowId", # required
1916
- # cells_to_update: { # required
1917
- # "ResourceId" => {
1918
- # fact: "Fact",
1919
- # facts: ["Fact"],
1920
- # },
1921
- # },
1922
- # }
1923
- #
1924
1605
  # @!attribute [rw] row_id
1925
1606
  # The id of the row that needs to be updated.
1926
1607
  # @return [String]
@@ -1943,23 +1624,6 @@ module Aws::Honeycode
1943
1624
  # Data needed to upsert rows in a table as part of a single item in the
1944
1625
  # BatchUpsertTableRows request.
1945
1626
  #
1946
- # @note When making an API call, you may pass UpsertRowData
1947
- # data as a hash:
1948
- #
1949
- # {
1950
- # batch_item_id: "BatchItemId", # required
1951
- # filter: { # required
1952
- # formula: "Formula", # required
1953
- # context_row_id: "RowId",
1954
- # },
1955
- # cells_to_update: { # required
1956
- # "ResourceId" => {
1957
- # fact: "Fact",
1958
- # facts: ["Fact"],
1959
- # },
1960
- # },
1961
- # }
1962
- #
1963
1627
  # @!attribute [rw] batch_item_id
1964
1628
  # An external identifier that represents a single item in the request
1965
1629
  # that is being upserted as part of the BatchUpsertTableRows request.
@@ -2040,13 +1704,6 @@ module Aws::Honeycode
2040
1704
  # The input variables to the app to be used by the
2041
1705
  # InvokeScreenAutomation action request.
2042
1706
  #
2043
- # @note When making an API call, you may pass VariableValue
2044
- # data as a hash:
2045
- #
2046
- # {
2047
- # raw_value: "RawValue", # required
2048
- # }
2049
- #
2050
1707
  # @!attribute [rw] raw_value
2051
1708
  # Raw value of the variable.
2052
1709
  # @return [String]
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-honeycode/types'
15
15
  require_relative 'aws-sdk-honeycode/client_api'
16
+ require_relative 'aws-sdk-honeycode/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-honeycode/client'
17
18
  require_relative 'aws-sdk-honeycode/errors'
18
19
  require_relative 'aws-sdk-honeycode/resource'
20
+ require_relative 'aws-sdk-honeycode/endpoint_parameters'
21
+ require_relative 'aws-sdk-honeycode/endpoint_provider'
22
+ require_relative 'aws-sdk-honeycode/endpoints'
19
23
  require_relative 'aws-sdk-honeycode/customizations'
20
24
 
21
25
  # This module provides support for Amazon Honeycode. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-honeycode/customizations'
48
52
  # @!group service
49
53
  module Aws::Honeycode
50
54
 
51
- GEM_VERSION = '1.17.0'
55
+ GEM_VERSION = '1.19.0'
52
56
 
53
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-honeycode
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.19.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: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2023-01-18 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.127.0
22
+ version: 3.165.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.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-honeycode/client.rb
60
60
  - lib/aws-sdk-honeycode/client_api.rb
61
61
  - lib/aws-sdk-honeycode/customizations.rb
62
+ - lib/aws-sdk-honeycode/endpoint_parameters.rb
63
+ - lib/aws-sdk-honeycode/endpoint_provider.rb
64
+ - lib/aws-sdk-honeycode/endpoints.rb
62
65
  - lib/aws-sdk-honeycode/errors.rb
66
+ - lib/aws-sdk-honeycode/plugins/endpoints.rb
63
67
  - lib/aws-sdk-honeycode/resource.rb
64
68
  - lib/aws-sdk-honeycode/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby