aws-sdk-ivs 1.43.0 → 1.45.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,483 @@
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 IVS
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/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
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _BatchGetChannelResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetChannelResponse]
77
+ def channels: () -> ::Array[Types::Channel]
78
+ def errors: () -> ::Array[Types::BatchError]
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#batch_get_channel-instance_method
81
+ def batch_get_channel: (
82
+ arns: Array[::String]
83
+ ) -> _BatchGetChannelResponseSuccess
84
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetChannelResponseSuccess
85
+
86
+ interface _BatchGetStreamKeyResponseSuccess
87
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetStreamKeyResponse]
88
+ def errors: () -> ::Array[Types::BatchError]
89
+ def stream_keys: () -> ::Array[Types::StreamKey]
90
+ end
91
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#batch_get_stream_key-instance_method
92
+ def batch_get_stream_key: (
93
+ arns: Array[::String]
94
+ ) -> _BatchGetStreamKeyResponseSuccess
95
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetStreamKeyResponseSuccess
96
+
97
+ interface _BatchStartViewerSessionRevocationResponseSuccess
98
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchStartViewerSessionRevocationResponse]
99
+ def errors: () -> ::Array[Types::BatchStartViewerSessionRevocationError]
100
+ end
101
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#batch_start_viewer_session_revocation-instance_method
102
+ def batch_start_viewer_session_revocation: (
103
+ viewer_sessions: Array[
104
+ {
105
+ channel_arn: ::String,
106
+ viewer_id: ::String,
107
+ viewer_session_versions_less_than_or_equal_to: ::Integer?
108
+ },
109
+ ]
110
+ ) -> _BatchStartViewerSessionRevocationResponseSuccess
111
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchStartViewerSessionRevocationResponseSuccess
112
+
113
+ interface _CreateChannelResponseSuccess
114
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateChannelResponse]
115
+ def channel: () -> Types::Channel
116
+ def stream_key: () -> Types::StreamKey
117
+ end
118
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#create_channel-instance_method
119
+ def create_channel: (
120
+ ?authorized: bool,
121
+ ?insecure_ingest: bool,
122
+ ?latency_mode: ("NORMAL" | "LOW"),
123
+ ?name: ::String,
124
+ ?playback_restriction_policy_arn: ::String,
125
+ ?preset: ("HIGHER_BANDWIDTH_DELIVERY" | "CONSTRAINED_BANDWIDTH_DELIVERY"),
126
+ ?recording_configuration_arn: ::String,
127
+ ?tags: Hash[::String, ::String],
128
+ ?type: ("BASIC" | "STANDARD" | "ADVANCED_SD" | "ADVANCED_HD")
129
+ ) -> _CreateChannelResponseSuccess
130
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChannelResponseSuccess
131
+
132
+ interface _CreatePlaybackRestrictionPolicyResponseSuccess
133
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePlaybackRestrictionPolicyResponse]
134
+ def playback_restriction_policy: () -> Types::PlaybackRestrictionPolicy
135
+ end
136
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#create_playback_restriction_policy-instance_method
137
+ def create_playback_restriction_policy: (
138
+ ?allowed_countries: Array[::String],
139
+ ?allowed_origins: Array[::String],
140
+ ?enable_strict_origin_enforcement: bool,
141
+ ?name: ::String,
142
+ ?tags: Hash[::String, ::String]
143
+ ) -> _CreatePlaybackRestrictionPolicyResponseSuccess
144
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePlaybackRestrictionPolicyResponseSuccess
145
+
146
+ interface _CreateRecordingConfigurationResponseSuccess
147
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRecordingConfigurationResponse]
148
+ def recording_configuration: () -> Types::RecordingConfiguration
149
+ end
150
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#create_recording_configuration-instance_method
151
+ def create_recording_configuration: (
152
+ destination_configuration: {
153
+ s3: {
154
+ bucket_name: ::String
155
+ }?
156
+ },
157
+ ?name: ::String,
158
+ ?recording_reconnect_window_seconds: ::Integer,
159
+ ?rendition_configuration: {
160
+ rendition_selection: ("ALL" | "NONE" | "CUSTOM")?,
161
+ renditions: Array[("FULL_HD" | "HD" | "SD" | "LOWEST_RESOLUTION")]?
162
+ },
163
+ ?tags: Hash[::String, ::String],
164
+ ?thumbnail_configuration: {
165
+ recording_mode: ("DISABLED" | "INTERVAL")?,
166
+ resolution: ("FULL_HD" | "HD" | "SD" | "LOWEST_RESOLUTION")?,
167
+ storage: Array[("SEQUENTIAL" | "LATEST")]?,
168
+ target_interval_seconds: ::Integer?
169
+ }
170
+ ) -> _CreateRecordingConfigurationResponseSuccess
171
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRecordingConfigurationResponseSuccess
172
+
173
+ interface _CreateStreamKeyResponseSuccess
174
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateStreamKeyResponse]
175
+ def stream_key: () -> Types::StreamKey
176
+ end
177
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#create_stream_key-instance_method
178
+ def create_stream_key: (
179
+ channel_arn: ::String,
180
+ ?tags: Hash[::String, ::String]
181
+ ) -> _CreateStreamKeyResponseSuccess
182
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStreamKeyResponseSuccess
183
+
184
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#delete_channel-instance_method
185
+ def delete_channel: (
186
+ arn: ::String
187
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
188
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
189
+
190
+ interface _DeletePlaybackKeyPairResponseSuccess
191
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeletePlaybackKeyPairResponse]
192
+ end
193
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#delete_playback_key_pair-instance_method
194
+ def delete_playback_key_pair: (
195
+ arn: ::String
196
+ ) -> _DeletePlaybackKeyPairResponseSuccess
197
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePlaybackKeyPairResponseSuccess
198
+
199
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#delete_playback_restriction_policy-instance_method
200
+ def delete_playback_restriction_policy: (
201
+ arn: ::String
202
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
203
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
204
+
205
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#delete_recording_configuration-instance_method
206
+ def delete_recording_configuration: (
207
+ arn: ::String
208
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
209
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
210
+
211
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#delete_stream_key-instance_method
212
+ def delete_stream_key: (
213
+ arn: ::String
214
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
215
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
216
+
217
+ interface _GetChannelResponseSuccess
218
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetChannelResponse]
219
+ def channel: () -> Types::Channel
220
+ end
221
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#get_channel-instance_method
222
+ def get_channel: (
223
+ arn: ::String
224
+ ) -> _GetChannelResponseSuccess
225
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChannelResponseSuccess
226
+
227
+ interface _GetPlaybackKeyPairResponseSuccess
228
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPlaybackKeyPairResponse]
229
+ def key_pair: () -> Types::PlaybackKeyPair
230
+ end
231
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#get_playback_key_pair-instance_method
232
+ def get_playback_key_pair: (
233
+ arn: ::String
234
+ ) -> _GetPlaybackKeyPairResponseSuccess
235
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPlaybackKeyPairResponseSuccess
236
+
237
+ interface _GetPlaybackRestrictionPolicyResponseSuccess
238
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPlaybackRestrictionPolicyResponse]
239
+ def playback_restriction_policy: () -> Types::PlaybackRestrictionPolicy
240
+ end
241
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#get_playback_restriction_policy-instance_method
242
+ def get_playback_restriction_policy: (
243
+ arn: ::String
244
+ ) -> _GetPlaybackRestrictionPolicyResponseSuccess
245
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPlaybackRestrictionPolicyResponseSuccess
246
+
247
+ interface _GetRecordingConfigurationResponseSuccess
248
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRecordingConfigurationResponse]
249
+ def recording_configuration: () -> Types::RecordingConfiguration
250
+ end
251
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#get_recording_configuration-instance_method
252
+ def get_recording_configuration: (
253
+ arn: ::String
254
+ ) -> _GetRecordingConfigurationResponseSuccess
255
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRecordingConfigurationResponseSuccess
256
+
257
+ interface _GetStreamResponseSuccess
258
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetStreamResponse]
259
+ def stream: () -> Types::Stream
260
+ end
261
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#get_stream-instance_method
262
+ def get_stream: (
263
+ channel_arn: ::String
264
+ ) -> _GetStreamResponseSuccess
265
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStreamResponseSuccess
266
+
267
+ interface _GetStreamKeyResponseSuccess
268
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetStreamKeyResponse]
269
+ def stream_key: () -> Types::StreamKey
270
+ end
271
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#get_stream_key-instance_method
272
+ def get_stream_key: (
273
+ arn: ::String
274
+ ) -> _GetStreamKeyResponseSuccess
275
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStreamKeyResponseSuccess
276
+
277
+ interface _GetStreamSessionResponseSuccess
278
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetStreamSessionResponse]
279
+ def stream_session: () -> Types::StreamSession
280
+ end
281
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#get_stream_session-instance_method
282
+ def get_stream_session: (
283
+ channel_arn: ::String,
284
+ ?stream_id: ::String
285
+ ) -> _GetStreamSessionResponseSuccess
286
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStreamSessionResponseSuccess
287
+
288
+ interface _ImportPlaybackKeyPairResponseSuccess
289
+ include ::Seahorse::Client::_ResponseSuccess[Types::ImportPlaybackKeyPairResponse]
290
+ def key_pair: () -> Types::PlaybackKeyPair
291
+ end
292
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#import_playback_key_pair-instance_method
293
+ def import_playback_key_pair: (
294
+ ?name: ::String,
295
+ public_key_material: ::String,
296
+ ?tags: Hash[::String, ::String]
297
+ ) -> _ImportPlaybackKeyPairResponseSuccess
298
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportPlaybackKeyPairResponseSuccess
299
+
300
+ interface _ListChannelsResponseSuccess
301
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListChannelsResponse]
302
+ def channels: () -> ::Array[Types::ChannelSummary]
303
+ def next_token: () -> ::String
304
+ end
305
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#list_channels-instance_method
306
+ def list_channels: (
307
+ ?filter_by_name: ::String,
308
+ ?filter_by_playback_restriction_policy_arn: ::String,
309
+ ?filter_by_recording_configuration_arn: ::String,
310
+ ?max_results: ::Integer,
311
+ ?next_token: ::String
312
+ ) -> _ListChannelsResponseSuccess
313
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChannelsResponseSuccess
314
+
315
+ interface _ListPlaybackKeyPairsResponseSuccess
316
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPlaybackKeyPairsResponse]
317
+ def key_pairs: () -> ::Array[Types::PlaybackKeyPairSummary]
318
+ def next_token: () -> ::String
319
+ end
320
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#list_playback_key_pairs-instance_method
321
+ def list_playback_key_pairs: (
322
+ ?max_results: ::Integer,
323
+ ?next_token: ::String
324
+ ) -> _ListPlaybackKeyPairsResponseSuccess
325
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPlaybackKeyPairsResponseSuccess
326
+
327
+ interface _ListPlaybackRestrictionPoliciesResponseSuccess
328
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPlaybackRestrictionPoliciesResponse]
329
+ def next_token: () -> ::String
330
+ def playback_restriction_policies: () -> ::Array[Types::PlaybackRestrictionPolicySummary]
331
+ end
332
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#list_playback_restriction_policies-instance_method
333
+ def list_playback_restriction_policies: (
334
+ ?max_results: ::Integer,
335
+ ?next_token: ::String
336
+ ) -> _ListPlaybackRestrictionPoliciesResponseSuccess
337
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPlaybackRestrictionPoliciesResponseSuccess
338
+
339
+ interface _ListRecordingConfigurationsResponseSuccess
340
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRecordingConfigurationsResponse]
341
+ def next_token: () -> ::String
342
+ def recording_configurations: () -> ::Array[Types::RecordingConfigurationSummary]
343
+ end
344
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#list_recording_configurations-instance_method
345
+ def list_recording_configurations: (
346
+ ?max_results: ::Integer,
347
+ ?next_token: ::String
348
+ ) -> _ListRecordingConfigurationsResponseSuccess
349
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRecordingConfigurationsResponseSuccess
350
+
351
+ interface _ListStreamKeysResponseSuccess
352
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListStreamKeysResponse]
353
+ def next_token: () -> ::String
354
+ def stream_keys: () -> ::Array[Types::StreamKeySummary]
355
+ end
356
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#list_stream_keys-instance_method
357
+ def list_stream_keys: (
358
+ channel_arn: ::String,
359
+ ?max_results: ::Integer,
360
+ ?next_token: ::String
361
+ ) -> _ListStreamKeysResponseSuccess
362
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStreamKeysResponseSuccess
363
+
364
+ interface _ListStreamSessionsResponseSuccess
365
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListStreamSessionsResponse]
366
+ def next_token: () -> ::String
367
+ def stream_sessions: () -> ::Array[Types::StreamSessionSummary]
368
+ end
369
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#list_stream_sessions-instance_method
370
+ def list_stream_sessions: (
371
+ channel_arn: ::String,
372
+ ?max_results: ::Integer,
373
+ ?next_token: ::String
374
+ ) -> _ListStreamSessionsResponseSuccess
375
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStreamSessionsResponseSuccess
376
+
377
+ interface _ListStreamsResponseSuccess
378
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListStreamsResponse]
379
+ def next_token: () -> ::String
380
+ def streams: () -> ::Array[Types::StreamSummary]
381
+ end
382
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#list_streams-instance_method
383
+ def list_streams: (
384
+ ?filter_by: {
385
+ health: ("HEALTHY" | "STARVING" | "UNKNOWN")?
386
+ },
387
+ ?max_results: ::Integer,
388
+ ?next_token: ::String
389
+ ) -> _ListStreamsResponseSuccess
390
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStreamsResponseSuccess
391
+
392
+ interface _ListTagsForResourceResponseSuccess
393
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
394
+ def tags: () -> ::Hash[::String, ::String]
395
+ end
396
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#list_tags_for_resource-instance_method
397
+ def list_tags_for_resource: (
398
+ resource_arn: ::String
399
+ ) -> _ListTagsForResourceResponseSuccess
400
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
401
+
402
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#put_metadata-instance_method
403
+ def put_metadata: (
404
+ channel_arn: ::String,
405
+ metadata: ::String
406
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
407
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
408
+
409
+ interface _StartViewerSessionRevocationResponseSuccess
410
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartViewerSessionRevocationResponse]
411
+ end
412
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#start_viewer_session_revocation-instance_method
413
+ def start_viewer_session_revocation: (
414
+ channel_arn: ::String,
415
+ viewer_id: ::String,
416
+ ?viewer_session_versions_less_than_or_equal_to: ::Integer
417
+ ) -> _StartViewerSessionRevocationResponseSuccess
418
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartViewerSessionRevocationResponseSuccess
419
+
420
+ interface _StopStreamResponseSuccess
421
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopStreamResponse]
422
+ end
423
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#stop_stream-instance_method
424
+ def stop_stream: (
425
+ channel_arn: ::String
426
+ ) -> _StopStreamResponseSuccess
427
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopStreamResponseSuccess
428
+
429
+ interface _TagResourceResponseSuccess
430
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
431
+ end
432
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#tag_resource-instance_method
433
+ def tag_resource: (
434
+ resource_arn: ::String,
435
+ tags: Hash[::String, ::String]
436
+ ) -> _TagResourceResponseSuccess
437
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
438
+
439
+ interface _UntagResourceResponseSuccess
440
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
441
+ end
442
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#untag_resource-instance_method
443
+ def untag_resource: (
444
+ resource_arn: ::String,
445
+ tag_keys: Array[::String]
446
+ ) -> _UntagResourceResponseSuccess
447
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
448
+
449
+ interface _UpdateChannelResponseSuccess
450
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateChannelResponse]
451
+ def channel: () -> Types::Channel
452
+ end
453
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#update_channel-instance_method
454
+ def update_channel: (
455
+ arn: ::String,
456
+ ?authorized: bool,
457
+ ?insecure_ingest: bool,
458
+ ?latency_mode: ("NORMAL" | "LOW"),
459
+ ?name: ::String,
460
+ ?playback_restriction_policy_arn: ::String,
461
+ ?preset: ("HIGHER_BANDWIDTH_DELIVERY" | "CONSTRAINED_BANDWIDTH_DELIVERY"),
462
+ ?recording_configuration_arn: ::String,
463
+ ?type: ("BASIC" | "STANDARD" | "ADVANCED_SD" | "ADVANCED_HD")
464
+ ) -> _UpdateChannelResponseSuccess
465
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChannelResponseSuccess
466
+
467
+ interface _UpdatePlaybackRestrictionPolicyResponseSuccess
468
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePlaybackRestrictionPolicyResponse]
469
+ def playback_restriction_policy: () -> Types::PlaybackRestrictionPolicy
470
+ end
471
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#update_playback_restriction_policy-instance_method
472
+ def update_playback_restriction_policy: (
473
+ ?allowed_countries: Array[::String],
474
+ ?allowed_origins: Array[::String],
475
+ arn: ::String,
476
+ ?enable_strict_origin_enforcement: bool,
477
+ ?name: ::String
478
+ ) -> _UpdatePlaybackRestrictionPolicyResponseSuccess
479
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePlaybackRestrictionPolicyResponseSuccess
480
+ end
481
+ end
482
+ end
483
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,46 @@
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 IVS
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def exception_message: () -> ::String
16
+ end
17
+ class ChannelNotBroadcasting < ::Aws::Errors::ServiceError
18
+ def exception_message: () -> ::String
19
+ end
20
+ class ConflictException < ::Aws::Errors::ServiceError
21
+ def exception_message: () -> ::String
22
+ end
23
+ class InternalServerException < ::Aws::Errors::ServiceError
24
+ def exception_message: () -> ::String
25
+ end
26
+ class PendingVerification < ::Aws::Errors::ServiceError
27
+ def exception_message: () -> ::String
28
+ end
29
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
30
+ def exception_message: () -> ::String
31
+ end
32
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
33
+ def exception_message: () -> ::String
34
+ end
35
+ class StreamUnavailable < ::Aws::Errors::ServiceError
36
+ def exception_message: () -> ::String
37
+ end
38
+ class ThrottlingException < ::Aws::Errors::ServiceError
39
+ def exception_message: () -> ::String
40
+ end
41
+ class ValidationException < ::Aws::Errors::ServiceError
42
+ def exception_message: () -> ::String
43
+ end
44
+ end
45
+ end
46
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
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 IVS
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/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
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end