aws-sdk-cloudfrontkeyvaluestore 1.0.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 +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-cloudfrontkeyvaluestore/client.rb +688 -0
- data/lib/aws-sdk-cloudfrontkeyvaluestore/client_api.rb +252 -0
- data/lib/aws-sdk-cloudfrontkeyvaluestore/customizations.rb +0 -0
- data/lib/aws-sdk-cloudfrontkeyvaluestore/endpoint_parameters.rb +62 -0
- data/lib/aws-sdk-cloudfrontkeyvaluestore/endpoint_provider.rb +69 -0
- data/lib/aws-sdk-cloudfrontkeyvaluestore/endpoints.rb +100 -0
- data/lib/aws-sdk-cloudfrontkeyvaluestore/errors.rb +134 -0
- data/lib/aws-sdk-cloudfrontkeyvaluestore/plugins/endpoints.rb +80 -0
- data/lib/aws-sdk-cloudfrontkeyvaluestore/resource.rb +26 -0
- data/lib/aws-sdk-cloudfrontkeyvaluestore/types.rb +449 -0
- data/lib/aws-sdk-cloudfrontkeyvaluestore.rb +57 -0
- metadata +94 -0
@@ -0,0 +1,80 @@
|
|
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::CloudFrontKeyValueStore
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::CloudFrontKeyValueStore::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::CloudFrontKeyValueStore::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::CloudFrontKeyValueStore::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 :delete_key
|
60
|
+
Aws::CloudFrontKeyValueStore::Endpoints::DeleteKey.build(context)
|
61
|
+
when :describe_key_value_store
|
62
|
+
Aws::CloudFrontKeyValueStore::Endpoints::DescribeKeyValueStore.build(context)
|
63
|
+
when :get_key
|
64
|
+
Aws::CloudFrontKeyValueStore::Endpoints::GetKey.build(context)
|
65
|
+
when :list_keys
|
66
|
+
Aws::CloudFrontKeyValueStore::Endpoints::ListKeys.build(context)
|
67
|
+
when :put_key
|
68
|
+
Aws::CloudFrontKeyValueStore::Endpoints::PutKey.build(context)
|
69
|
+
when :update_keys
|
70
|
+
Aws::CloudFrontKeyValueStore::Endpoints::UpdateKeys.build(context)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
def add_handlers(handlers, _config)
|
76
|
+
handlers.add(Handler, step: :build, priority: 75)
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
@@ -0,0 +1,26 @@
|
|
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::CloudFrontKeyValueStore
|
11
|
+
|
12
|
+
class Resource
|
13
|
+
|
14
|
+
# @param options ({})
|
15
|
+
# @option options [Client] :client
|
16
|
+
def initialize(options = {})
|
17
|
+
@client = options[:client] || Client.new(options)
|
18
|
+
end
|
19
|
+
|
20
|
+
# @return [Client]
|
21
|
+
def client
|
22
|
+
@client
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,449 @@
|
|
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::CloudFrontKeyValueStore
|
11
|
+
module Types
|
12
|
+
|
13
|
+
# Access denied.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] message
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/AccessDeniedException AWS API Documentation
|
19
|
+
#
|
20
|
+
class AccessDeniedException < Struct.new(
|
21
|
+
:message)
|
22
|
+
SENSITIVE = []
|
23
|
+
include Aws::Structure
|
24
|
+
end
|
25
|
+
|
26
|
+
# Resource is not in expected state.
|
27
|
+
#
|
28
|
+
# @!attribute [rw] message
|
29
|
+
# @return [String]
|
30
|
+
#
|
31
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/ConflictException AWS API Documentation
|
32
|
+
#
|
33
|
+
class ConflictException < Struct.new(
|
34
|
+
:message)
|
35
|
+
SENSITIVE = []
|
36
|
+
include Aws::Structure
|
37
|
+
end
|
38
|
+
|
39
|
+
# @!attribute [rw] kvs_arn
|
40
|
+
# The Amazon Resource Name (ARN) of the Key Value Store.
|
41
|
+
# @return [String]
|
42
|
+
#
|
43
|
+
# @!attribute [rw] key
|
44
|
+
# The key to delete.
|
45
|
+
# @return [String]
|
46
|
+
#
|
47
|
+
# @!attribute [rw] if_match
|
48
|
+
# The current version (ETag) of the Key Value Store that you are
|
49
|
+
# deleting keys from, which you can get using DescribeKeyValueStore.
|
50
|
+
# @return [String]
|
51
|
+
#
|
52
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/DeleteKeyRequest AWS API Documentation
|
53
|
+
#
|
54
|
+
class DeleteKeyRequest < Struct.new(
|
55
|
+
:kvs_arn,
|
56
|
+
:key,
|
57
|
+
:if_match)
|
58
|
+
SENSITIVE = []
|
59
|
+
include Aws::Structure
|
60
|
+
end
|
61
|
+
|
62
|
+
# List item for keys to delete.
|
63
|
+
#
|
64
|
+
# @!attribute [rw] key
|
65
|
+
# The key of the key value pair to be deleted.
|
66
|
+
# @return [String]
|
67
|
+
#
|
68
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/DeleteKeyRequestListItem AWS API Documentation
|
69
|
+
#
|
70
|
+
class DeleteKeyRequestListItem < Struct.new(
|
71
|
+
:key)
|
72
|
+
SENSITIVE = []
|
73
|
+
include Aws::Structure
|
74
|
+
end
|
75
|
+
|
76
|
+
# Metadata information about a Key Value Store.
|
77
|
+
#
|
78
|
+
# @!attribute [rw] item_count
|
79
|
+
# Number of key value pairs in the Key Value Store after the
|
80
|
+
# successful delete.
|
81
|
+
# @return [Integer]
|
82
|
+
#
|
83
|
+
# @!attribute [rw] total_size_in_bytes
|
84
|
+
# Total size of the Key Value Store after the successful delete, in
|
85
|
+
# bytes.
|
86
|
+
# @return [Integer]
|
87
|
+
#
|
88
|
+
# @!attribute [rw] etag
|
89
|
+
# The current version identifier of the Key Value Store after the
|
90
|
+
# successful delete.
|
91
|
+
# @return [String]
|
92
|
+
#
|
93
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/DeleteKeyResponse AWS API Documentation
|
94
|
+
#
|
95
|
+
class DeleteKeyResponse < Struct.new(
|
96
|
+
:item_count,
|
97
|
+
:total_size_in_bytes,
|
98
|
+
:etag)
|
99
|
+
SENSITIVE = []
|
100
|
+
include Aws::Structure
|
101
|
+
end
|
102
|
+
|
103
|
+
# @!attribute [rw] kvs_arn
|
104
|
+
# The Amazon Resource Name (ARN) of the Key Value Store.
|
105
|
+
# @return [String]
|
106
|
+
#
|
107
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/DescribeKeyValueStoreRequest AWS API Documentation
|
108
|
+
#
|
109
|
+
class DescribeKeyValueStoreRequest < Struct.new(
|
110
|
+
:kvs_arn)
|
111
|
+
SENSITIVE = []
|
112
|
+
include Aws::Structure
|
113
|
+
end
|
114
|
+
|
115
|
+
# Metadata information about a Key Value Store.
|
116
|
+
#
|
117
|
+
# @!attribute [rw] item_count
|
118
|
+
# Number of key value pairs in the Key Value Store.
|
119
|
+
# @return [Integer]
|
120
|
+
#
|
121
|
+
# @!attribute [rw] total_size_in_bytes
|
122
|
+
# Total size of the Key Value Store in bytes.
|
123
|
+
# @return [Integer]
|
124
|
+
#
|
125
|
+
# @!attribute [rw] kvs_arn
|
126
|
+
# The Amazon Resource Name (ARN) of the Key Value Store.
|
127
|
+
# @return [String]
|
128
|
+
#
|
129
|
+
# @!attribute [rw] created
|
130
|
+
# Date and time when the Key Value Store was created.
|
131
|
+
# @return [Time]
|
132
|
+
#
|
133
|
+
# @!attribute [rw] etag
|
134
|
+
# The version identifier for the current version of the Key Value
|
135
|
+
# Store.
|
136
|
+
# @return [String]
|
137
|
+
#
|
138
|
+
# @!attribute [rw] last_modified
|
139
|
+
# Date and time when the key value pairs in the Key Value Store was
|
140
|
+
# last modified.
|
141
|
+
# @return [Time]
|
142
|
+
#
|
143
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/DescribeKeyValueStoreResponse AWS API Documentation
|
144
|
+
#
|
145
|
+
class DescribeKeyValueStoreResponse < Struct.new(
|
146
|
+
:item_count,
|
147
|
+
:total_size_in_bytes,
|
148
|
+
:kvs_arn,
|
149
|
+
:created,
|
150
|
+
:etag,
|
151
|
+
:last_modified)
|
152
|
+
SENSITIVE = []
|
153
|
+
include Aws::Structure
|
154
|
+
end
|
155
|
+
|
156
|
+
# @!attribute [rw] kvs_arn
|
157
|
+
# The Amazon Resource Name (ARN) of the Key Value Store.
|
158
|
+
# @return [String]
|
159
|
+
#
|
160
|
+
# @!attribute [rw] key
|
161
|
+
# The key to get.
|
162
|
+
# @return [String]
|
163
|
+
#
|
164
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/GetKeyRequest AWS API Documentation
|
165
|
+
#
|
166
|
+
class GetKeyRequest < Struct.new(
|
167
|
+
:kvs_arn,
|
168
|
+
:key)
|
169
|
+
SENSITIVE = []
|
170
|
+
include Aws::Structure
|
171
|
+
end
|
172
|
+
|
173
|
+
# A key value pair.
|
174
|
+
#
|
175
|
+
# @!attribute [rw] key
|
176
|
+
# The key of the key value pair.
|
177
|
+
# @return [String]
|
178
|
+
#
|
179
|
+
# @!attribute [rw] value
|
180
|
+
# The value of the key value pair.
|
181
|
+
# @return [String]
|
182
|
+
#
|
183
|
+
# @!attribute [rw] item_count
|
184
|
+
# Number of key value pairs in the Key Value Store.
|
185
|
+
# @return [Integer]
|
186
|
+
#
|
187
|
+
# @!attribute [rw] total_size_in_bytes
|
188
|
+
# Total size of the Key Value Store in bytes.
|
189
|
+
# @return [Integer]
|
190
|
+
#
|
191
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/GetKeyResponse AWS API Documentation
|
192
|
+
#
|
193
|
+
class GetKeyResponse < Struct.new(
|
194
|
+
:key,
|
195
|
+
:value,
|
196
|
+
:item_count,
|
197
|
+
:total_size_in_bytes)
|
198
|
+
SENSITIVE = [:value]
|
199
|
+
include Aws::Structure
|
200
|
+
end
|
201
|
+
|
202
|
+
# Internal server error.
|
203
|
+
#
|
204
|
+
# @!attribute [rw] message
|
205
|
+
# @return [String]
|
206
|
+
#
|
207
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/InternalServerException AWS API Documentation
|
208
|
+
#
|
209
|
+
class InternalServerException < Struct.new(
|
210
|
+
:message)
|
211
|
+
SENSITIVE = []
|
212
|
+
include Aws::Structure
|
213
|
+
end
|
214
|
+
|
215
|
+
# @!attribute [rw] kvs_arn
|
216
|
+
# The Amazon Resource Name (ARN) of the Key Value Store.
|
217
|
+
# @return [String]
|
218
|
+
#
|
219
|
+
# @!attribute [rw] next_token
|
220
|
+
# If nextToken is returned in the response, there are more results
|
221
|
+
# available. Make the next call using the returned token to retrieve
|
222
|
+
# the next page.
|
223
|
+
# @return [String]
|
224
|
+
#
|
225
|
+
# @!attribute [rw] max_results
|
226
|
+
# Maximum number of results that are returned per call. The default is
|
227
|
+
# 10 and maximum allowed page is 50.
|
228
|
+
# @return [Integer]
|
229
|
+
#
|
230
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/ListKeysRequest AWS API Documentation
|
231
|
+
#
|
232
|
+
class ListKeysRequest < Struct.new(
|
233
|
+
:kvs_arn,
|
234
|
+
:next_token,
|
235
|
+
:max_results)
|
236
|
+
SENSITIVE = []
|
237
|
+
include Aws::Structure
|
238
|
+
end
|
239
|
+
|
240
|
+
# @!attribute [rw] next_token
|
241
|
+
# If nextToken is returned in the response, there are more results
|
242
|
+
# available. Make the next call using the returned token to retrieve
|
243
|
+
# the next page.
|
244
|
+
# @return [String]
|
245
|
+
#
|
246
|
+
# @!attribute [rw] items
|
247
|
+
# Key value pairs
|
248
|
+
# @return [Array<Types::ListKeysResponseListItem>]
|
249
|
+
#
|
250
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/ListKeysResponse AWS API Documentation
|
251
|
+
#
|
252
|
+
class ListKeysResponse < Struct.new(
|
253
|
+
:next_token,
|
254
|
+
:items)
|
255
|
+
SENSITIVE = []
|
256
|
+
include Aws::Structure
|
257
|
+
end
|
258
|
+
|
259
|
+
# A key value pair.
|
260
|
+
#
|
261
|
+
# @!attribute [rw] key
|
262
|
+
# The key of the key value pair.
|
263
|
+
# @return [String]
|
264
|
+
#
|
265
|
+
# @!attribute [rw] value
|
266
|
+
# The value of the key value pair.
|
267
|
+
# @return [String]
|
268
|
+
#
|
269
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/ListKeysResponseListItem AWS API Documentation
|
270
|
+
#
|
271
|
+
class ListKeysResponseListItem < Struct.new(
|
272
|
+
:key,
|
273
|
+
:value)
|
274
|
+
SENSITIVE = [:value]
|
275
|
+
include Aws::Structure
|
276
|
+
end
|
277
|
+
|
278
|
+
# A key value pair.
|
279
|
+
#
|
280
|
+
# @!attribute [rw] key
|
281
|
+
# The key to put.
|
282
|
+
# @return [String]
|
283
|
+
#
|
284
|
+
# @!attribute [rw] value
|
285
|
+
# The value to put.
|
286
|
+
# @return [String]
|
287
|
+
#
|
288
|
+
# @!attribute [rw] kvs_arn
|
289
|
+
# The Amazon Resource Name (ARN) of the Key Value Store.
|
290
|
+
# @return [String]
|
291
|
+
#
|
292
|
+
# @!attribute [rw] if_match
|
293
|
+
# The current version (ETag) of the Key Value Store that you are
|
294
|
+
# putting keys into, which you can get using DescribeKeyValueStore.
|
295
|
+
# @return [String]
|
296
|
+
#
|
297
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/PutKeyRequest AWS API Documentation
|
298
|
+
#
|
299
|
+
class PutKeyRequest < Struct.new(
|
300
|
+
:key,
|
301
|
+
:value,
|
302
|
+
:kvs_arn,
|
303
|
+
:if_match)
|
304
|
+
SENSITIVE = [:value]
|
305
|
+
include Aws::Structure
|
306
|
+
end
|
307
|
+
|
308
|
+
# List item for key value pair to put.
|
309
|
+
#
|
310
|
+
# @!attribute [rw] key
|
311
|
+
# The key of the key value pair list item to put.
|
312
|
+
# @return [String]
|
313
|
+
#
|
314
|
+
# @!attribute [rw] value
|
315
|
+
# The value for the key value pair to put.
|
316
|
+
# @return [String]
|
317
|
+
#
|
318
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/PutKeyRequestListItem AWS API Documentation
|
319
|
+
#
|
320
|
+
class PutKeyRequestListItem < Struct.new(
|
321
|
+
:key,
|
322
|
+
:value)
|
323
|
+
SENSITIVE = [:value]
|
324
|
+
include Aws::Structure
|
325
|
+
end
|
326
|
+
|
327
|
+
# Metadata information about a Key Value Store.
|
328
|
+
#
|
329
|
+
# @!attribute [rw] item_count
|
330
|
+
# Number of key value pairs in the Key Value Store after the
|
331
|
+
# successful put.
|
332
|
+
# @return [Integer]
|
333
|
+
#
|
334
|
+
# @!attribute [rw] total_size_in_bytes
|
335
|
+
# Total size of the Key Value Store after the successful put, in
|
336
|
+
# bytes.
|
337
|
+
# @return [Integer]
|
338
|
+
#
|
339
|
+
# @!attribute [rw] etag
|
340
|
+
# The current version identifier of the Key Value Store after the
|
341
|
+
# successful put.
|
342
|
+
# @return [String]
|
343
|
+
#
|
344
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/PutKeyResponse AWS API Documentation
|
345
|
+
#
|
346
|
+
class PutKeyResponse < Struct.new(
|
347
|
+
:item_count,
|
348
|
+
:total_size_in_bytes,
|
349
|
+
:etag)
|
350
|
+
SENSITIVE = []
|
351
|
+
include Aws::Structure
|
352
|
+
end
|
353
|
+
|
354
|
+
# Resource was not found.
|
355
|
+
#
|
356
|
+
# @!attribute [rw] message
|
357
|
+
# @return [String]
|
358
|
+
#
|
359
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/ResourceNotFoundException AWS API Documentation
|
360
|
+
#
|
361
|
+
class ResourceNotFoundException < Struct.new(
|
362
|
+
:message)
|
363
|
+
SENSITIVE = []
|
364
|
+
include Aws::Structure
|
365
|
+
end
|
366
|
+
|
367
|
+
# Limit exceeded.
|
368
|
+
#
|
369
|
+
# @!attribute [rw] message
|
370
|
+
# @return [String]
|
371
|
+
#
|
372
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/ServiceQuotaExceededException AWS API Documentation
|
373
|
+
#
|
374
|
+
class ServiceQuotaExceededException < Struct.new(
|
375
|
+
:message)
|
376
|
+
SENSITIVE = []
|
377
|
+
include Aws::Structure
|
378
|
+
end
|
379
|
+
|
380
|
+
# @!attribute [rw] kvs_arn
|
381
|
+
# The Amazon Resource Name (ARN) of the Key Value Store.
|
382
|
+
# @return [String]
|
383
|
+
#
|
384
|
+
# @!attribute [rw] if_match
|
385
|
+
# The current version (ETag) of the Key Value Store that you are
|
386
|
+
# updating keys of, which you can get using DescribeKeyValueStore.
|
387
|
+
# @return [String]
|
388
|
+
#
|
389
|
+
# @!attribute [rw] puts
|
390
|
+
# List of key value pairs to put.
|
391
|
+
# @return [Array<Types::PutKeyRequestListItem>]
|
392
|
+
#
|
393
|
+
# @!attribute [rw] deletes
|
394
|
+
# List of keys to delete.
|
395
|
+
# @return [Array<Types::DeleteKeyRequestListItem>]
|
396
|
+
#
|
397
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/UpdateKeysRequest AWS API Documentation
|
398
|
+
#
|
399
|
+
class UpdateKeysRequest < Struct.new(
|
400
|
+
:kvs_arn,
|
401
|
+
:if_match,
|
402
|
+
:puts,
|
403
|
+
:deletes)
|
404
|
+
SENSITIVE = []
|
405
|
+
include Aws::Structure
|
406
|
+
end
|
407
|
+
|
408
|
+
# Metadata information about a Key Value Store.
|
409
|
+
#
|
410
|
+
# @!attribute [rw] item_count
|
411
|
+
# Number of key value pairs in the Key Value Store after the
|
412
|
+
# successful update.
|
413
|
+
# @return [Integer]
|
414
|
+
#
|
415
|
+
# @!attribute [rw] total_size_in_bytes
|
416
|
+
# Total size of the Key Value Store after the successful update, in
|
417
|
+
# bytes.
|
418
|
+
# @return [Integer]
|
419
|
+
#
|
420
|
+
# @!attribute [rw] etag
|
421
|
+
# The current version identifier of the Key Value Store after the
|
422
|
+
# successful update.
|
423
|
+
# @return [String]
|
424
|
+
#
|
425
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/UpdateKeysResponse AWS API Documentation
|
426
|
+
#
|
427
|
+
class UpdateKeysResponse < Struct.new(
|
428
|
+
:item_count,
|
429
|
+
:total_size_in_bytes,
|
430
|
+
:etag)
|
431
|
+
SENSITIVE = []
|
432
|
+
include Aws::Structure
|
433
|
+
end
|
434
|
+
|
435
|
+
# Validation failed.
|
436
|
+
#
|
437
|
+
# @!attribute [rw] message
|
438
|
+
# @return [String]
|
439
|
+
#
|
440
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/ValidationException AWS API Documentation
|
441
|
+
#
|
442
|
+
class ValidationException < Struct.new(
|
443
|
+
:message)
|
444
|
+
SENSITIVE = []
|
445
|
+
include Aws::Structure
|
446
|
+
end
|
447
|
+
|
448
|
+
end
|
449
|
+
end
|
@@ -0,0 +1,57 @@
|
|
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
|
+
require 'aws-sdk-core'
|
12
|
+
require 'aws-sigv4'
|
13
|
+
|
14
|
+
require_relative 'aws-sdk-cloudfrontkeyvaluestore/types'
|
15
|
+
require_relative 'aws-sdk-cloudfrontkeyvaluestore/client_api'
|
16
|
+
require_relative 'aws-sdk-cloudfrontkeyvaluestore/plugins/endpoints.rb'
|
17
|
+
require_relative 'aws-sdk-cloudfrontkeyvaluestore/client'
|
18
|
+
require_relative 'aws-sdk-cloudfrontkeyvaluestore/errors'
|
19
|
+
require_relative 'aws-sdk-cloudfrontkeyvaluestore/resource'
|
20
|
+
require_relative 'aws-sdk-cloudfrontkeyvaluestore/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-cloudfrontkeyvaluestore/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-cloudfrontkeyvaluestore/endpoints'
|
23
|
+
require_relative 'aws-sdk-cloudfrontkeyvaluestore/customizations'
|
24
|
+
|
25
|
+
# This module provides support for Amazon CloudFront KeyValueStore. This module is available in the
|
26
|
+
# `aws-sdk-cloudfrontkeyvaluestore` gem.
|
27
|
+
#
|
28
|
+
# # Client
|
29
|
+
#
|
30
|
+
# The {Client} class provides one method for each API operation. Operation
|
31
|
+
# methods each accept a hash of request parameters and return a response
|
32
|
+
# structure.
|
33
|
+
#
|
34
|
+
# cloud_front_key_value_store = Aws::CloudFrontKeyValueStore::Client.new
|
35
|
+
# resp = cloud_front_key_value_store.delete_key(params)
|
36
|
+
#
|
37
|
+
# See {Client} for more information.
|
38
|
+
#
|
39
|
+
# # Errors
|
40
|
+
#
|
41
|
+
# Errors returned from Amazon CloudFront KeyValueStore are defined in the
|
42
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
43
|
+
#
|
44
|
+
# begin
|
45
|
+
# # do stuff
|
46
|
+
# rescue Aws::CloudFrontKeyValueStore::Errors::ServiceError
|
47
|
+
# # rescues all Amazon CloudFront KeyValueStore API errors
|
48
|
+
# end
|
49
|
+
#
|
50
|
+
# See {Errors} for more information.
|
51
|
+
#
|
52
|
+
# @!group service
|
53
|
+
module Aws::CloudFrontKeyValueStore
|
54
|
+
|
55
|
+
GEM_VERSION = '1.0.0'
|
56
|
+
|
57
|
+
end
|
metadata
ADDED
@@ -0,0 +1,94 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: aws-sdk-cloudfrontkeyvaluestore
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Amazon Web Services
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-11-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: aws-sdk-core
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.184.0
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 3.184.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: aws-sigv4
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.1'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.1'
|
47
|
+
description: Official AWS Ruby gem for Amazon CloudFront KeyValueStore. This gem is
|
48
|
+
part of the AWS SDK for Ruby.
|
49
|
+
email:
|
50
|
+
- aws-dr-rubygems@amazon.com
|
51
|
+
executables: []
|
52
|
+
extensions: []
|
53
|
+
extra_rdoc_files: []
|
54
|
+
files:
|
55
|
+
- CHANGELOG.md
|
56
|
+
- LICENSE.txt
|
57
|
+
- VERSION
|
58
|
+
- lib/aws-sdk-cloudfrontkeyvaluestore.rb
|
59
|
+
- lib/aws-sdk-cloudfrontkeyvaluestore/client.rb
|
60
|
+
- lib/aws-sdk-cloudfrontkeyvaluestore/client_api.rb
|
61
|
+
- lib/aws-sdk-cloudfrontkeyvaluestore/customizations.rb
|
62
|
+
- lib/aws-sdk-cloudfrontkeyvaluestore/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-cloudfrontkeyvaluestore/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-cloudfrontkeyvaluestore/endpoints.rb
|
65
|
+
- lib/aws-sdk-cloudfrontkeyvaluestore/errors.rb
|
66
|
+
- lib/aws-sdk-cloudfrontkeyvaluestore/plugins/endpoints.rb
|
67
|
+
- lib/aws-sdk-cloudfrontkeyvaluestore/resource.rb
|
68
|
+
- lib/aws-sdk-cloudfrontkeyvaluestore/types.rb
|
69
|
+
homepage: https://github.com/aws/aws-sdk-ruby
|
70
|
+
licenses:
|
71
|
+
- Apache-2.0
|
72
|
+
metadata:
|
73
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudfrontkeyvaluestore
|
74
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudfrontkeyvaluestore/CHANGELOG.md
|
75
|
+
post_install_message:
|
76
|
+
rdoc_options: []
|
77
|
+
require_paths:
|
78
|
+
- lib
|
79
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '2.3'
|
84
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
requirements: []
|
90
|
+
rubygems_version: 3.1.6
|
91
|
+
signing_key:
|
92
|
+
specification_version: 4
|
93
|
+
summary: AWS SDK for Ruby - Amazon CloudFront KeyValueStore
|
94
|
+
test_files: []
|