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