aws-sdk-memorydb 1.21.0 → 1.23.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,652 @@
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 MemoryDB
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/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 _BatchUpdateClusterResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchUpdateClusterResponse]
78
+ def processed_clusters: () -> ::Array[Types::Cluster]
79
+ def unprocessed_clusters: () -> ::Array[Types::UnprocessedCluster]
80
+ end
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#batch_update_cluster-instance_method
82
+ def batch_update_cluster: (
83
+ cluster_names: Array[::String],
84
+ ?service_update: {
85
+ service_update_name_to_apply: ::String?
86
+ }
87
+ ) -> _BatchUpdateClusterResponseSuccess
88
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchUpdateClusterResponseSuccess
89
+
90
+ interface _CopySnapshotResponseSuccess
91
+ include ::Seahorse::Client::_ResponseSuccess[Types::CopySnapshotResponse]
92
+ def snapshot: () -> Types::Snapshot
93
+ end
94
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#copy_snapshot-instance_method
95
+ def copy_snapshot: (
96
+ source_snapshot_name: ::String,
97
+ target_snapshot_name: ::String,
98
+ ?target_bucket: ::String,
99
+ ?kms_key_id: ::String,
100
+ ?tags: Array[
101
+ {
102
+ key: ::String?,
103
+ value: ::String?
104
+ },
105
+ ]
106
+ ) -> _CopySnapshotResponseSuccess
107
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopySnapshotResponseSuccess
108
+
109
+ interface _CreateACLResponseSuccess
110
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateACLResponse]
111
+ def acl: () -> Types::ACL
112
+ end
113
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#create_acl-instance_method
114
+ def create_acl: (
115
+ acl_name: ::String,
116
+ ?user_names: Array[::String],
117
+ ?tags: Array[
118
+ {
119
+ key: ::String?,
120
+ value: ::String?
121
+ },
122
+ ]
123
+ ) -> _CreateACLResponseSuccess
124
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateACLResponseSuccess
125
+
126
+ interface _CreateClusterResponseSuccess
127
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateClusterResponse]
128
+ def cluster: () -> Types::Cluster
129
+ end
130
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#create_cluster-instance_method
131
+ def create_cluster: (
132
+ cluster_name: ::String,
133
+ node_type: ::String,
134
+ ?parameter_group_name: ::String,
135
+ ?description: ::String,
136
+ ?num_shards: ::Integer,
137
+ ?num_replicas_per_shard: ::Integer,
138
+ ?subnet_group_name: ::String,
139
+ ?security_group_ids: Array[::String],
140
+ ?maintenance_window: ::String,
141
+ ?port: ::Integer,
142
+ ?sns_topic_arn: ::String,
143
+ ?tls_enabled: bool,
144
+ ?kms_key_id: ::String,
145
+ ?snapshot_arns: Array[::String],
146
+ ?snapshot_name: ::String,
147
+ ?snapshot_retention_limit: ::Integer,
148
+ ?tags: Array[
149
+ {
150
+ key: ::String?,
151
+ value: ::String?
152
+ },
153
+ ],
154
+ ?snapshot_window: ::String,
155
+ acl_name: ::String,
156
+ ?engine_version: ::String,
157
+ ?auto_minor_version_upgrade: bool,
158
+ ?data_tiering: bool
159
+ ) -> _CreateClusterResponseSuccess
160
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterResponseSuccess
161
+
162
+ interface _CreateParameterGroupResponseSuccess
163
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateParameterGroupResponse]
164
+ def parameter_group: () -> Types::ParameterGroup
165
+ end
166
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#create_parameter_group-instance_method
167
+ def create_parameter_group: (
168
+ parameter_group_name: ::String,
169
+ family: ::String,
170
+ ?description: ::String,
171
+ ?tags: Array[
172
+ {
173
+ key: ::String?,
174
+ value: ::String?
175
+ },
176
+ ]
177
+ ) -> _CreateParameterGroupResponseSuccess
178
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateParameterGroupResponseSuccess
179
+
180
+ interface _CreateSnapshotResponseSuccess
181
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSnapshotResponse]
182
+ def snapshot: () -> Types::Snapshot
183
+ end
184
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#create_snapshot-instance_method
185
+ def create_snapshot: (
186
+ cluster_name: ::String,
187
+ snapshot_name: ::String,
188
+ ?kms_key_id: ::String,
189
+ ?tags: Array[
190
+ {
191
+ key: ::String?,
192
+ value: ::String?
193
+ },
194
+ ]
195
+ ) -> _CreateSnapshotResponseSuccess
196
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSnapshotResponseSuccess
197
+
198
+ interface _CreateSubnetGroupResponseSuccess
199
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSubnetGroupResponse]
200
+ def subnet_group: () -> Types::SubnetGroup
201
+ end
202
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#create_subnet_group-instance_method
203
+ def create_subnet_group: (
204
+ subnet_group_name: ::String,
205
+ ?description: ::String,
206
+ subnet_ids: Array[::String],
207
+ ?tags: Array[
208
+ {
209
+ key: ::String?,
210
+ value: ::String?
211
+ },
212
+ ]
213
+ ) -> _CreateSubnetGroupResponseSuccess
214
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSubnetGroupResponseSuccess
215
+
216
+ interface _CreateUserResponseSuccess
217
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateUserResponse]
218
+ def user: () -> Types::User
219
+ end
220
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#create_user-instance_method
221
+ def create_user: (
222
+ user_name: ::String,
223
+ authentication_mode: {
224
+ type: ("password" | "iam")?,
225
+ passwords: Array[::String]?
226
+ },
227
+ access_string: ::String,
228
+ ?tags: Array[
229
+ {
230
+ key: ::String?,
231
+ value: ::String?
232
+ },
233
+ ]
234
+ ) -> _CreateUserResponseSuccess
235
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateUserResponseSuccess
236
+
237
+ interface _DeleteACLResponseSuccess
238
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteACLResponse]
239
+ def acl: () -> Types::ACL
240
+ end
241
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#delete_acl-instance_method
242
+ def delete_acl: (
243
+ acl_name: ::String
244
+ ) -> _DeleteACLResponseSuccess
245
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteACLResponseSuccess
246
+
247
+ interface _DeleteClusterResponseSuccess
248
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteClusterResponse]
249
+ def cluster: () -> Types::Cluster
250
+ end
251
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#delete_cluster-instance_method
252
+ def delete_cluster: (
253
+ cluster_name: ::String,
254
+ ?final_snapshot_name: ::String
255
+ ) -> _DeleteClusterResponseSuccess
256
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteClusterResponseSuccess
257
+
258
+ interface _DeleteParameterGroupResponseSuccess
259
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteParameterGroupResponse]
260
+ def parameter_group: () -> Types::ParameterGroup
261
+ end
262
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#delete_parameter_group-instance_method
263
+ def delete_parameter_group: (
264
+ parameter_group_name: ::String
265
+ ) -> _DeleteParameterGroupResponseSuccess
266
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteParameterGroupResponseSuccess
267
+
268
+ interface _DeleteSnapshotResponseSuccess
269
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSnapshotResponse]
270
+ def snapshot: () -> Types::Snapshot
271
+ end
272
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#delete_snapshot-instance_method
273
+ def delete_snapshot: (
274
+ snapshot_name: ::String
275
+ ) -> _DeleteSnapshotResponseSuccess
276
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSnapshotResponseSuccess
277
+
278
+ interface _DeleteSubnetGroupResponseSuccess
279
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSubnetGroupResponse]
280
+ def subnet_group: () -> Types::SubnetGroup
281
+ end
282
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#delete_subnet_group-instance_method
283
+ def delete_subnet_group: (
284
+ subnet_group_name: ::String
285
+ ) -> _DeleteSubnetGroupResponseSuccess
286
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSubnetGroupResponseSuccess
287
+
288
+ interface _DeleteUserResponseSuccess
289
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteUserResponse]
290
+ def user: () -> Types::User
291
+ end
292
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#delete_user-instance_method
293
+ def delete_user: (
294
+ user_name: ::String
295
+ ) -> _DeleteUserResponseSuccess
296
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteUserResponseSuccess
297
+
298
+ interface _DescribeACLsResponseSuccess
299
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeACLsResponse]
300
+ def acls: () -> ::Array[Types::ACL]
301
+ def next_token: () -> ::String
302
+ end
303
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#describe_acls-instance_method
304
+ def describe_acls: (
305
+ ?acl_name: ::String,
306
+ ?max_results: ::Integer,
307
+ ?next_token: ::String
308
+ ) -> _DescribeACLsResponseSuccess
309
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeACLsResponseSuccess
310
+
311
+ interface _DescribeClustersResponseSuccess
312
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeClustersResponse]
313
+ def next_token: () -> ::String
314
+ def clusters: () -> ::Array[Types::Cluster]
315
+ end
316
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#describe_clusters-instance_method
317
+ def describe_clusters: (
318
+ ?cluster_name: ::String,
319
+ ?max_results: ::Integer,
320
+ ?next_token: ::String,
321
+ ?show_shard_details: bool
322
+ ) -> _DescribeClustersResponseSuccess
323
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeClustersResponseSuccess
324
+
325
+ interface _DescribeEngineVersionsResponseSuccess
326
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEngineVersionsResponse]
327
+ def next_token: () -> ::String
328
+ def engine_versions: () -> ::Array[Types::EngineVersionInfo]
329
+ end
330
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#describe_engine_versions-instance_method
331
+ def describe_engine_versions: (
332
+ ?engine_version: ::String,
333
+ ?parameter_group_family: ::String,
334
+ ?max_results: ::Integer,
335
+ ?next_token: ::String,
336
+ ?default_only: bool
337
+ ) -> _DescribeEngineVersionsResponseSuccess
338
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEngineVersionsResponseSuccess
339
+
340
+ interface _DescribeEventsResponseSuccess
341
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEventsResponse]
342
+ def next_token: () -> ::String
343
+ def events: () -> ::Array[Types::Event]
344
+ end
345
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#describe_events-instance_method
346
+ def describe_events: (
347
+ ?source_name: ::String,
348
+ ?source_type: ("node" | "parameter-group" | "subnet-group" | "cluster" | "user" | "acl"),
349
+ ?start_time: ::Time,
350
+ ?end_time: ::Time,
351
+ ?duration: ::Integer,
352
+ ?max_results: ::Integer,
353
+ ?next_token: ::String
354
+ ) -> _DescribeEventsResponseSuccess
355
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEventsResponseSuccess
356
+
357
+ interface _DescribeParameterGroupsResponseSuccess
358
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeParameterGroupsResponse]
359
+ def next_token: () -> ::String
360
+ def parameter_groups: () -> ::Array[Types::ParameterGroup]
361
+ end
362
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#describe_parameter_groups-instance_method
363
+ def describe_parameter_groups: (
364
+ ?parameter_group_name: ::String,
365
+ ?max_results: ::Integer,
366
+ ?next_token: ::String
367
+ ) -> _DescribeParameterGroupsResponseSuccess
368
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeParameterGroupsResponseSuccess
369
+
370
+ interface _DescribeParametersResponseSuccess
371
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeParametersResponse]
372
+ def next_token: () -> ::String
373
+ def parameters: () -> ::Array[Types::Parameter]
374
+ end
375
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#describe_parameters-instance_method
376
+ def describe_parameters: (
377
+ parameter_group_name: ::String,
378
+ ?max_results: ::Integer,
379
+ ?next_token: ::String
380
+ ) -> _DescribeParametersResponseSuccess
381
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeParametersResponseSuccess
382
+
383
+ interface _DescribeReservedNodesResponseSuccess
384
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeReservedNodesResponse]
385
+ def next_token: () -> ::String
386
+ def reserved_nodes: () -> ::Array[Types::ReservedNode]
387
+ end
388
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#describe_reserved_nodes-instance_method
389
+ def describe_reserved_nodes: (
390
+ ?reservation_id: ::String,
391
+ ?reserved_nodes_offering_id: ::String,
392
+ ?node_type: ::String,
393
+ ?duration: ::String,
394
+ ?offering_type: ::String,
395
+ ?max_results: ::Integer,
396
+ ?next_token: ::String
397
+ ) -> _DescribeReservedNodesResponseSuccess
398
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeReservedNodesResponseSuccess
399
+
400
+ interface _DescribeReservedNodesOfferingsResponseSuccess
401
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeReservedNodesOfferingsResponse]
402
+ def next_token: () -> ::String
403
+ def reserved_nodes_offerings: () -> ::Array[Types::ReservedNodesOffering]
404
+ end
405
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#describe_reserved_nodes_offerings-instance_method
406
+ def describe_reserved_nodes_offerings: (
407
+ ?reserved_nodes_offering_id: ::String,
408
+ ?node_type: ::String,
409
+ ?duration: ::String,
410
+ ?offering_type: ::String,
411
+ ?max_results: ::Integer,
412
+ ?next_token: ::String
413
+ ) -> _DescribeReservedNodesOfferingsResponseSuccess
414
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeReservedNodesOfferingsResponseSuccess
415
+
416
+ interface _DescribeServiceUpdatesResponseSuccess
417
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeServiceUpdatesResponse]
418
+ def next_token: () -> ::String
419
+ def service_updates: () -> ::Array[Types::ServiceUpdate]
420
+ end
421
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#describe_service_updates-instance_method
422
+ def describe_service_updates: (
423
+ ?service_update_name: ::String,
424
+ ?cluster_names: Array[::String],
425
+ ?status: Array[("available" | "in-progress" | "complete" | "scheduled")],
426
+ ?max_results: ::Integer,
427
+ ?next_token: ::String
428
+ ) -> _DescribeServiceUpdatesResponseSuccess
429
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeServiceUpdatesResponseSuccess
430
+
431
+ interface _DescribeSnapshotsResponseSuccess
432
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSnapshotsResponse]
433
+ def next_token: () -> ::String
434
+ def snapshots: () -> ::Array[Types::Snapshot]
435
+ end
436
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#describe_snapshots-instance_method
437
+ def describe_snapshots: (
438
+ ?cluster_name: ::String,
439
+ ?snapshot_name: ::String,
440
+ ?source: ::String,
441
+ ?next_token: ::String,
442
+ ?max_results: ::Integer,
443
+ ?show_detail: bool
444
+ ) -> _DescribeSnapshotsResponseSuccess
445
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSnapshotsResponseSuccess
446
+
447
+ interface _DescribeSubnetGroupsResponseSuccess
448
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSubnetGroupsResponse]
449
+ def next_token: () -> ::String
450
+ def subnet_groups: () -> ::Array[Types::SubnetGroup]
451
+ end
452
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#describe_subnet_groups-instance_method
453
+ def describe_subnet_groups: (
454
+ ?subnet_group_name: ::String,
455
+ ?max_results: ::Integer,
456
+ ?next_token: ::String
457
+ ) -> _DescribeSubnetGroupsResponseSuccess
458
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSubnetGroupsResponseSuccess
459
+
460
+ interface _DescribeUsersResponseSuccess
461
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeUsersResponse]
462
+ def users: () -> ::Array[Types::User]
463
+ def next_token: () -> ::String
464
+ end
465
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#describe_users-instance_method
466
+ def describe_users: (
467
+ ?user_name: ::String,
468
+ ?filters: Array[
469
+ {
470
+ name: ::String,
471
+ values: Array[::String]
472
+ },
473
+ ],
474
+ ?max_results: ::Integer,
475
+ ?next_token: ::String
476
+ ) -> _DescribeUsersResponseSuccess
477
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeUsersResponseSuccess
478
+
479
+ interface _FailoverShardResponseSuccess
480
+ include ::Seahorse::Client::_ResponseSuccess[Types::FailoverShardResponse]
481
+ def cluster: () -> Types::Cluster
482
+ end
483
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#failover_shard-instance_method
484
+ def failover_shard: (
485
+ cluster_name: ::String,
486
+ shard_name: ::String
487
+ ) -> _FailoverShardResponseSuccess
488
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _FailoverShardResponseSuccess
489
+
490
+ interface _ListAllowedNodeTypeUpdatesResponseSuccess
491
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAllowedNodeTypeUpdatesResponse]
492
+ def scale_up_node_types: () -> ::Array[::String]
493
+ def scale_down_node_types: () -> ::Array[::String]
494
+ end
495
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#list_allowed_node_type_updates-instance_method
496
+ def list_allowed_node_type_updates: (
497
+ cluster_name: ::String
498
+ ) -> _ListAllowedNodeTypeUpdatesResponseSuccess
499
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAllowedNodeTypeUpdatesResponseSuccess
500
+
501
+ interface _ListTagsResponseSuccess
502
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsResponse]
503
+ def tag_list: () -> ::Array[Types::Tag]
504
+ end
505
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#list_tags-instance_method
506
+ def list_tags: (
507
+ resource_arn: ::String
508
+ ) -> _ListTagsResponseSuccess
509
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsResponseSuccess
510
+
511
+ interface _PurchaseReservedNodesOfferingResponseSuccess
512
+ include ::Seahorse::Client::_ResponseSuccess[Types::PurchaseReservedNodesOfferingResponse]
513
+ def reserved_node: () -> Types::ReservedNode
514
+ end
515
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#purchase_reserved_nodes_offering-instance_method
516
+ def purchase_reserved_nodes_offering: (
517
+ reserved_nodes_offering_id: ::String,
518
+ ?reservation_id: ::String,
519
+ ?node_count: ::Integer,
520
+ ?tags: Array[
521
+ {
522
+ key: ::String?,
523
+ value: ::String?
524
+ },
525
+ ]
526
+ ) -> _PurchaseReservedNodesOfferingResponseSuccess
527
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PurchaseReservedNodesOfferingResponseSuccess
528
+
529
+ interface _ResetParameterGroupResponseSuccess
530
+ include ::Seahorse::Client::_ResponseSuccess[Types::ResetParameterGroupResponse]
531
+ def parameter_group: () -> Types::ParameterGroup
532
+ end
533
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#reset_parameter_group-instance_method
534
+ def reset_parameter_group: (
535
+ parameter_group_name: ::String,
536
+ ?all_parameters: bool,
537
+ ?parameter_names: Array[::String]
538
+ ) -> _ResetParameterGroupResponseSuccess
539
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResetParameterGroupResponseSuccess
540
+
541
+ interface _TagResourceResponseSuccess
542
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
543
+ def tag_list: () -> ::Array[Types::Tag]
544
+ end
545
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#tag_resource-instance_method
546
+ def tag_resource: (
547
+ resource_arn: ::String,
548
+ tags: Array[
549
+ {
550
+ key: ::String?,
551
+ value: ::String?
552
+ },
553
+ ]
554
+ ) -> _TagResourceResponseSuccess
555
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
556
+
557
+ interface _UntagResourceResponseSuccess
558
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
559
+ def tag_list: () -> ::Array[Types::Tag]
560
+ end
561
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#untag_resource-instance_method
562
+ def untag_resource: (
563
+ resource_arn: ::String,
564
+ tag_keys: Array[::String]
565
+ ) -> _UntagResourceResponseSuccess
566
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
567
+
568
+ interface _UpdateACLResponseSuccess
569
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateACLResponse]
570
+ def acl: () -> Types::ACL
571
+ end
572
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#update_acl-instance_method
573
+ def update_acl: (
574
+ acl_name: ::String,
575
+ ?user_names_to_add: Array[::String],
576
+ ?user_names_to_remove: Array[::String]
577
+ ) -> _UpdateACLResponseSuccess
578
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateACLResponseSuccess
579
+
580
+ interface _UpdateClusterResponseSuccess
581
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateClusterResponse]
582
+ def cluster: () -> Types::Cluster
583
+ end
584
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#update_cluster-instance_method
585
+ def update_cluster: (
586
+ cluster_name: ::String,
587
+ ?description: ::String,
588
+ ?security_group_ids: Array[::String],
589
+ ?maintenance_window: ::String,
590
+ ?sns_topic_arn: ::String,
591
+ ?sns_topic_status: ::String,
592
+ ?parameter_group_name: ::String,
593
+ ?snapshot_window: ::String,
594
+ ?snapshot_retention_limit: ::Integer,
595
+ ?node_type: ::String,
596
+ ?engine_version: ::String,
597
+ ?replica_configuration: {
598
+ replica_count: ::Integer?
599
+ },
600
+ ?shard_configuration: {
601
+ shard_count: ::Integer?
602
+ },
603
+ ?acl_name: ::String
604
+ ) -> _UpdateClusterResponseSuccess
605
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateClusterResponseSuccess
606
+
607
+ interface _UpdateParameterGroupResponseSuccess
608
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateParameterGroupResponse]
609
+ def parameter_group: () -> Types::ParameterGroup
610
+ end
611
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#update_parameter_group-instance_method
612
+ def update_parameter_group: (
613
+ parameter_group_name: ::String,
614
+ parameter_name_values: Array[
615
+ {
616
+ parameter_name: ::String?,
617
+ parameter_value: ::String?
618
+ },
619
+ ]
620
+ ) -> _UpdateParameterGroupResponseSuccess
621
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateParameterGroupResponseSuccess
622
+
623
+ interface _UpdateSubnetGroupResponseSuccess
624
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSubnetGroupResponse]
625
+ def subnet_group: () -> Types::SubnetGroup
626
+ end
627
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#update_subnet_group-instance_method
628
+ def update_subnet_group: (
629
+ subnet_group_name: ::String,
630
+ ?description: ::String,
631
+ ?subnet_ids: Array[::String]
632
+ ) -> _UpdateSubnetGroupResponseSuccess
633
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSubnetGroupResponseSuccess
634
+
635
+ interface _UpdateUserResponseSuccess
636
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateUserResponse]
637
+ def user: () -> Types::User
638
+ end
639
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#update_user-instance_method
640
+ def update_user: (
641
+ user_name: ::String,
642
+ ?authentication_mode: {
643
+ type: ("password" | "iam")?,
644
+ passwords: Array[::String]?
645
+ },
646
+ ?access_string: ::String
647
+ ) -> _UpdateUserResponseSuccess
648
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateUserResponseSuccess
649
+ end
650
+ end
651
+ end
652
+