aws-sdk-mediapackagev2 1.11.0 → 1.13.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,568 @@
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 MediaPackageV2
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/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 _CreateChannelResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateChannelResponse]
77
+ def arn: () -> ::String
78
+ def channel_name: () -> ::String
79
+ def channel_group_name: () -> ::String
80
+ def created_at: () -> ::Time
81
+ def modified_at: () -> ::Time
82
+ def description: () -> ::String
83
+ def ingest_endpoints: () -> ::Array[Types::IngestEndpoint]
84
+ def etag: () -> ::String
85
+ def tags: () -> ::Hash[::String, ::String]
86
+ end
87
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#create_channel-instance_method
88
+ def create_channel: (
89
+ channel_group_name: ::String,
90
+ channel_name: ::String,
91
+ ?client_token: ::String,
92
+ ?description: ::String,
93
+ ?tags: Hash[::String, ::String]
94
+ ) -> _CreateChannelResponseSuccess
95
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChannelResponseSuccess
96
+
97
+ interface _CreateChannelGroupResponseSuccess
98
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateChannelGroupResponse]
99
+ def channel_group_name: () -> ::String
100
+ def arn: () -> ::String
101
+ def egress_domain: () -> ::String
102
+ def created_at: () -> ::Time
103
+ def modified_at: () -> ::Time
104
+ def etag: () -> ::String
105
+ def description: () -> ::String
106
+ def tags: () -> ::Hash[::String, ::String]
107
+ end
108
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#create_channel_group-instance_method
109
+ def create_channel_group: (
110
+ channel_group_name: ::String,
111
+ ?client_token: ::String,
112
+ ?description: ::String,
113
+ ?tags: Hash[::String, ::String]
114
+ ) -> _CreateChannelGroupResponseSuccess
115
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChannelGroupResponseSuccess
116
+
117
+ interface _CreateOriginEndpointResponseSuccess
118
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateOriginEndpointResponse]
119
+ def arn: () -> ::String
120
+ def channel_group_name: () -> ::String
121
+ def channel_name: () -> ::String
122
+ def origin_endpoint_name: () -> ::String
123
+ def container_type: () -> ("TS" | "CMAF")
124
+ def segment: () -> Types::Segment
125
+ def created_at: () -> ::Time
126
+ def modified_at: () -> ::Time
127
+ def description: () -> ::String
128
+ def startover_window_seconds: () -> ::Integer
129
+ def hls_manifests: () -> ::Array[Types::GetHlsManifestConfiguration]
130
+ def low_latency_hls_manifests: () -> ::Array[Types::GetLowLatencyHlsManifestConfiguration]
131
+ def etag: () -> ::String
132
+ def tags: () -> ::Hash[::String, ::String]
133
+ end
134
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#create_origin_endpoint-instance_method
135
+ def create_origin_endpoint: (
136
+ channel_group_name: ::String,
137
+ channel_name: ::String,
138
+ origin_endpoint_name: ::String,
139
+ container_type: ("TS" | "CMAF"),
140
+ ?segment: {
141
+ segment_duration_seconds: ::Integer?,
142
+ segment_name: ::String?,
143
+ ts_use_audio_rendition_group: bool?,
144
+ include_iframe_only_streams: bool?,
145
+ ts_include_dvb_subtitles: bool?,
146
+ scte: {
147
+ scte_filter: Array[("SPLICE_INSERT" | "BREAK" | "PROVIDER_ADVERTISEMENT" | "DISTRIBUTOR_ADVERTISEMENT" | "PROVIDER_PLACEMENT_OPPORTUNITY" | "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" | "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" | "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY" | "PROGRAM")]?
148
+ }?,
149
+ encryption: {
150
+ constant_initialization_vector: ::String?,
151
+ encryption_method: {
152
+ ts_encryption_method: ("AES_128" | "SAMPLE_AES")?,
153
+ cmaf_encryption_method: ("CENC" | "CBCS")?
154
+ },
155
+ key_rotation_interval_seconds: ::Integer?,
156
+ speke_key_provider: {
157
+ encryption_contract_configuration: {
158
+ preset_speke_20_audio: ("PRESET_AUDIO_1" | "PRESET_AUDIO_2" | "PRESET_AUDIO_3" | "SHARED" | "UNENCRYPTED"),
159
+ preset_speke_20_video: ("PRESET_VIDEO_1" | "PRESET_VIDEO_2" | "PRESET_VIDEO_3" | "PRESET_VIDEO_4" | "PRESET_VIDEO_5" | "PRESET_VIDEO_6" | "PRESET_VIDEO_7" | "PRESET_VIDEO_8" | "SHARED" | "UNENCRYPTED")
160
+ },
161
+ resource_id: ::String,
162
+ drm_systems: Array[("CLEAR_KEY_AES_128" | "FAIRPLAY" | "PLAYREADY" | "WIDEVINE")],
163
+ role_arn: ::String,
164
+ url: ::String
165
+ }
166
+ }?
167
+ },
168
+ ?client_token: ::String,
169
+ ?description: ::String,
170
+ ?startover_window_seconds: ::Integer,
171
+ ?hls_manifests: Array[
172
+ {
173
+ manifest_name: ::String,
174
+ child_manifest_name: ::String?,
175
+ scte_hls: {
176
+ ad_marker_hls: ("DATERANGE")?
177
+ }?,
178
+ manifest_window_seconds: ::Integer?,
179
+ program_date_time_interval_seconds: ::Integer?,
180
+ filter_configuration: {
181
+ manifest_filter: ::String?,
182
+ start: ::Time?,
183
+ end: ::Time?,
184
+ time_delay_seconds: ::Integer?
185
+ }?
186
+ },
187
+ ],
188
+ ?low_latency_hls_manifests: Array[
189
+ {
190
+ manifest_name: ::String,
191
+ child_manifest_name: ::String?,
192
+ scte_hls: {
193
+ ad_marker_hls: ("DATERANGE")?
194
+ }?,
195
+ manifest_window_seconds: ::Integer?,
196
+ program_date_time_interval_seconds: ::Integer?,
197
+ filter_configuration: {
198
+ manifest_filter: ::String?,
199
+ start: ::Time?,
200
+ end: ::Time?,
201
+ time_delay_seconds: ::Integer?
202
+ }?
203
+ },
204
+ ],
205
+ ?tags: Hash[::String, ::String]
206
+ ) -> _CreateOriginEndpointResponseSuccess
207
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateOriginEndpointResponseSuccess
208
+
209
+ interface _DeleteChannelResponseSuccess
210
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteChannelResponse]
211
+ end
212
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#delete_channel-instance_method
213
+ def delete_channel: (
214
+ channel_group_name: ::String,
215
+ channel_name: ::String
216
+ ) -> _DeleteChannelResponseSuccess
217
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteChannelResponseSuccess
218
+
219
+ interface _DeleteChannelGroupResponseSuccess
220
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteChannelGroupResponse]
221
+ end
222
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#delete_channel_group-instance_method
223
+ def delete_channel_group: (
224
+ channel_group_name: ::String
225
+ ) -> _DeleteChannelGroupResponseSuccess
226
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteChannelGroupResponseSuccess
227
+
228
+ interface _DeleteChannelPolicyResponseSuccess
229
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteChannelPolicyResponse]
230
+ end
231
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#delete_channel_policy-instance_method
232
+ def delete_channel_policy: (
233
+ channel_group_name: ::String,
234
+ channel_name: ::String
235
+ ) -> _DeleteChannelPolicyResponseSuccess
236
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteChannelPolicyResponseSuccess
237
+
238
+ interface _DeleteOriginEndpointResponseSuccess
239
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteOriginEndpointResponse]
240
+ end
241
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#delete_origin_endpoint-instance_method
242
+ def delete_origin_endpoint: (
243
+ channel_group_name: ::String,
244
+ channel_name: ::String,
245
+ origin_endpoint_name: ::String
246
+ ) -> _DeleteOriginEndpointResponseSuccess
247
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteOriginEndpointResponseSuccess
248
+
249
+ interface _DeleteOriginEndpointPolicyResponseSuccess
250
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteOriginEndpointPolicyResponse]
251
+ end
252
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#delete_origin_endpoint_policy-instance_method
253
+ def delete_origin_endpoint_policy: (
254
+ channel_group_name: ::String,
255
+ channel_name: ::String,
256
+ origin_endpoint_name: ::String
257
+ ) -> _DeleteOriginEndpointPolicyResponseSuccess
258
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteOriginEndpointPolicyResponseSuccess
259
+
260
+ interface _GetChannelResponseSuccess
261
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetChannelResponse]
262
+ def arn: () -> ::String
263
+ def channel_name: () -> ::String
264
+ def channel_group_name: () -> ::String
265
+ def created_at: () -> ::Time
266
+ def modified_at: () -> ::Time
267
+ def description: () -> ::String
268
+ def ingest_endpoints: () -> ::Array[Types::IngestEndpoint]
269
+ def etag: () -> ::String
270
+ def tags: () -> ::Hash[::String, ::String]
271
+ end
272
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#get_channel-instance_method
273
+ def get_channel: (
274
+ channel_group_name: ::String,
275
+ channel_name: ::String
276
+ ) -> _GetChannelResponseSuccess
277
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChannelResponseSuccess
278
+
279
+ interface _GetChannelGroupResponseSuccess
280
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetChannelGroupResponse]
281
+ def channel_group_name: () -> ::String
282
+ def arn: () -> ::String
283
+ def egress_domain: () -> ::String
284
+ def created_at: () -> ::Time
285
+ def modified_at: () -> ::Time
286
+ def description: () -> ::String
287
+ def etag: () -> ::String
288
+ def tags: () -> ::Hash[::String, ::String]
289
+ end
290
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#get_channel_group-instance_method
291
+ def get_channel_group: (
292
+ channel_group_name: ::String
293
+ ) -> _GetChannelGroupResponseSuccess
294
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChannelGroupResponseSuccess
295
+
296
+ interface _GetChannelPolicyResponseSuccess
297
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetChannelPolicyResponse]
298
+ def channel_group_name: () -> ::String
299
+ def channel_name: () -> ::String
300
+ def policy: () -> ::String
301
+ end
302
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#get_channel_policy-instance_method
303
+ def get_channel_policy: (
304
+ channel_group_name: ::String,
305
+ channel_name: ::String
306
+ ) -> _GetChannelPolicyResponseSuccess
307
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChannelPolicyResponseSuccess
308
+
309
+ interface _GetOriginEndpointResponseSuccess
310
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetOriginEndpointResponse]
311
+ def arn: () -> ::String
312
+ def channel_group_name: () -> ::String
313
+ def channel_name: () -> ::String
314
+ def origin_endpoint_name: () -> ::String
315
+ def container_type: () -> ("TS" | "CMAF")
316
+ def segment: () -> Types::Segment
317
+ def created_at: () -> ::Time
318
+ def modified_at: () -> ::Time
319
+ def description: () -> ::String
320
+ def startover_window_seconds: () -> ::Integer
321
+ def hls_manifests: () -> ::Array[Types::GetHlsManifestConfiguration]
322
+ def low_latency_hls_manifests: () -> ::Array[Types::GetLowLatencyHlsManifestConfiguration]
323
+ def etag: () -> ::String
324
+ def tags: () -> ::Hash[::String, ::String]
325
+ end
326
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#get_origin_endpoint-instance_method
327
+ def get_origin_endpoint: (
328
+ channel_group_name: ::String,
329
+ channel_name: ::String,
330
+ origin_endpoint_name: ::String
331
+ ) -> _GetOriginEndpointResponseSuccess
332
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOriginEndpointResponseSuccess
333
+
334
+ interface _GetOriginEndpointPolicyResponseSuccess
335
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetOriginEndpointPolicyResponse]
336
+ def channel_group_name: () -> ::String
337
+ def channel_name: () -> ::String
338
+ def origin_endpoint_name: () -> ::String
339
+ def policy: () -> ::String
340
+ end
341
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#get_origin_endpoint_policy-instance_method
342
+ def get_origin_endpoint_policy: (
343
+ channel_group_name: ::String,
344
+ channel_name: ::String,
345
+ origin_endpoint_name: ::String
346
+ ) -> _GetOriginEndpointPolicyResponseSuccess
347
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOriginEndpointPolicyResponseSuccess
348
+
349
+ interface _ListChannelGroupsResponseSuccess
350
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListChannelGroupsResponse]
351
+ def items: () -> ::Array[Types::ChannelGroupListConfiguration]
352
+ def next_token: () -> ::String
353
+ end
354
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#list_channel_groups-instance_method
355
+ def list_channel_groups: (
356
+ ?max_results: ::Integer,
357
+ ?next_token: ::String
358
+ ) -> _ListChannelGroupsResponseSuccess
359
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChannelGroupsResponseSuccess
360
+
361
+ interface _ListChannelsResponseSuccess
362
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListChannelsResponse]
363
+ def items: () -> ::Array[Types::ChannelListConfiguration]
364
+ def next_token: () -> ::String
365
+ end
366
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#list_channels-instance_method
367
+ def list_channels: (
368
+ channel_group_name: ::String,
369
+ ?max_results: ::Integer,
370
+ ?next_token: ::String
371
+ ) -> _ListChannelsResponseSuccess
372
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChannelsResponseSuccess
373
+
374
+ interface _ListOriginEndpointsResponseSuccess
375
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListOriginEndpointsResponse]
376
+ def items: () -> ::Array[Types::OriginEndpointListConfiguration]
377
+ def next_token: () -> ::String
378
+ end
379
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#list_origin_endpoints-instance_method
380
+ def list_origin_endpoints: (
381
+ channel_group_name: ::String,
382
+ channel_name: ::String,
383
+ ?max_results: ::Integer,
384
+ ?next_token: ::String
385
+ ) -> _ListOriginEndpointsResponseSuccess
386
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOriginEndpointsResponseSuccess
387
+
388
+ interface _ListTagsForResourceResponseSuccess
389
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
390
+ def tags: () -> ::Hash[::String, ::String]
391
+ end
392
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#list_tags_for_resource-instance_method
393
+ def list_tags_for_resource: (
394
+ resource_arn: ::String
395
+ ) -> _ListTagsForResourceResponseSuccess
396
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
397
+
398
+ interface _PutChannelPolicyResponseSuccess
399
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutChannelPolicyResponse]
400
+ end
401
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#put_channel_policy-instance_method
402
+ def put_channel_policy: (
403
+ channel_group_name: ::String,
404
+ channel_name: ::String,
405
+ policy: ::String
406
+ ) -> _PutChannelPolicyResponseSuccess
407
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutChannelPolicyResponseSuccess
408
+
409
+ interface _PutOriginEndpointPolicyResponseSuccess
410
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutOriginEndpointPolicyResponse]
411
+ end
412
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#put_origin_endpoint_policy-instance_method
413
+ def put_origin_endpoint_policy: (
414
+ channel_group_name: ::String,
415
+ channel_name: ::String,
416
+ origin_endpoint_name: ::String,
417
+ policy: ::String
418
+ ) -> _PutOriginEndpointPolicyResponseSuccess
419
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutOriginEndpointPolicyResponseSuccess
420
+
421
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#tag_resource-instance_method
422
+ def tag_resource: (
423
+ resource_arn: ::String,
424
+ tags: Hash[::String, ::String]
425
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
426
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
427
+
428
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#untag_resource-instance_method
429
+ def untag_resource: (
430
+ resource_arn: ::String,
431
+ tag_keys: Array[::String]
432
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
433
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
434
+
435
+ interface _UpdateChannelResponseSuccess
436
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateChannelResponse]
437
+ def arn: () -> ::String
438
+ def channel_name: () -> ::String
439
+ def channel_group_name: () -> ::String
440
+ def created_at: () -> ::Time
441
+ def modified_at: () -> ::Time
442
+ def description: () -> ::String
443
+ def ingest_endpoints: () -> ::Array[Types::IngestEndpoint]
444
+ def etag: () -> ::String
445
+ def tags: () -> ::Hash[::String, ::String]
446
+ end
447
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#update_channel-instance_method
448
+ def update_channel: (
449
+ channel_group_name: ::String,
450
+ channel_name: ::String,
451
+ ?etag: ::String,
452
+ ?description: ::String
453
+ ) -> _UpdateChannelResponseSuccess
454
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChannelResponseSuccess
455
+
456
+ interface _UpdateChannelGroupResponseSuccess
457
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateChannelGroupResponse]
458
+ def channel_group_name: () -> ::String
459
+ def arn: () -> ::String
460
+ def egress_domain: () -> ::String
461
+ def created_at: () -> ::Time
462
+ def modified_at: () -> ::Time
463
+ def description: () -> ::String
464
+ def etag: () -> ::String
465
+ def tags: () -> ::Hash[::String, ::String]
466
+ end
467
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#update_channel_group-instance_method
468
+ def update_channel_group: (
469
+ channel_group_name: ::String,
470
+ ?etag: ::String,
471
+ ?description: ::String
472
+ ) -> _UpdateChannelGroupResponseSuccess
473
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChannelGroupResponseSuccess
474
+
475
+ interface _UpdateOriginEndpointResponseSuccess
476
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateOriginEndpointResponse]
477
+ def arn: () -> ::String
478
+ def channel_group_name: () -> ::String
479
+ def channel_name: () -> ::String
480
+ def origin_endpoint_name: () -> ::String
481
+ def container_type: () -> ("TS" | "CMAF")
482
+ def segment: () -> Types::Segment
483
+ def created_at: () -> ::Time
484
+ def modified_at: () -> ::Time
485
+ def description: () -> ::String
486
+ def startover_window_seconds: () -> ::Integer
487
+ def hls_manifests: () -> ::Array[Types::GetHlsManifestConfiguration]
488
+ def low_latency_hls_manifests: () -> ::Array[Types::GetLowLatencyHlsManifestConfiguration]
489
+ def etag: () -> ::String
490
+ def tags: () -> ::Hash[::String, ::String]
491
+ end
492
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#update_origin_endpoint-instance_method
493
+ def update_origin_endpoint: (
494
+ channel_group_name: ::String,
495
+ channel_name: ::String,
496
+ origin_endpoint_name: ::String,
497
+ container_type: ("TS" | "CMAF"),
498
+ ?segment: {
499
+ segment_duration_seconds: ::Integer?,
500
+ segment_name: ::String?,
501
+ ts_use_audio_rendition_group: bool?,
502
+ include_iframe_only_streams: bool?,
503
+ ts_include_dvb_subtitles: bool?,
504
+ scte: {
505
+ scte_filter: Array[("SPLICE_INSERT" | "BREAK" | "PROVIDER_ADVERTISEMENT" | "DISTRIBUTOR_ADVERTISEMENT" | "PROVIDER_PLACEMENT_OPPORTUNITY" | "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" | "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" | "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY" | "PROGRAM")]?
506
+ }?,
507
+ encryption: {
508
+ constant_initialization_vector: ::String?,
509
+ encryption_method: {
510
+ ts_encryption_method: ("AES_128" | "SAMPLE_AES")?,
511
+ cmaf_encryption_method: ("CENC" | "CBCS")?
512
+ },
513
+ key_rotation_interval_seconds: ::Integer?,
514
+ speke_key_provider: {
515
+ encryption_contract_configuration: {
516
+ preset_speke_20_audio: ("PRESET_AUDIO_1" | "PRESET_AUDIO_2" | "PRESET_AUDIO_3" | "SHARED" | "UNENCRYPTED"),
517
+ preset_speke_20_video: ("PRESET_VIDEO_1" | "PRESET_VIDEO_2" | "PRESET_VIDEO_3" | "PRESET_VIDEO_4" | "PRESET_VIDEO_5" | "PRESET_VIDEO_6" | "PRESET_VIDEO_7" | "PRESET_VIDEO_8" | "SHARED" | "UNENCRYPTED")
518
+ },
519
+ resource_id: ::String,
520
+ drm_systems: Array[("CLEAR_KEY_AES_128" | "FAIRPLAY" | "PLAYREADY" | "WIDEVINE")],
521
+ role_arn: ::String,
522
+ url: ::String
523
+ }
524
+ }?
525
+ },
526
+ ?description: ::String,
527
+ ?startover_window_seconds: ::Integer,
528
+ ?hls_manifests: Array[
529
+ {
530
+ manifest_name: ::String,
531
+ child_manifest_name: ::String?,
532
+ scte_hls: {
533
+ ad_marker_hls: ("DATERANGE")?
534
+ }?,
535
+ manifest_window_seconds: ::Integer?,
536
+ program_date_time_interval_seconds: ::Integer?,
537
+ filter_configuration: {
538
+ manifest_filter: ::String?,
539
+ start: ::Time?,
540
+ end: ::Time?,
541
+ time_delay_seconds: ::Integer?
542
+ }?
543
+ },
544
+ ],
545
+ ?low_latency_hls_manifests: Array[
546
+ {
547
+ manifest_name: ::String,
548
+ child_manifest_name: ::String?,
549
+ scte_hls: {
550
+ ad_marker_hls: ("DATERANGE")?
551
+ }?,
552
+ manifest_window_seconds: ::Integer?,
553
+ program_date_time_interval_seconds: ::Integer?,
554
+ filter_configuration: {
555
+ manifest_filter: ::String?,
556
+ start: ::Time?,
557
+ end: ::Time?,
558
+ time_delay_seconds: ::Integer?
559
+ }?
560
+ },
561
+ ],
562
+ ?etag: ::String
563
+ ) -> _UpdateOriginEndpointResponseSuccess
564
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateOriginEndpointResponseSuccess
565
+ end
566
+ end
567
+ end
568
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,40 @@
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 MediaPackageV2
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class ConflictException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ def conflict_exception_type: () -> ::String
20
+ end
21
+ class InternalServerException < ::Aws::Errors::ServiceError
22
+ def message: () -> ::String
23
+ end
24
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
25
+ def message: () -> ::String
26
+ def resource_type_not_found: () -> ::String
27
+ end
28
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
29
+ def message: () -> ::String
30
+ end
31
+ class ThrottlingException < ::Aws::Errors::ServiceError
32
+ def message: () -> ::String
33
+ end
34
+ class ValidationException < ::Aws::Errors::ServiceError
35
+ def message: () -> ::String
36
+ def validation_exception_type: () -> ::String
37
+ end
38
+ end
39
+ end
40
+ end