aws-sdk-dsql 1.26.0 → 1.28.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.
@@ -178,6 +178,100 @@ module Aws::DSQL
178
178
  include Aws::Structure
179
179
  end
180
180
 
181
+ # @!attribute [rw] cluster_identifier
182
+ # The ID of the cluster for which to create the stream.
183
+ # @return [String]
184
+ #
185
+ # @!attribute [rw] target_definition
186
+ # The target destination configuration for the stream. Contains
187
+ # Kinesis stream configuration including stream ARN and IAM role ARN.
188
+ # @return [Types::TargetDefinition]
189
+ #
190
+ # @!attribute [rw] ordering
191
+ # The ordering mode for the stream. Determines how change events are
192
+ # ordered when delivered to the target.
193
+ # @return [String]
194
+ #
195
+ # @!attribute [rw] format
196
+ # The format of the stream records.
197
+ # @return [String]
198
+ #
199
+ # @!attribute [rw] tags
200
+ # A map of key and value pairs to use to tag your stream.
201
+ # @return [Hash<String,String>]
202
+ #
203
+ # @!attribute [rw] client_token
204
+ # A unique, case-sensitive identifier that you provide to ensure the
205
+ # idempotency of the request. Idempotency ensures that an API request
206
+ # completes only once. With an idempotent request, if the original
207
+ # request completes successfully, the subsequent retries with the same
208
+ # client token return the result from the original successful request
209
+ # and they have no additional effect.
210
+ #
211
+ # If you don't specify a client token, the Amazon Web Services SDK
212
+ # automatically generates one.
213
+ #
214
+ # **A suitable default value is auto-generated.** You should normally
215
+ # not need to pass this option.
216
+ # @return [String]
217
+ #
218
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/CreateStreamInput AWS API Documentation
219
+ #
220
+ class CreateStreamInput < Struct.new(
221
+ :cluster_identifier,
222
+ :target_definition,
223
+ :ordering,
224
+ :format,
225
+ :tags,
226
+ :client_token)
227
+ SENSITIVE = []
228
+ include Aws::Structure
229
+ end
230
+
231
+ # The output of a created stream.
232
+ #
233
+ # @!attribute [rw] cluster_identifier
234
+ # The ID of the cluster for the created stream.
235
+ # @return [String]
236
+ #
237
+ # @!attribute [rw] stream_identifier
238
+ # The ID of the created stream.
239
+ # @return [String]
240
+ #
241
+ # @!attribute [rw] arn
242
+ # The ARN of the created stream.
243
+ # @return [String]
244
+ #
245
+ # @!attribute [rw] status
246
+ # The status of the created stream.
247
+ # @return [String]
248
+ #
249
+ # @!attribute [rw] creation_time
250
+ # The time when created the stream.
251
+ # @return [Time]
252
+ #
253
+ # @!attribute [rw] ordering
254
+ # The ordering mode of the created stream.
255
+ # @return [String]
256
+ #
257
+ # @!attribute [rw] format
258
+ # The format of the created stream records.
259
+ # @return [String]
260
+ #
261
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/CreateStreamOutput AWS API Documentation
262
+ #
263
+ class CreateStreamOutput < Struct.new(
264
+ :cluster_identifier,
265
+ :stream_identifier,
266
+ :arn,
267
+ :status,
268
+ :creation_time,
269
+ :ordering,
270
+ :format)
271
+ SENSITIVE = []
272
+ include Aws::Structure
273
+ end
274
+
181
275
  # @!attribute [rw] identifier
182
276
  # The ID of the cluster to delete.
183
277
  # @return [String]
@@ -274,6 +368,73 @@ module Aws::DSQL
274
368
  include Aws::Structure
275
369
  end
276
370
 
371
+ # @!attribute [rw] cluster_identifier
372
+ # The ID of the cluster containing the stream to delete.
373
+ # @return [String]
374
+ #
375
+ # @!attribute [rw] stream_identifier
376
+ # The ID of the stream to delete.
377
+ # @return [String]
378
+ #
379
+ # @!attribute [rw] client_token
380
+ # A unique, case-sensitive identifier that you provide to ensure the
381
+ # idempotency of the request. Idempotency ensures that an API request
382
+ # completes only once. With an idempotent request, if the original
383
+ # request completes successfully, the subsequent retries with the same
384
+ # client token return the result from the original successful request
385
+ # and they have no additional effect.
386
+ #
387
+ # If you don't specify a client token, the Amazon Web Services SDK
388
+ # automatically generates one.
389
+ #
390
+ # **A suitable default value is auto-generated.** You should normally
391
+ # not need to pass this option.
392
+ # @return [String]
393
+ #
394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/DeleteStreamInput AWS API Documentation
395
+ #
396
+ class DeleteStreamInput < Struct.new(
397
+ :cluster_identifier,
398
+ :stream_identifier,
399
+ :client_token)
400
+ SENSITIVE = []
401
+ include Aws::Structure
402
+ end
403
+
404
+ # The output from a deleted stream.
405
+ #
406
+ # @!attribute [rw] cluster_identifier
407
+ # The ID of the cluster for the deleted stream.
408
+ # @return [String]
409
+ #
410
+ # @!attribute [rw] stream_identifier
411
+ # The ID of the deleted stream.
412
+ # @return [String]
413
+ #
414
+ # @!attribute [rw] arn
415
+ # The ARN of the deleted stream.
416
+ # @return [String]
417
+ #
418
+ # @!attribute [rw] status
419
+ # The status of the stream.
420
+ # @return [String]
421
+ #
422
+ # @!attribute [rw] creation_time
423
+ # The time when the stream was created.
424
+ # @return [Time]
425
+ #
426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/DeleteStreamOutput AWS API Documentation
427
+ #
428
+ class DeleteStreamOutput < Struct.new(
429
+ :cluster_identifier,
430
+ :stream_identifier,
431
+ :arn,
432
+ :status,
433
+ :creation_time)
434
+ SENSITIVE = []
435
+ include Aws::Structure
436
+ end
437
+
277
438
  # Configuration details about encryption for the cluster including the
278
439
  # KMS key ARN, encryption type, and encryption status.
279
440
  #
@@ -397,6 +558,82 @@ module Aws::DSQL
397
558
  include Aws::Structure
398
559
  end
399
560
 
561
+ # @!attribute [rw] cluster_identifier
562
+ # The ID of the cluster containing the stream to retrieve.
563
+ # @return [String]
564
+ #
565
+ # @!attribute [rw] stream_identifier
566
+ # The ID of the stream to retrieve.
567
+ # @return [String]
568
+ #
569
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/GetStreamInput AWS API Documentation
570
+ #
571
+ class GetStreamInput < Struct.new(
572
+ :cluster_identifier,
573
+ :stream_identifier)
574
+ SENSITIVE = []
575
+ include Aws::Structure
576
+ end
577
+
578
+ # The output of a retrieved stream.
579
+ #
580
+ # @!attribute [rw] cluster_identifier
581
+ # The ID of the cluster for the retrieved stream.
582
+ # @return [String]
583
+ #
584
+ # @!attribute [rw] stream_identifier
585
+ # The ID of the retrieved stream.
586
+ # @return [String]
587
+ #
588
+ # @!attribute [rw] arn
589
+ # The ARN of the retrieved stream.
590
+ # @return [String]
591
+ #
592
+ # @!attribute [rw] status
593
+ # The current status of the retrieved stream.
594
+ # @return [String]
595
+ #
596
+ # @!attribute [rw] creation_time
597
+ # The time when the stream was created.
598
+ # @return [Time]
599
+ #
600
+ # @!attribute [rw] ordering
601
+ # The ordering mode of the stream.
602
+ # @return [String]
603
+ #
604
+ # @!attribute [rw] format
605
+ # The format of the stream records.
606
+ # @return [String]
607
+ #
608
+ # @!attribute [rw] target_definition
609
+ # The target definition for the stream destination.
610
+ # @return [Types::TargetDefinition]
611
+ #
612
+ # @!attribute [rw] status_reason
613
+ # Stream status reason with error code and timestamp (if applicable).
614
+ # @return [Types::StatusReason]
615
+ #
616
+ # @!attribute [rw] tags
617
+ # A map of tags associated with the stream.
618
+ # @return [Hash<String,String>]
619
+ #
620
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/GetStreamOutput AWS API Documentation
621
+ #
622
+ class GetStreamOutput < Struct.new(
623
+ :cluster_identifier,
624
+ :stream_identifier,
625
+ :arn,
626
+ :status,
627
+ :creation_time,
628
+ :ordering,
629
+ :format,
630
+ :target_definition,
631
+ :status_reason,
632
+ :tags)
633
+ SENSITIVE = []
634
+ include Aws::Structure
635
+ end
636
+
400
637
  # @!attribute [rw] identifier
401
638
  # The ID of the cluster to retrieve.
402
639
  # @return [String]
@@ -445,6 +682,29 @@ module Aws::DSQL
445
682
  include Aws::Structure
446
683
  end
447
684
 
685
+ # Kinesis stream target configuration.
686
+ #
687
+ # @!attribute [rw] stream_arn
688
+ # The ARN of the Kinesis stream.
689
+ # @return [String]
690
+ #
691
+ # @!attribute [rw] role_arn
692
+ # The ARN of the IAM role that grants permission to write to the
693
+ # Kinesis stream. This can be a standard role
694
+ # (`arn:aws:iam::account-id:role/role-name`) or a role with a path
695
+ # prefix (`arn:aws:iam::account-id:role/service-role/role-name`), such
696
+ # as roles auto-created by the console.
697
+ # @return [String]
698
+ #
699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/KinesisTargetDefinition AWS API Documentation
700
+ #
701
+ class KinesisTargetDefinition < Struct.new(
702
+ :stream_arn,
703
+ :role_arn)
704
+ SENSITIVE = []
705
+ include Aws::Structure
706
+ end
707
+
448
708
  # @!attribute [rw] max_results
449
709
  # An optional parameter that specifies the maximum number of results
450
710
  # to return. You can use nextToken to display the next page of
@@ -486,6 +746,52 @@ module Aws::DSQL
486
746
  include Aws::Structure
487
747
  end
488
748
 
749
+ # @!attribute [rw] cluster_identifier
750
+ # The ID of the cluster for which to list streams.
751
+ # @return [String]
752
+ #
753
+ # @!attribute [rw] max_results
754
+ # An optional parameter that specifies the maximum number of results
755
+ # to return. You can use nextToken to display the next page of
756
+ # results. Default: 10.
757
+ # @return [Integer]
758
+ #
759
+ # @!attribute [rw] next_token
760
+ # If your initial ListStreams operation returns a nextToken, you can
761
+ # include the returned nextToken in following ListStreams operations,
762
+ # which returns results in the next page.
763
+ # @return [String]
764
+ #
765
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/ListStreamsInput AWS API Documentation
766
+ #
767
+ class ListStreamsInput < Struct.new(
768
+ :cluster_identifier,
769
+ :max_results,
770
+ :next_token)
771
+ SENSITIVE = []
772
+ include Aws::Structure
773
+ end
774
+
775
+ # @!attribute [rw] next_token
776
+ # If nextToken is returned, there are more results available. The
777
+ # value of nextToken is a unique pagination token for each page. To
778
+ # retrieve the next page, make the call again using the returned
779
+ # token.
780
+ # @return [String]
781
+ #
782
+ # @!attribute [rw] streams
783
+ # An array of the returned streams.
784
+ # @return [Array<Types::StreamSummary>]
785
+ #
786
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/ListStreamsOutput AWS API Documentation
787
+ #
788
+ class ListStreamsOutput < Struct.new(
789
+ :next_token,
790
+ :streams)
791
+ SENSITIVE = []
792
+ include Aws::Structure
793
+ end
794
+
489
795
  # @!attribute [rw] resource_arn
490
796
  # The ARN of the resource for which you want to list the tags.
491
797
  # @return [String]
@@ -644,6 +950,59 @@ module Aws::DSQL
644
950
  include Aws::Structure
645
951
  end
646
952
 
953
+ # Stream status reason with error and timestamp.
954
+ #
955
+ # @!attribute [rw] error
956
+ # The error code for the stream failure.
957
+ # @return [String]
958
+ #
959
+ # @!attribute [rw] updated_at
960
+ # The timestamp when the status was updated.
961
+ # @return [Time]
962
+ #
963
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/StatusReason AWS API Documentation
964
+ #
965
+ class StatusReason < Struct.new(
966
+ :error,
967
+ :updated_at)
968
+ SENSITIVE = []
969
+ include Aws::Structure
970
+ end
971
+
972
+ # Summary information about a stream.
973
+ #
974
+ # @!attribute [rw] cluster_identifier
975
+ # The ID of the cluster.
976
+ # @return [String]
977
+ #
978
+ # @!attribute [rw] stream_identifier
979
+ # The ID of the stream.
980
+ # @return [String]
981
+ #
982
+ # @!attribute [rw] arn
983
+ # The ARN of the stream.
984
+ # @return [String]
985
+ #
986
+ # @!attribute [rw] creation_time
987
+ # The timestamp when the stream was created.
988
+ # @return [Time]
989
+ #
990
+ # @!attribute [rw] status
991
+ # The current status of the stream.
992
+ # @return [String]
993
+ #
994
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/StreamSummary AWS API Documentation
995
+ #
996
+ class StreamSummary < Struct.new(
997
+ :cluster_identifier,
998
+ :stream_identifier,
999
+ :arn,
1000
+ :creation_time,
1001
+ :status)
1002
+ SENSITIVE = []
1003
+ include Aws::Structure
1004
+ end
1005
+
647
1006
  # @!attribute [rw] resource_arn
648
1007
  # The ARN of the resource that you want to tag.
649
1008
  # @return [String]
@@ -661,6 +1020,29 @@ module Aws::DSQL
661
1020
  include Aws::Structure
662
1021
  end
663
1022
 
1023
+ # Target definition for stream destination.
1024
+ #
1025
+ # @note TargetDefinition is a union - when making an API calls you must set exactly one of the members.
1026
+ #
1027
+ # @note TargetDefinition is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of TargetDefinition corresponding to the set member.
1028
+ #
1029
+ # @!attribute [rw] kinesis
1030
+ # Kinesis stream target configuration.
1031
+ # @return [Types::KinesisTargetDefinition]
1032
+ #
1033
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/TargetDefinition AWS API Documentation
1034
+ #
1035
+ class TargetDefinition < Struct.new(
1036
+ :kinesis,
1037
+ :unknown)
1038
+ SENSITIVE = []
1039
+ include Aws::Structure
1040
+ include Aws::Structure::Union
1041
+
1042
+ class Kinesis < TargetDefinition; end
1043
+ class Unknown < TargetDefinition; end
1044
+ end
1045
+
664
1046
  # The request was denied due to request throttling.
665
1047
  #
666
1048
  # @!attribute [rw] message
@@ -71,6 +71,8 @@ module Aws::DSQL
71
71
  # | ------------------ | -------------------- | -------- | ------------- |
72
72
  # | cluster_active | {Client#get_cluster} | 2 | 60 |
73
73
  # | cluster_not_exists | {Client#get_cluster} | 2 | 60 |
74
+ # | stream_active | {Client#get_stream} | 2 | 60 |
75
+ # | stream_not_exists | {Client#get_stream} | 2 | 60 |
74
76
  #
75
77
  module Waiters
76
78
 
@@ -146,5 +148,78 @@ module Aws::DSQL
146
148
  attr_reader :waiter
147
149
 
148
150
  end
151
+
152
+ # Wait until a Stream is ACTIVE
153
+ class StreamActive
154
+
155
+ # @param [Hash] options
156
+ # @option options [required, Client] :client
157
+ # @option options [Integer] :max_attempts (60)
158
+ # @option options [Integer] :delay (2)
159
+ # @option options [Proc] :before_attempt
160
+ # @option options [Proc] :before_wait
161
+ def initialize(options)
162
+ @client = options.fetch(:client)
163
+ @waiter = Aws::Waiters::Waiter.new({
164
+ max_attempts: 60,
165
+ delay: 2,
166
+ poller: Aws::Waiters::Poller.new(
167
+ operation_name: :get_stream,
168
+ acceptors: [{
169
+ "matcher" => "path",
170
+ "argument" => "status",
171
+ "state" => "success",
172
+ "expected" => "ACTIVE"
173
+ }]
174
+ )
175
+ }.merge(options))
176
+ end
177
+
178
+ # @option (see Client#get_stream)
179
+ # @return (see Client#get_stream)
180
+ def wait(params = {})
181
+ @waiter.wait(client: @client, params: params)
182
+ end
183
+
184
+ # @api private
185
+ attr_reader :waiter
186
+
187
+ end
188
+
189
+ # Wait until a Stream is gone
190
+ class StreamNotExists
191
+
192
+ # @param [Hash] options
193
+ # @option options [required, Client] :client
194
+ # @option options [Integer] :max_attempts (60)
195
+ # @option options [Integer] :delay (2)
196
+ # @option options [Proc] :before_attempt
197
+ # @option options [Proc] :before_wait
198
+ def initialize(options)
199
+ @client = options.fetch(:client)
200
+ @waiter = Aws::Waiters::Waiter.new({
201
+ max_attempts: 60,
202
+ delay: 2,
203
+ poller: Aws::Waiters::Poller.new(
204
+ operation_name: :get_stream,
205
+ acceptors: [{
206
+ "matcher" => "error",
207
+ "state" => "success",
208
+ "expected" => "ResourceNotFoundException"
209
+ }]
210
+ )
211
+ }.merge(options))
212
+ end
213
+
214
+ # @option (see Client#get_stream)
215
+ # @return (see Client#get_stream)
216
+ def wait(params = {})
217
+ @waiter.wait(client: @client, params: params)
218
+ end
219
+
220
+ # @api private
221
+ attr_reader :waiter
222
+
223
+ end
149
224
  end
150
225
  end
data/lib/aws-sdk-dsql.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::DSQL
55
55
  autoload :EndpointProvider, 'aws-sdk-dsql/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-dsql/endpoints'
57
57
 
58
- GEM_VERSION = '1.26.0'
58
+ GEM_VERSION = '1.28.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -104,6 +104,32 @@ module Aws
104
104
  ) -> _CreateClusterResponseSuccess
105
105
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterResponseSuccess
106
106
 
107
+ interface _CreateStreamResponseSuccess
108
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateStreamOutput]
109
+ def cluster_identifier: () -> ::String
110
+ def stream_identifier: () -> ::String
111
+ def arn: () -> ::String
112
+ def status: () -> ("CREATING" | "ACTIVE" | "DELETING" | "DELETED" | "FAILED" | "IMPAIRED")
113
+ def creation_time: () -> ::Time
114
+ def ordering: () -> ("UNORDERED")
115
+ def format: () -> ("JSON")
116
+ end
117
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DSQL/Client.html#create_stream-instance_method
118
+ def create_stream: (
119
+ cluster_identifier: ::String,
120
+ target_definition: {
121
+ kinesis: {
122
+ stream_arn: ::String,
123
+ role_arn: ::String
124
+ }?
125
+ },
126
+ ordering: ("UNORDERED"),
127
+ format: ("JSON"),
128
+ ?tags: Hash[::String, ::String],
129
+ ?client_token: ::String
130
+ ) -> _CreateStreamResponseSuccess
131
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStreamResponseSuccess
132
+
107
133
  interface _DeleteClusterResponseSuccess
108
134
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteClusterOutput]
109
135
  def identifier: () -> ::String
@@ -130,6 +156,22 @@ module Aws
130
156
  ) -> _DeleteClusterPolicyResponseSuccess
131
157
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteClusterPolicyResponseSuccess
132
158
 
159
+ interface _DeleteStreamResponseSuccess
160
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteStreamOutput]
161
+ def cluster_identifier: () -> ::String
162
+ def stream_identifier: () -> ::String
163
+ def arn: () -> ::String
164
+ def status: () -> ("CREATING" | "ACTIVE" | "DELETING" | "DELETED" | "FAILED" | "IMPAIRED")
165
+ def creation_time: () -> ::Time
166
+ end
167
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DSQL/Client.html#delete_stream-instance_method
168
+ def delete_stream: (
169
+ cluster_identifier: ::String,
170
+ stream_identifier: ::String,
171
+ ?client_token: ::String
172
+ ) -> _DeleteStreamResponseSuccess
173
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteStreamResponseSuccess
174
+
133
175
  interface _GetClusterResponseSuccess
134
176
  include ::Seahorse::Client::_ResponseSuccess[Types::GetClusterOutput]
135
177
  def identifier: () -> ::String
@@ -159,6 +201,26 @@ module Aws
159
201
  ) -> _GetClusterPolicyResponseSuccess
160
202
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetClusterPolicyResponseSuccess
161
203
 
204
+ interface _GetStreamResponseSuccess
205
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetStreamOutput]
206
+ def cluster_identifier: () -> ::String
207
+ def stream_identifier: () -> ::String
208
+ def arn: () -> ::String
209
+ def status: () -> ("CREATING" | "ACTIVE" | "DELETING" | "DELETED" | "FAILED" | "IMPAIRED")
210
+ def creation_time: () -> ::Time
211
+ def ordering: () -> ("UNORDERED")
212
+ def format: () -> ("JSON")
213
+ def target_definition: () -> Types::TargetDefinition
214
+ def status_reason: () -> Types::StatusReason
215
+ def tags: () -> ::Hash[::String, ::String]
216
+ end
217
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DSQL/Client.html#get_stream-instance_method
218
+ def get_stream: (
219
+ cluster_identifier: ::String,
220
+ stream_identifier: ::String
221
+ ) -> _GetStreamResponseSuccess
222
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStreamResponseSuccess
223
+
162
224
  interface _GetVpcEndpointServiceNameResponseSuccess
163
225
  include ::Seahorse::Client::_ResponseSuccess[Types::GetVpcEndpointServiceNameOutput]
164
226
  def service_name: () -> ::String
@@ -182,6 +244,19 @@ module Aws
182
244
  ) -> _ListClustersResponseSuccess
183
245
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListClustersResponseSuccess
184
246
 
247
+ interface _ListStreamsResponseSuccess
248
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListStreamsOutput]
249
+ def next_token: () -> ::String
250
+ def streams: () -> ::Array[Types::StreamSummary]
251
+ end
252
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DSQL/Client.html#list_streams-instance_method
253
+ def list_streams: (
254
+ cluster_identifier: ::String,
255
+ ?max_results: ::Integer,
256
+ ?next_token: ::String
257
+ ) -> _ListStreamsResponseSuccess
258
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStreamsResponseSuccess
259
+
185
260
  interface _ListTagsForResourceResponseSuccess
186
261
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
187
262
  def tags: () -> ::Hash[::String, ::String]
@@ -249,6 +324,16 @@ module Aws
249
324
  identifier: ::String
250
325
  ) -> Client::_GetClusterResponseSuccess
251
326
  | (:cluster_not_exists waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetClusterResponseSuccess
327
+ | (:stream_active waiter_name,
328
+ cluster_identifier: ::String,
329
+ stream_identifier: ::String
330
+ ) -> Client::_GetStreamResponseSuccess
331
+ | (:stream_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetStreamResponseSuccess
332
+ | (:stream_not_exists waiter_name,
333
+ cluster_identifier: ::String,
334
+ stream_identifier: ::String
335
+ ) -> Client::_GetStreamResponseSuccess
336
+ | (:stream_not_exists waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetStreamResponseSuccess
252
337
  end
253
338
  end
254
339
  end