aws-sdk-keyspaces 1.15.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-keyspaces/client.rb +326 -15
- data/lib/aws-sdk-keyspaces/client_api.rb +85 -0
- data/lib/aws-sdk-keyspaces/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-keyspaces/endpoints.rb +14 -0
- data/lib/aws-sdk-keyspaces/plugins/endpoints.rb +3 -0
- data/lib/aws-sdk-keyspaces/types.rb +448 -6
- data/lib/aws-sdk-keyspaces.rb +1 -1
- data/sig/client.rbs +509 -0
- data/sig/errors.rbs +35 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +392 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/types.rbs
ADDED
@@ -0,0 +1,392 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::Keyspaces
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
16
|
+
class AutoScalingPolicy
|
17
|
+
attr_accessor target_tracking_scaling_policy_configuration: Types::TargetTrackingScalingPolicyConfiguration
|
18
|
+
SENSITIVE: []
|
19
|
+
end
|
20
|
+
|
21
|
+
class AutoScalingSettings
|
22
|
+
attr_accessor auto_scaling_disabled: bool
|
23
|
+
attr_accessor minimum_units: ::Integer
|
24
|
+
attr_accessor maximum_units: ::Integer
|
25
|
+
attr_accessor scaling_policy: Types::AutoScalingPolicy
|
26
|
+
SENSITIVE: []
|
27
|
+
end
|
28
|
+
|
29
|
+
class AutoScalingSpecification
|
30
|
+
attr_accessor write_capacity_auto_scaling: Types::AutoScalingSettings
|
31
|
+
attr_accessor read_capacity_auto_scaling: Types::AutoScalingSettings
|
32
|
+
SENSITIVE: []
|
33
|
+
end
|
34
|
+
|
35
|
+
class CapacitySpecification
|
36
|
+
attr_accessor throughput_mode: ("PAY_PER_REQUEST" | "PROVISIONED")
|
37
|
+
attr_accessor read_capacity_units: ::Integer
|
38
|
+
attr_accessor write_capacity_units: ::Integer
|
39
|
+
SENSITIVE: []
|
40
|
+
end
|
41
|
+
|
42
|
+
class CapacitySpecificationSummary
|
43
|
+
attr_accessor throughput_mode: ("PAY_PER_REQUEST" | "PROVISIONED")
|
44
|
+
attr_accessor read_capacity_units: ::Integer
|
45
|
+
attr_accessor write_capacity_units: ::Integer
|
46
|
+
attr_accessor last_update_to_pay_per_request_timestamp: ::Time
|
47
|
+
SENSITIVE: []
|
48
|
+
end
|
49
|
+
|
50
|
+
class ClientSideTimestamps
|
51
|
+
attr_accessor status: ("ENABLED")
|
52
|
+
SENSITIVE: []
|
53
|
+
end
|
54
|
+
|
55
|
+
class ClusteringKey
|
56
|
+
attr_accessor name: ::String
|
57
|
+
attr_accessor order_by: ("ASC" | "DESC")
|
58
|
+
SENSITIVE: []
|
59
|
+
end
|
60
|
+
|
61
|
+
class ColumnDefinition
|
62
|
+
attr_accessor name: ::String
|
63
|
+
attr_accessor type: ::String
|
64
|
+
SENSITIVE: []
|
65
|
+
end
|
66
|
+
|
67
|
+
class Comment
|
68
|
+
attr_accessor message: ::String
|
69
|
+
SENSITIVE: []
|
70
|
+
end
|
71
|
+
|
72
|
+
class ConflictException
|
73
|
+
attr_accessor message: ::String
|
74
|
+
SENSITIVE: []
|
75
|
+
end
|
76
|
+
|
77
|
+
class CreateKeyspaceRequest
|
78
|
+
attr_accessor keyspace_name: ::String
|
79
|
+
attr_accessor tags: ::Array[Types::Tag]
|
80
|
+
attr_accessor replication_specification: Types::ReplicationSpecification
|
81
|
+
SENSITIVE: []
|
82
|
+
end
|
83
|
+
|
84
|
+
class CreateKeyspaceResponse
|
85
|
+
attr_accessor resource_arn: ::String
|
86
|
+
SENSITIVE: []
|
87
|
+
end
|
88
|
+
|
89
|
+
class CreateTableRequest
|
90
|
+
attr_accessor keyspace_name: ::String
|
91
|
+
attr_accessor table_name: ::String
|
92
|
+
attr_accessor schema_definition: Types::SchemaDefinition
|
93
|
+
attr_accessor comment: Types::Comment
|
94
|
+
attr_accessor capacity_specification: Types::CapacitySpecification
|
95
|
+
attr_accessor encryption_specification: Types::EncryptionSpecification
|
96
|
+
attr_accessor point_in_time_recovery: Types::PointInTimeRecovery
|
97
|
+
attr_accessor ttl: Types::TimeToLive
|
98
|
+
attr_accessor default_time_to_live: ::Integer
|
99
|
+
attr_accessor tags: ::Array[Types::Tag]
|
100
|
+
attr_accessor client_side_timestamps: Types::ClientSideTimestamps
|
101
|
+
attr_accessor auto_scaling_specification: Types::AutoScalingSpecification
|
102
|
+
attr_accessor replica_specifications: ::Array[Types::ReplicaSpecification]
|
103
|
+
SENSITIVE: []
|
104
|
+
end
|
105
|
+
|
106
|
+
class CreateTableResponse
|
107
|
+
attr_accessor resource_arn: ::String
|
108
|
+
SENSITIVE: []
|
109
|
+
end
|
110
|
+
|
111
|
+
class DeleteKeyspaceRequest
|
112
|
+
attr_accessor keyspace_name: ::String
|
113
|
+
SENSITIVE: []
|
114
|
+
end
|
115
|
+
|
116
|
+
class DeleteKeyspaceResponse < Aws::EmptyStructure
|
117
|
+
end
|
118
|
+
|
119
|
+
class DeleteTableRequest
|
120
|
+
attr_accessor keyspace_name: ::String
|
121
|
+
attr_accessor table_name: ::String
|
122
|
+
SENSITIVE: []
|
123
|
+
end
|
124
|
+
|
125
|
+
class DeleteTableResponse < Aws::EmptyStructure
|
126
|
+
end
|
127
|
+
|
128
|
+
class EncryptionSpecification
|
129
|
+
attr_accessor type: ("CUSTOMER_MANAGED_KMS_KEY" | "AWS_OWNED_KMS_KEY")
|
130
|
+
attr_accessor kms_key_identifier: ::String
|
131
|
+
SENSITIVE: []
|
132
|
+
end
|
133
|
+
|
134
|
+
class GetKeyspaceRequest
|
135
|
+
attr_accessor keyspace_name: ::String
|
136
|
+
SENSITIVE: []
|
137
|
+
end
|
138
|
+
|
139
|
+
class GetKeyspaceResponse
|
140
|
+
attr_accessor keyspace_name: ::String
|
141
|
+
attr_accessor resource_arn: ::String
|
142
|
+
attr_accessor replication_strategy: ("SINGLE_REGION" | "MULTI_REGION")
|
143
|
+
attr_accessor replication_regions: ::Array[::String]
|
144
|
+
SENSITIVE: []
|
145
|
+
end
|
146
|
+
|
147
|
+
class GetTableAutoScalingSettingsRequest
|
148
|
+
attr_accessor keyspace_name: ::String
|
149
|
+
attr_accessor table_name: ::String
|
150
|
+
SENSITIVE: []
|
151
|
+
end
|
152
|
+
|
153
|
+
class GetTableAutoScalingSettingsResponse
|
154
|
+
attr_accessor keyspace_name: ::String
|
155
|
+
attr_accessor table_name: ::String
|
156
|
+
attr_accessor resource_arn: ::String
|
157
|
+
attr_accessor auto_scaling_specification: Types::AutoScalingSpecification
|
158
|
+
attr_accessor replica_specifications: ::Array[Types::ReplicaAutoScalingSpecification]
|
159
|
+
SENSITIVE: []
|
160
|
+
end
|
161
|
+
|
162
|
+
class GetTableRequest
|
163
|
+
attr_accessor keyspace_name: ::String
|
164
|
+
attr_accessor table_name: ::String
|
165
|
+
SENSITIVE: []
|
166
|
+
end
|
167
|
+
|
168
|
+
class GetTableResponse
|
169
|
+
attr_accessor keyspace_name: ::String
|
170
|
+
attr_accessor table_name: ::String
|
171
|
+
attr_accessor resource_arn: ::String
|
172
|
+
attr_accessor creation_timestamp: ::Time
|
173
|
+
attr_accessor status: ("ACTIVE" | "CREATING" | "UPDATING" | "DELETING" | "DELETED" | "RESTORING" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS")
|
174
|
+
attr_accessor schema_definition: Types::SchemaDefinition
|
175
|
+
attr_accessor capacity_specification: Types::CapacitySpecificationSummary
|
176
|
+
attr_accessor encryption_specification: Types::EncryptionSpecification
|
177
|
+
attr_accessor point_in_time_recovery: Types::PointInTimeRecoverySummary
|
178
|
+
attr_accessor ttl: Types::TimeToLive
|
179
|
+
attr_accessor default_time_to_live: ::Integer
|
180
|
+
attr_accessor comment: Types::Comment
|
181
|
+
attr_accessor client_side_timestamps: Types::ClientSideTimestamps
|
182
|
+
attr_accessor replica_specifications: ::Array[Types::ReplicaSpecificationSummary]
|
183
|
+
SENSITIVE: []
|
184
|
+
end
|
185
|
+
|
186
|
+
class InternalServerException
|
187
|
+
attr_accessor message: ::String
|
188
|
+
SENSITIVE: []
|
189
|
+
end
|
190
|
+
|
191
|
+
class KeyspaceSummary
|
192
|
+
attr_accessor keyspace_name: ::String
|
193
|
+
attr_accessor resource_arn: ::String
|
194
|
+
attr_accessor replication_strategy: ("SINGLE_REGION" | "MULTI_REGION")
|
195
|
+
attr_accessor replication_regions: ::Array[::String]
|
196
|
+
SENSITIVE: []
|
197
|
+
end
|
198
|
+
|
199
|
+
class ListKeyspacesRequest
|
200
|
+
attr_accessor next_token: ::String
|
201
|
+
attr_accessor max_results: ::Integer
|
202
|
+
SENSITIVE: []
|
203
|
+
end
|
204
|
+
|
205
|
+
class ListKeyspacesResponse
|
206
|
+
attr_accessor next_token: ::String
|
207
|
+
attr_accessor keyspaces: ::Array[Types::KeyspaceSummary]
|
208
|
+
SENSITIVE: []
|
209
|
+
end
|
210
|
+
|
211
|
+
class ListTablesRequest
|
212
|
+
attr_accessor next_token: ::String
|
213
|
+
attr_accessor max_results: ::Integer
|
214
|
+
attr_accessor keyspace_name: ::String
|
215
|
+
SENSITIVE: []
|
216
|
+
end
|
217
|
+
|
218
|
+
class ListTablesResponse
|
219
|
+
attr_accessor next_token: ::String
|
220
|
+
attr_accessor tables: ::Array[Types::TableSummary]
|
221
|
+
SENSITIVE: []
|
222
|
+
end
|
223
|
+
|
224
|
+
class ListTagsForResourceRequest
|
225
|
+
attr_accessor resource_arn: ::String
|
226
|
+
attr_accessor next_token: ::String
|
227
|
+
attr_accessor max_results: ::Integer
|
228
|
+
SENSITIVE: []
|
229
|
+
end
|
230
|
+
|
231
|
+
class ListTagsForResourceResponse
|
232
|
+
attr_accessor next_token: ::String
|
233
|
+
attr_accessor tags: ::Array[Types::Tag]
|
234
|
+
SENSITIVE: []
|
235
|
+
end
|
236
|
+
|
237
|
+
class PartitionKey
|
238
|
+
attr_accessor name: ::String
|
239
|
+
SENSITIVE: []
|
240
|
+
end
|
241
|
+
|
242
|
+
class PointInTimeRecovery
|
243
|
+
attr_accessor status: ("ENABLED" | "DISABLED")
|
244
|
+
SENSITIVE: []
|
245
|
+
end
|
246
|
+
|
247
|
+
class PointInTimeRecoverySummary
|
248
|
+
attr_accessor status: ("ENABLED" | "DISABLED")
|
249
|
+
attr_accessor earliest_restorable_timestamp: ::Time
|
250
|
+
SENSITIVE: []
|
251
|
+
end
|
252
|
+
|
253
|
+
class ReplicaAutoScalingSpecification
|
254
|
+
attr_accessor region: ::String
|
255
|
+
attr_accessor auto_scaling_specification: Types::AutoScalingSpecification
|
256
|
+
SENSITIVE: []
|
257
|
+
end
|
258
|
+
|
259
|
+
class ReplicaSpecification
|
260
|
+
attr_accessor region: ::String
|
261
|
+
attr_accessor read_capacity_units: ::Integer
|
262
|
+
attr_accessor read_capacity_auto_scaling: Types::AutoScalingSettings
|
263
|
+
SENSITIVE: []
|
264
|
+
end
|
265
|
+
|
266
|
+
class ReplicaSpecificationSummary
|
267
|
+
attr_accessor region: ::String
|
268
|
+
attr_accessor status: ("ACTIVE" | "CREATING" | "UPDATING" | "DELETING" | "DELETED" | "RESTORING" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS")
|
269
|
+
attr_accessor capacity_specification: Types::CapacitySpecificationSummary
|
270
|
+
SENSITIVE: []
|
271
|
+
end
|
272
|
+
|
273
|
+
class ReplicationSpecification
|
274
|
+
attr_accessor replication_strategy: ("SINGLE_REGION" | "MULTI_REGION")
|
275
|
+
attr_accessor region_list: ::Array[::String]
|
276
|
+
SENSITIVE: []
|
277
|
+
end
|
278
|
+
|
279
|
+
class ResourceNotFoundException
|
280
|
+
attr_accessor message: ::String
|
281
|
+
attr_accessor resource_arn: ::String
|
282
|
+
SENSITIVE: []
|
283
|
+
end
|
284
|
+
|
285
|
+
class RestoreTableRequest
|
286
|
+
attr_accessor source_keyspace_name: ::String
|
287
|
+
attr_accessor source_table_name: ::String
|
288
|
+
attr_accessor target_keyspace_name: ::String
|
289
|
+
attr_accessor target_table_name: ::String
|
290
|
+
attr_accessor restore_timestamp: ::Time
|
291
|
+
attr_accessor capacity_specification_override: Types::CapacitySpecification
|
292
|
+
attr_accessor encryption_specification_override: Types::EncryptionSpecification
|
293
|
+
attr_accessor point_in_time_recovery_override: Types::PointInTimeRecovery
|
294
|
+
attr_accessor tags_override: ::Array[Types::Tag]
|
295
|
+
attr_accessor auto_scaling_specification: Types::AutoScalingSpecification
|
296
|
+
attr_accessor replica_specifications: ::Array[Types::ReplicaSpecification]
|
297
|
+
SENSITIVE: []
|
298
|
+
end
|
299
|
+
|
300
|
+
class RestoreTableResponse
|
301
|
+
attr_accessor restored_table_arn: ::String
|
302
|
+
SENSITIVE: []
|
303
|
+
end
|
304
|
+
|
305
|
+
class SchemaDefinition
|
306
|
+
attr_accessor all_columns: ::Array[Types::ColumnDefinition]
|
307
|
+
attr_accessor partition_keys: ::Array[Types::PartitionKey]
|
308
|
+
attr_accessor clustering_keys: ::Array[Types::ClusteringKey]
|
309
|
+
attr_accessor static_columns: ::Array[Types::StaticColumn]
|
310
|
+
SENSITIVE: []
|
311
|
+
end
|
312
|
+
|
313
|
+
class ServiceQuotaExceededException
|
314
|
+
attr_accessor message: ::String
|
315
|
+
SENSITIVE: []
|
316
|
+
end
|
317
|
+
|
318
|
+
class StaticColumn
|
319
|
+
attr_accessor name: ::String
|
320
|
+
SENSITIVE: []
|
321
|
+
end
|
322
|
+
|
323
|
+
class TableSummary
|
324
|
+
attr_accessor keyspace_name: ::String
|
325
|
+
attr_accessor table_name: ::String
|
326
|
+
attr_accessor resource_arn: ::String
|
327
|
+
SENSITIVE: []
|
328
|
+
end
|
329
|
+
|
330
|
+
class Tag
|
331
|
+
attr_accessor key: ::String
|
332
|
+
attr_accessor value: ::String
|
333
|
+
SENSITIVE: []
|
334
|
+
end
|
335
|
+
|
336
|
+
class TagResourceRequest
|
337
|
+
attr_accessor resource_arn: ::String
|
338
|
+
attr_accessor tags: ::Array[Types::Tag]
|
339
|
+
SENSITIVE: []
|
340
|
+
end
|
341
|
+
|
342
|
+
class TagResourceResponse < Aws::EmptyStructure
|
343
|
+
end
|
344
|
+
|
345
|
+
class TargetTrackingScalingPolicyConfiguration
|
346
|
+
attr_accessor disable_scale_in: bool
|
347
|
+
attr_accessor scale_in_cooldown: ::Integer
|
348
|
+
attr_accessor scale_out_cooldown: ::Integer
|
349
|
+
attr_accessor target_value: ::Float
|
350
|
+
SENSITIVE: []
|
351
|
+
end
|
352
|
+
|
353
|
+
class TimeToLive
|
354
|
+
attr_accessor status: ("ENABLED")
|
355
|
+
SENSITIVE: []
|
356
|
+
end
|
357
|
+
|
358
|
+
class UntagResourceRequest
|
359
|
+
attr_accessor resource_arn: ::String
|
360
|
+
attr_accessor tags: ::Array[Types::Tag]
|
361
|
+
SENSITIVE: []
|
362
|
+
end
|
363
|
+
|
364
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
365
|
+
end
|
366
|
+
|
367
|
+
class UpdateTableRequest
|
368
|
+
attr_accessor keyspace_name: ::String
|
369
|
+
attr_accessor table_name: ::String
|
370
|
+
attr_accessor add_columns: ::Array[Types::ColumnDefinition]
|
371
|
+
attr_accessor capacity_specification: Types::CapacitySpecification
|
372
|
+
attr_accessor encryption_specification: Types::EncryptionSpecification
|
373
|
+
attr_accessor point_in_time_recovery: Types::PointInTimeRecovery
|
374
|
+
attr_accessor ttl: Types::TimeToLive
|
375
|
+
attr_accessor default_time_to_live: ::Integer
|
376
|
+
attr_accessor client_side_timestamps: Types::ClientSideTimestamps
|
377
|
+
attr_accessor auto_scaling_specification: Types::AutoScalingSpecification
|
378
|
+
attr_accessor replica_specifications: ::Array[Types::ReplicaSpecification]
|
379
|
+
SENSITIVE: []
|
380
|
+
end
|
381
|
+
|
382
|
+
class UpdateTableResponse
|
383
|
+
attr_accessor resource_arn: ::String
|
384
|
+
SENSITIVE: []
|
385
|
+
end
|
386
|
+
|
387
|
+
class ValidationException
|
388
|
+
attr_accessor message: ::String
|
389
|
+
SENSITIVE: []
|
390
|
+
end
|
391
|
+
end
|
392
|
+
end
|
data/sig/waiters.rbs
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module Keyspaces
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-keyspaces
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-26 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.
|
22
|
+
version: 3.191.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.
|
32
|
+
version: 3.191.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,13 +67,18 @@ files:
|
|
67
67
|
- lib/aws-sdk-keyspaces/resource.rb
|
68
68
|
- lib/aws-sdk-keyspaces/types.rb
|
69
69
|
- lib/aws-sdk-keyspaces/waiters.rb
|
70
|
+
- sig/client.rbs
|
71
|
+
- sig/errors.rbs
|
72
|
+
- sig/resource.rbs
|
73
|
+
- sig/types.rbs
|
74
|
+
- sig/waiters.rbs
|
70
75
|
homepage: https://github.com/aws/aws-sdk-ruby
|
71
76
|
licenses:
|
72
77
|
- Apache-2.0
|
73
78
|
metadata:
|
74
79
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-keyspaces
|
75
80
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-keyspaces/CHANGELOG.md
|
76
|
-
post_install_message:
|
81
|
+
post_install_message:
|
77
82
|
rdoc_options: []
|
78
83
|
require_paths:
|
79
84
|
- lib
|
@@ -88,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
93
|
- !ruby/object:Gem::Version
|
89
94
|
version: '0'
|
90
95
|
requirements: []
|
91
|
-
rubygems_version: 3.
|
92
|
-
signing_key:
|
96
|
+
rubygems_version: 3.4.10
|
97
|
+
signing_key:
|
93
98
|
specification_version: 4
|
94
99
|
summary: AWS SDK for Ruby - Amazon Keyspaces
|
95
100
|
test_files: []
|