aws-sdk-ivs 1.44.0 → 1.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ivs/client.rb +293 -12
- data/lib/aws-sdk-ivs/client_api.rb +162 -0
- data/lib/aws-sdk-ivs/endpoints.rb +70 -0
- data/lib/aws-sdk-ivs/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-ivs/types.rb +402 -21
- data/lib/aws-sdk-ivs.rb +1 -1
- data/sig/client.rbs +59 -0
- data/sig/types.rbs +87 -0
- metadata +2 -2
data/sig/client.rbs
CHANGED
@@ -121,6 +121,7 @@ module Aws
|
|
121
121
|
?insecure_ingest: bool,
|
122
122
|
?latency_mode: ("NORMAL" | "LOW"),
|
123
123
|
?name: ::String,
|
124
|
+
?playback_restriction_policy_arn: ::String,
|
124
125
|
?preset: ("HIGHER_BANDWIDTH_DELIVERY" | "CONSTRAINED_BANDWIDTH_DELIVERY"),
|
125
126
|
?recording_configuration_arn: ::String,
|
126
127
|
?tags: Hash[::String, ::String],
|
@@ -128,6 +129,20 @@ module Aws
|
|
128
129
|
) -> _CreateChannelResponseSuccess
|
129
130
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChannelResponseSuccess
|
130
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
|
+
|
131
146
|
interface _CreateRecordingConfigurationResponseSuccess
|
132
147
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateRecordingConfigurationResponse]
|
133
148
|
def recording_configuration: () -> Types::RecordingConfiguration
|
@@ -181,6 +196,12 @@ module Aws
|
|
181
196
|
) -> _DeletePlaybackKeyPairResponseSuccess
|
182
197
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePlaybackKeyPairResponseSuccess
|
183
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
|
+
|
184
205
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#delete_recording_configuration-instance_method
|
185
206
|
def delete_recording_configuration: (
|
186
207
|
arn: ::String
|
@@ -213,6 +234,16 @@ module Aws
|
|
213
234
|
) -> _GetPlaybackKeyPairResponseSuccess
|
214
235
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPlaybackKeyPairResponseSuccess
|
215
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
|
+
|
216
247
|
interface _GetRecordingConfigurationResponseSuccess
|
217
248
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetRecordingConfigurationResponse]
|
218
249
|
def recording_configuration: () -> Types::RecordingConfiguration
|
@@ -274,6 +305,7 @@ module Aws
|
|
274
305
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVS/Client.html#list_channels-instance_method
|
275
306
|
def list_channels: (
|
276
307
|
?filter_by_name: ::String,
|
308
|
+
?filter_by_playback_restriction_policy_arn: ::String,
|
277
309
|
?filter_by_recording_configuration_arn: ::String,
|
278
310
|
?max_results: ::Integer,
|
279
311
|
?next_token: ::String
|
@@ -292,6 +324,18 @@ module Aws
|
|
292
324
|
) -> _ListPlaybackKeyPairsResponseSuccess
|
293
325
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPlaybackKeyPairsResponseSuccess
|
294
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
|
+
|
295
339
|
interface _ListRecordingConfigurationsResponseSuccess
|
296
340
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListRecordingConfigurationsResponse]
|
297
341
|
def next_token: () -> ::String
|
@@ -413,11 +457,26 @@ module Aws
|
|
413
457
|
?insecure_ingest: bool,
|
414
458
|
?latency_mode: ("NORMAL" | "LOW"),
|
415
459
|
?name: ::String,
|
460
|
+
?playback_restriction_policy_arn: ::String,
|
416
461
|
?preset: ("HIGHER_BANDWIDTH_DELIVERY" | "CONSTRAINED_BANDWIDTH_DELIVERY"),
|
417
462
|
?recording_configuration_arn: ::String,
|
418
463
|
?type: ("BASIC" | "STANDARD" | "ADVANCED_SD" | "ADVANCED_HD")
|
419
464
|
) -> _UpdateChannelResponseSuccess
|
420
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
|
421
480
|
end
|
422
481
|
end
|
423
482
|
end
|
data/sig/types.rbs
CHANGED
@@ -82,9 +82,11 @@ module Aws::IVS
|
|
82
82
|
attr_accessor insecure_ingest: bool
|
83
83
|
attr_accessor latency_mode: ("NORMAL" | "LOW")
|
84
84
|
attr_accessor name: ::String
|
85
|
+
attr_accessor playback_restriction_policy_arn: ::String
|
85
86
|
attr_accessor playback_url: ::String
|
86
87
|
attr_accessor preset: ("HIGHER_BANDWIDTH_DELIVERY" | "CONSTRAINED_BANDWIDTH_DELIVERY")
|
87
88
|
attr_accessor recording_configuration_arn: ::String
|
89
|
+
attr_accessor srt: Types::Srt
|
88
90
|
attr_accessor tags: ::Hash[::String, ::String]
|
89
91
|
attr_accessor type: ("BASIC" | "STANDARD" | "ADVANCED_SD" | "ADVANCED_HD")
|
90
92
|
SENSITIVE: []
|
@@ -101,6 +103,7 @@ module Aws::IVS
|
|
101
103
|
attr_accessor insecure_ingest: bool
|
102
104
|
attr_accessor latency_mode: ("NORMAL" | "LOW")
|
103
105
|
attr_accessor name: ::String
|
106
|
+
attr_accessor playback_restriction_policy_arn: ::String
|
104
107
|
attr_accessor preset: ("HIGHER_BANDWIDTH_DELIVERY" | "CONSTRAINED_BANDWIDTH_DELIVERY")
|
105
108
|
attr_accessor recording_configuration_arn: ::String
|
106
109
|
attr_accessor tags: ::Hash[::String, ::String]
|
@@ -118,6 +121,7 @@ module Aws::IVS
|
|
118
121
|
attr_accessor insecure_ingest: bool
|
119
122
|
attr_accessor latency_mode: ("NORMAL" | "LOW")
|
120
123
|
attr_accessor name: ::String
|
124
|
+
attr_accessor playback_restriction_policy_arn: ::String
|
121
125
|
attr_accessor preset: ("HIGHER_BANDWIDTH_DELIVERY" | "CONSTRAINED_BANDWIDTH_DELIVERY")
|
122
126
|
attr_accessor recording_configuration_arn: ::String
|
123
127
|
attr_accessor tags: ::Hash[::String, ::String]
|
@@ -131,6 +135,20 @@ module Aws::IVS
|
|
131
135
|
SENSITIVE: []
|
132
136
|
end
|
133
137
|
|
138
|
+
class CreatePlaybackRestrictionPolicyRequest
|
139
|
+
attr_accessor allowed_countries: ::Array[::String]
|
140
|
+
attr_accessor allowed_origins: ::Array[::String]
|
141
|
+
attr_accessor enable_strict_origin_enforcement: bool
|
142
|
+
attr_accessor name: ::String
|
143
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
144
|
+
SENSITIVE: []
|
145
|
+
end
|
146
|
+
|
147
|
+
class CreatePlaybackRestrictionPolicyResponse
|
148
|
+
attr_accessor playback_restriction_policy: Types::PlaybackRestrictionPolicy
|
149
|
+
SENSITIVE: []
|
150
|
+
end
|
151
|
+
|
134
152
|
class CreateRecordingConfigurationRequest
|
135
153
|
attr_accessor destination_configuration: Types::DestinationConfiguration
|
136
154
|
attr_accessor name: ::String
|
@@ -170,6 +188,11 @@ module Aws::IVS
|
|
170
188
|
class DeletePlaybackKeyPairResponse < Aws::EmptyStructure
|
171
189
|
end
|
172
190
|
|
191
|
+
class DeletePlaybackRestrictionPolicyRequest
|
192
|
+
attr_accessor arn: ::String
|
193
|
+
SENSITIVE: []
|
194
|
+
end
|
195
|
+
|
173
196
|
class DeleteRecordingConfigurationRequest
|
174
197
|
attr_accessor arn: ::String
|
175
198
|
SENSITIVE: []
|
@@ -205,6 +228,16 @@ module Aws::IVS
|
|
205
228
|
SENSITIVE: []
|
206
229
|
end
|
207
230
|
|
231
|
+
class GetPlaybackRestrictionPolicyRequest
|
232
|
+
attr_accessor arn: ::String
|
233
|
+
SENSITIVE: []
|
234
|
+
end
|
235
|
+
|
236
|
+
class GetPlaybackRestrictionPolicyResponse
|
237
|
+
attr_accessor playback_restriction_policy: Types::PlaybackRestrictionPolicy
|
238
|
+
SENSITIVE: []
|
239
|
+
end
|
240
|
+
|
208
241
|
class GetRecordingConfigurationRequest
|
209
242
|
attr_accessor arn: ::String
|
210
243
|
SENSITIVE: []
|
@@ -271,6 +304,7 @@ module Aws::IVS
|
|
271
304
|
|
272
305
|
class ListChannelsRequest
|
273
306
|
attr_accessor filter_by_name: ::String
|
307
|
+
attr_accessor filter_by_playback_restriction_policy_arn: ::String
|
274
308
|
attr_accessor filter_by_recording_configuration_arn: ::String
|
275
309
|
attr_accessor max_results: ::Integer
|
276
310
|
attr_accessor next_token: ::String
|
@@ -295,6 +329,18 @@ module Aws::IVS
|
|
295
329
|
SENSITIVE: []
|
296
330
|
end
|
297
331
|
|
332
|
+
class ListPlaybackRestrictionPoliciesRequest
|
333
|
+
attr_accessor max_results: ::Integer
|
334
|
+
attr_accessor next_token: ::String
|
335
|
+
SENSITIVE: []
|
336
|
+
end
|
337
|
+
|
338
|
+
class ListPlaybackRestrictionPoliciesResponse
|
339
|
+
attr_accessor next_token: ::String
|
340
|
+
attr_accessor playback_restriction_policies: ::Array[Types::PlaybackRestrictionPolicySummary]
|
341
|
+
SENSITIVE: []
|
342
|
+
end
|
343
|
+
|
298
344
|
class ListRecordingConfigurationsRequest
|
299
345
|
attr_accessor max_results: ::Integer
|
300
346
|
attr_accessor next_token: ::String
|
@@ -376,6 +422,26 @@ module Aws::IVS
|
|
376
422
|
SENSITIVE: []
|
377
423
|
end
|
378
424
|
|
425
|
+
class PlaybackRestrictionPolicy
|
426
|
+
attr_accessor allowed_countries: ::Array[::String]
|
427
|
+
attr_accessor allowed_origins: ::Array[::String]
|
428
|
+
attr_accessor arn: ::String
|
429
|
+
attr_accessor enable_strict_origin_enforcement: bool
|
430
|
+
attr_accessor name: ::String
|
431
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
432
|
+
SENSITIVE: []
|
433
|
+
end
|
434
|
+
|
435
|
+
class PlaybackRestrictionPolicySummary
|
436
|
+
attr_accessor allowed_countries: ::Array[::String]
|
437
|
+
attr_accessor allowed_origins: ::Array[::String]
|
438
|
+
attr_accessor arn: ::String
|
439
|
+
attr_accessor enable_strict_origin_enforcement: bool
|
440
|
+
attr_accessor name: ::String
|
441
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
442
|
+
SENSITIVE: []
|
443
|
+
end
|
444
|
+
|
379
445
|
class PutMetadataRequest
|
380
446
|
attr_accessor channel_arn: ::String
|
381
447
|
attr_accessor metadata: ::String
|
@@ -424,6 +490,12 @@ module Aws::IVS
|
|
424
490
|
SENSITIVE: []
|
425
491
|
end
|
426
492
|
|
493
|
+
class Srt
|
494
|
+
attr_accessor endpoint: ::String
|
495
|
+
attr_accessor passphrase: ::String
|
496
|
+
SENSITIVE: [:passphrase]
|
497
|
+
end
|
498
|
+
|
427
499
|
class StartViewerSessionRevocationRequest
|
428
500
|
attr_accessor channel_arn: ::String
|
429
501
|
attr_accessor viewer_id: ::String
|
@@ -551,6 +623,7 @@ module Aws::IVS
|
|
551
623
|
attr_accessor insecure_ingest: bool
|
552
624
|
attr_accessor latency_mode: ("NORMAL" | "LOW")
|
553
625
|
attr_accessor name: ::String
|
626
|
+
attr_accessor playback_restriction_policy_arn: ::String
|
554
627
|
attr_accessor preset: ("HIGHER_BANDWIDTH_DELIVERY" | "CONSTRAINED_BANDWIDTH_DELIVERY")
|
555
628
|
attr_accessor recording_configuration_arn: ::String
|
556
629
|
attr_accessor type: ("BASIC" | "STANDARD" | "ADVANCED_SD" | "ADVANCED_HD")
|
@@ -562,6 +635,20 @@ module Aws::IVS
|
|
562
635
|
SENSITIVE: []
|
563
636
|
end
|
564
637
|
|
638
|
+
class UpdatePlaybackRestrictionPolicyRequest
|
639
|
+
attr_accessor allowed_countries: ::Array[::String]
|
640
|
+
attr_accessor allowed_origins: ::Array[::String]
|
641
|
+
attr_accessor arn: ::String
|
642
|
+
attr_accessor enable_strict_origin_enforcement: bool
|
643
|
+
attr_accessor name: ::String
|
644
|
+
SENSITIVE: []
|
645
|
+
end
|
646
|
+
|
647
|
+
class UpdatePlaybackRestrictionPolicyResponse
|
648
|
+
attr_accessor playback_restriction_policy: Types::PlaybackRestrictionPolicy
|
649
|
+
SENSITIVE: []
|
650
|
+
end
|
651
|
+
|
565
652
|
class ValidationException
|
566
653
|
attr_accessor exception_message: ::String
|
567
654
|
SENSITIVE: []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ivs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.46.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|