aws-sdk-keyspaces 1.15.0 → 1.17.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.
data/sig/client.rbs ADDED
@@ -0,0 +1,509 @@
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
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _CreateKeyspaceResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateKeyspaceResponse]
78
+ def resource_arn: () -> ::String
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Client.html#create_keyspace-instance_method
81
+ def create_keyspace: (
82
+ keyspace_name: ::String,
83
+ ?tags: Array[
84
+ {
85
+ key: ::String,
86
+ value: ::String
87
+ },
88
+ ],
89
+ ?replication_specification: {
90
+ replication_strategy: ("SINGLE_REGION" | "MULTI_REGION"),
91
+ region_list: Array[::String]?
92
+ }
93
+ ) -> _CreateKeyspaceResponseSuccess
94
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateKeyspaceResponseSuccess
95
+
96
+ interface _CreateTableResponseSuccess
97
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateTableResponse]
98
+ def resource_arn: () -> ::String
99
+ end
100
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Client.html#create_table-instance_method
101
+ def create_table: (
102
+ keyspace_name: ::String,
103
+ table_name: ::String,
104
+ schema_definition: {
105
+ all_columns: Array[
106
+ {
107
+ name: ::String,
108
+ type: ::String
109
+ },
110
+ ],
111
+ partition_keys: Array[
112
+ {
113
+ name: ::String
114
+ },
115
+ ],
116
+ clustering_keys: Array[
117
+ {
118
+ name: ::String,
119
+ order_by: ("ASC" | "DESC")
120
+ },
121
+ ]?,
122
+ static_columns: Array[
123
+ {
124
+ name: ::String
125
+ },
126
+ ]?
127
+ },
128
+ ?comment: {
129
+ message: ::String
130
+ },
131
+ ?capacity_specification: {
132
+ throughput_mode: ("PAY_PER_REQUEST" | "PROVISIONED"),
133
+ read_capacity_units: ::Integer?,
134
+ write_capacity_units: ::Integer?
135
+ },
136
+ ?encryption_specification: {
137
+ type: ("CUSTOMER_MANAGED_KMS_KEY" | "AWS_OWNED_KMS_KEY"),
138
+ kms_key_identifier: ::String?
139
+ },
140
+ ?point_in_time_recovery: {
141
+ status: ("ENABLED" | "DISABLED")
142
+ },
143
+ ?ttl: {
144
+ status: ("ENABLED")
145
+ },
146
+ ?default_time_to_live: ::Integer,
147
+ ?tags: Array[
148
+ {
149
+ key: ::String,
150
+ value: ::String
151
+ },
152
+ ],
153
+ ?client_side_timestamps: {
154
+ status: ("ENABLED")
155
+ },
156
+ ?auto_scaling_specification: {
157
+ write_capacity_auto_scaling: {
158
+ auto_scaling_disabled: bool?,
159
+ minimum_units: ::Integer?,
160
+ maximum_units: ::Integer?,
161
+ scaling_policy: {
162
+ target_tracking_scaling_policy_configuration: {
163
+ disable_scale_in: bool?,
164
+ scale_in_cooldown: ::Integer?,
165
+ scale_out_cooldown: ::Integer?,
166
+ target_value: ::Float
167
+ }?
168
+ }?
169
+ }?,
170
+ read_capacity_auto_scaling: {
171
+ auto_scaling_disabled: bool?,
172
+ minimum_units: ::Integer?,
173
+ maximum_units: ::Integer?,
174
+ scaling_policy: {
175
+ target_tracking_scaling_policy_configuration: {
176
+ disable_scale_in: bool?,
177
+ scale_in_cooldown: ::Integer?,
178
+ scale_out_cooldown: ::Integer?,
179
+ target_value: ::Float
180
+ }?
181
+ }?
182
+ }?
183
+ },
184
+ ?replica_specifications: Array[
185
+ {
186
+ region: ::String,
187
+ read_capacity_units: ::Integer?,
188
+ read_capacity_auto_scaling: {
189
+ auto_scaling_disabled: bool?,
190
+ minimum_units: ::Integer?,
191
+ maximum_units: ::Integer?,
192
+ scaling_policy: {
193
+ target_tracking_scaling_policy_configuration: {
194
+ disable_scale_in: bool?,
195
+ scale_in_cooldown: ::Integer?,
196
+ scale_out_cooldown: ::Integer?,
197
+ target_value: ::Float
198
+ }?
199
+ }?
200
+ }?
201
+ },
202
+ ]
203
+ ) -> _CreateTableResponseSuccess
204
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTableResponseSuccess
205
+
206
+ interface _DeleteKeyspaceResponseSuccess
207
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteKeyspaceResponse]
208
+ end
209
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Client.html#delete_keyspace-instance_method
210
+ def delete_keyspace: (
211
+ keyspace_name: ::String
212
+ ) -> _DeleteKeyspaceResponseSuccess
213
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteKeyspaceResponseSuccess
214
+
215
+ interface _DeleteTableResponseSuccess
216
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTableResponse]
217
+ end
218
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Client.html#delete_table-instance_method
219
+ def delete_table: (
220
+ keyspace_name: ::String,
221
+ table_name: ::String
222
+ ) -> _DeleteTableResponseSuccess
223
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTableResponseSuccess
224
+
225
+ interface _GetKeyspaceResponseSuccess
226
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetKeyspaceResponse]
227
+ def keyspace_name: () -> ::String
228
+ def resource_arn: () -> ::String
229
+ def replication_strategy: () -> ("SINGLE_REGION" | "MULTI_REGION")
230
+ def replication_regions: () -> ::Array[::String]
231
+ end
232
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Client.html#get_keyspace-instance_method
233
+ def get_keyspace: (
234
+ keyspace_name: ::String
235
+ ) -> _GetKeyspaceResponseSuccess
236
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetKeyspaceResponseSuccess
237
+
238
+ interface _GetTableResponseSuccess
239
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTableResponse]
240
+ def keyspace_name: () -> ::String
241
+ def table_name: () -> ::String
242
+ def resource_arn: () -> ::String
243
+ def creation_timestamp: () -> ::Time
244
+ def status: () -> ("ACTIVE" | "CREATING" | "UPDATING" | "DELETING" | "DELETED" | "RESTORING" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS")
245
+ def schema_definition: () -> Types::SchemaDefinition
246
+ def capacity_specification: () -> Types::CapacitySpecificationSummary
247
+ def encryption_specification: () -> Types::EncryptionSpecification
248
+ def point_in_time_recovery: () -> Types::PointInTimeRecoverySummary
249
+ def ttl: () -> Types::TimeToLive
250
+ def default_time_to_live: () -> ::Integer
251
+ def comment: () -> Types::Comment
252
+ def client_side_timestamps: () -> Types::ClientSideTimestamps
253
+ def replica_specifications: () -> ::Array[Types::ReplicaSpecificationSummary]
254
+ end
255
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Client.html#get_table-instance_method
256
+ def get_table: (
257
+ keyspace_name: ::String,
258
+ table_name: ::String
259
+ ) -> _GetTableResponseSuccess
260
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableResponseSuccess
261
+
262
+ interface _GetTableAutoScalingSettingsResponseSuccess
263
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTableAutoScalingSettingsResponse]
264
+ def keyspace_name: () -> ::String
265
+ def table_name: () -> ::String
266
+ def resource_arn: () -> ::String
267
+ def auto_scaling_specification: () -> Types::AutoScalingSpecification
268
+ def replica_specifications: () -> ::Array[Types::ReplicaAutoScalingSpecification]
269
+ end
270
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Client.html#get_table_auto_scaling_settings-instance_method
271
+ def get_table_auto_scaling_settings: (
272
+ keyspace_name: ::String,
273
+ table_name: ::String
274
+ ) -> _GetTableAutoScalingSettingsResponseSuccess
275
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableAutoScalingSettingsResponseSuccess
276
+
277
+ interface _ListKeyspacesResponseSuccess
278
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListKeyspacesResponse]
279
+ def next_token: () -> ::String
280
+ def keyspaces: () -> ::Array[Types::KeyspaceSummary]
281
+ end
282
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Client.html#list_keyspaces-instance_method
283
+ def list_keyspaces: (
284
+ ?next_token: ::String,
285
+ ?max_results: ::Integer
286
+ ) -> _ListKeyspacesResponseSuccess
287
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListKeyspacesResponseSuccess
288
+
289
+ interface _ListTablesResponseSuccess
290
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTablesResponse]
291
+ def next_token: () -> ::String
292
+ def tables: () -> ::Array[Types::TableSummary]
293
+ end
294
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Client.html#list_tables-instance_method
295
+ def list_tables: (
296
+ ?next_token: ::String,
297
+ ?max_results: ::Integer,
298
+ keyspace_name: ::String
299
+ ) -> _ListTablesResponseSuccess
300
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTablesResponseSuccess
301
+
302
+ interface _ListTagsForResourceResponseSuccess
303
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
304
+ def next_token: () -> ::String
305
+ def tags: () -> ::Array[Types::Tag]
306
+ end
307
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Client.html#list_tags_for_resource-instance_method
308
+ def list_tags_for_resource: (
309
+ resource_arn: ::String,
310
+ ?next_token: ::String,
311
+ ?max_results: ::Integer
312
+ ) -> _ListTagsForResourceResponseSuccess
313
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
314
+
315
+ interface _RestoreTableResponseSuccess
316
+ include ::Seahorse::Client::_ResponseSuccess[Types::RestoreTableResponse]
317
+ def restored_table_arn: () -> ::String
318
+ end
319
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Client.html#restore_table-instance_method
320
+ def restore_table: (
321
+ source_keyspace_name: ::String,
322
+ source_table_name: ::String,
323
+ target_keyspace_name: ::String,
324
+ target_table_name: ::String,
325
+ ?restore_timestamp: ::Time,
326
+ ?capacity_specification_override: {
327
+ throughput_mode: ("PAY_PER_REQUEST" | "PROVISIONED"),
328
+ read_capacity_units: ::Integer?,
329
+ write_capacity_units: ::Integer?
330
+ },
331
+ ?encryption_specification_override: {
332
+ type: ("CUSTOMER_MANAGED_KMS_KEY" | "AWS_OWNED_KMS_KEY"),
333
+ kms_key_identifier: ::String?
334
+ },
335
+ ?point_in_time_recovery_override: {
336
+ status: ("ENABLED" | "DISABLED")
337
+ },
338
+ ?tags_override: Array[
339
+ {
340
+ key: ::String,
341
+ value: ::String
342
+ },
343
+ ],
344
+ ?auto_scaling_specification: {
345
+ write_capacity_auto_scaling: {
346
+ auto_scaling_disabled: bool?,
347
+ minimum_units: ::Integer?,
348
+ maximum_units: ::Integer?,
349
+ scaling_policy: {
350
+ target_tracking_scaling_policy_configuration: {
351
+ disable_scale_in: bool?,
352
+ scale_in_cooldown: ::Integer?,
353
+ scale_out_cooldown: ::Integer?,
354
+ target_value: ::Float
355
+ }?
356
+ }?
357
+ }?,
358
+ read_capacity_auto_scaling: {
359
+ auto_scaling_disabled: bool?,
360
+ minimum_units: ::Integer?,
361
+ maximum_units: ::Integer?,
362
+ scaling_policy: {
363
+ target_tracking_scaling_policy_configuration: {
364
+ disable_scale_in: bool?,
365
+ scale_in_cooldown: ::Integer?,
366
+ scale_out_cooldown: ::Integer?,
367
+ target_value: ::Float
368
+ }?
369
+ }?
370
+ }?
371
+ },
372
+ ?replica_specifications: Array[
373
+ {
374
+ region: ::String,
375
+ read_capacity_units: ::Integer?,
376
+ read_capacity_auto_scaling: {
377
+ auto_scaling_disabled: bool?,
378
+ minimum_units: ::Integer?,
379
+ maximum_units: ::Integer?,
380
+ scaling_policy: {
381
+ target_tracking_scaling_policy_configuration: {
382
+ disable_scale_in: bool?,
383
+ scale_in_cooldown: ::Integer?,
384
+ scale_out_cooldown: ::Integer?,
385
+ target_value: ::Float
386
+ }?
387
+ }?
388
+ }?
389
+ },
390
+ ]
391
+ ) -> _RestoreTableResponseSuccess
392
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreTableResponseSuccess
393
+
394
+ interface _TagResourceResponseSuccess
395
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
396
+ end
397
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Client.html#tag_resource-instance_method
398
+ def tag_resource: (
399
+ resource_arn: ::String,
400
+ tags: Array[
401
+ {
402
+ key: ::String,
403
+ value: ::String
404
+ },
405
+ ]
406
+ ) -> _TagResourceResponseSuccess
407
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
408
+
409
+ interface _UntagResourceResponseSuccess
410
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
411
+ end
412
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Client.html#untag_resource-instance_method
413
+ def untag_resource: (
414
+ resource_arn: ::String,
415
+ tags: Array[
416
+ {
417
+ key: ::String,
418
+ value: ::String
419
+ },
420
+ ]
421
+ ) -> _UntagResourceResponseSuccess
422
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
423
+
424
+ interface _UpdateTableResponseSuccess
425
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTableResponse]
426
+ def resource_arn: () -> ::String
427
+ end
428
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Client.html#update_table-instance_method
429
+ def update_table: (
430
+ keyspace_name: ::String,
431
+ table_name: ::String,
432
+ ?add_columns: Array[
433
+ {
434
+ name: ::String,
435
+ type: ::String
436
+ },
437
+ ],
438
+ ?capacity_specification: {
439
+ throughput_mode: ("PAY_PER_REQUEST" | "PROVISIONED"),
440
+ read_capacity_units: ::Integer?,
441
+ write_capacity_units: ::Integer?
442
+ },
443
+ ?encryption_specification: {
444
+ type: ("CUSTOMER_MANAGED_KMS_KEY" | "AWS_OWNED_KMS_KEY"),
445
+ kms_key_identifier: ::String?
446
+ },
447
+ ?point_in_time_recovery: {
448
+ status: ("ENABLED" | "DISABLED")
449
+ },
450
+ ?ttl: {
451
+ status: ("ENABLED")
452
+ },
453
+ ?default_time_to_live: ::Integer,
454
+ ?client_side_timestamps: {
455
+ status: ("ENABLED")
456
+ },
457
+ ?auto_scaling_specification: {
458
+ write_capacity_auto_scaling: {
459
+ auto_scaling_disabled: bool?,
460
+ minimum_units: ::Integer?,
461
+ maximum_units: ::Integer?,
462
+ scaling_policy: {
463
+ target_tracking_scaling_policy_configuration: {
464
+ disable_scale_in: bool?,
465
+ scale_in_cooldown: ::Integer?,
466
+ scale_out_cooldown: ::Integer?,
467
+ target_value: ::Float
468
+ }?
469
+ }?
470
+ }?,
471
+ read_capacity_auto_scaling: {
472
+ auto_scaling_disabled: bool?,
473
+ minimum_units: ::Integer?,
474
+ maximum_units: ::Integer?,
475
+ scaling_policy: {
476
+ target_tracking_scaling_policy_configuration: {
477
+ disable_scale_in: bool?,
478
+ scale_in_cooldown: ::Integer?,
479
+ scale_out_cooldown: ::Integer?,
480
+ target_value: ::Float
481
+ }?
482
+ }?
483
+ }?
484
+ },
485
+ ?replica_specifications: Array[
486
+ {
487
+ region: ::String,
488
+ read_capacity_units: ::Integer?,
489
+ read_capacity_auto_scaling: {
490
+ auto_scaling_disabled: bool?,
491
+ minimum_units: ::Integer?,
492
+ maximum_units: ::Integer?,
493
+ scaling_policy: {
494
+ target_tracking_scaling_policy_configuration: {
495
+ disable_scale_in: bool?,
496
+ scale_in_cooldown: ::Integer?,
497
+ scale_out_cooldown: ::Integer?,
498
+ target_value: ::Float
499
+ }?
500
+ }?
501
+ }?
502
+ },
503
+ ]
504
+ ) -> _UpdateTableResponseSuccess
505
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTableResponseSuccess
506
+ end
507
+ end
508
+ end
509
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,35 @@
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 Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class ConflictException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class InternalServerException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ def resource_arn: () -> ::String
26
+ end
27
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
28
+ def message: () -> ::String
29
+ end
30
+ class ValidationException < ::Aws::Errors::ServiceError
31
+ def message: () -> ::String
32
+ end
33
+ end
34
+ end
35
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,80 @@
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
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> void
73
+ | (?Hash[Symbol, untyped]) -> void
74
+
75
+ def client: () -> Client
76
+
77
+
78
+ end
79
+ end
80
+ end