aws-sdk-mediapackagevod 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-mediapackagevod.rb +47 -0
- data/lib/aws-sdk-mediapackagevod/client.rb +951 -0
- data/lib/aws-sdk-mediapackagevod/client_api.rb +548 -0
- data/lib/aws-sdk-mediapackagevod/customizations.rb +0 -0
- data/lib/aws-sdk-mediapackagevod/errors.rb +14 -0
- data/lib/aws-sdk-mediapackagevod/resource.rb +23 -0
- data/lib/aws-sdk-mediapackagevod/types.rb +1443 -0
- metadata +88 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ba6096c3ae6b250bbbe97538520f251264c1d96a
|
4
|
+
data.tar.gz: 98122e0685297fb46e275169adc90c3f8e4a5b65
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4d85fe6a95bcd493d97ab1a5a55584320b83e721ae60b3d08c7ec77bbbfd11caa5c0cce51a2533f984d3d8f358ce3a90b458f00bb548be0b72d76f2f6d6dd5a4
|
7
|
+
data.tar.gz: 4df36e478471b7ca02b66f62d75aab7960b597e618735549bc427608dadaf8818b1d401be43e157a82b31290f86cb6eb8d6f2a81fd1b0348e4d3ece1bc290db8
|
@@ -0,0 +1,47 @@
|
|
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/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
require 'aws-sdk-core'
|
9
|
+
require 'aws-sigv4'
|
10
|
+
|
11
|
+
require_relative 'aws-sdk-mediapackagevod/types'
|
12
|
+
require_relative 'aws-sdk-mediapackagevod/client_api'
|
13
|
+
require_relative 'aws-sdk-mediapackagevod/client'
|
14
|
+
require_relative 'aws-sdk-mediapackagevod/errors'
|
15
|
+
require_relative 'aws-sdk-mediapackagevod/resource'
|
16
|
+
require_relative 'aws-sdk-mediapackagevod/customizations'
|
17
|
+
|
18
|
+
# This module provides support for AWS Elemental MediaPackage VOD. This module is available in the
|
19
|
+
# `aws-sdk-mediapackagevod` gem.
|
20
|
+
#
|
21
|
+
# # Client
|
22
|
+
#
|
23
|
+
# The {Client} class provides one method for each API operation. Operation
|
24
|
+
# methods each accept a hash of request parameters and return a response
|
25
|
+
# structure.
|
26
|
+
#
|
27
|
+
# See {Client} for more information.
|
28
|
+
#
|
29
|
+
# # Errors
|
30
|
+
#
|
31
|
+
# Errors returned from AWS Elemental MediaPackage VOD all
|
32
|
+
# extend {Errors::ServiceError}.
|
33
|
+
#
|
34
|
+
# begin
|
35
|
+
# # do stuff
|
36
|
+
# rescue Aws::MediaPackageVod::Errors::ServiceError
|
37
|
+
# # rescues all service API errors
|
38
|
+
# end
|
39
|
+
#
|
40
|
+
# See {Errors} for more information.
|
41
|
+
#
|
42
|
+
# @service
|
43
|
+
module Aws::MediaPackageVod
|
44
|
+
|
45
|
+
GEM_VERSION = '1.0.0'
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,951 @@
|
|
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/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
require 'seahorse/client/plugins/content_length.rb'
|
9
|
+
require 'aws-sdk-core/plugins/credentials_configuration.rb'
|
10
|
+
require 'aws-sdk-core/plugins/logging.rb'
|
11
|
+
require 'aws-sdk-core/plugins/param_converter.rb'
|
12
|
+
require 'aws-sdk-core/plugins/param_validator.rb'
|
13
|
+
require 'aws-sdk-core/plugins/user_agent.rb'
|
14
|
+
require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
|
15
|
+
require 'aws-sdk-core/plugins/retry_errors.rb'
|
16
|
+
require 'aws-sdk-core/plugins/global_configuration.rb'
|
17
|
+
require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
18
|
+
require 'aws-sdk-core/plugins/endpoint_discovery.rb'
|
19
|
+
require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
20
|
+
require 'aws-sdk-core/plugins/response_paging.rb'
|
21
|
+
require 'aws-sdk-core/plugins/stub_responses.rb'
|
22
|
+
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
23
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
24
|
+
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
|
+
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
|
+
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
|
+
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
|
+
|
30
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:mediapackagevod)
|
31
|
+
|
32
|
+
module Aws::MediaPackageVod
|
33
|
+
class Client < Seahorse::Client::Base
|
34
|
+
|
35
|
+
include Aws::ClientStubs
|
36
|
+
|
37
|
+
@identifier = :mediapackagevod
|
38
|
+
|
39
|
+
set_api(ClientApi::API)
|
40
|
+
|
41
|
+
add_plugin(Seahorse::Client::Plugins::ContentLength)
|
42
|
+
add_plugin(Aws::Plugins::CredentialsConfiguration)
|
43
|
+
add_plugin(Aws::Plugins::Logging)
|
44
|
+
add_plugin(Aws::Plugins::ParamConverter)
|
45
|
+
add_plugin(Aws::Plugins::ParamValidator)
|
46
|
+
add_plugin(Aws::Plugins::UserAgent)
|
47
|
+
add_plugin(Aws::Plugins::HelpfulSocketErrors)
|
48
|
+
add_plugin(Aws::Plugins::RetryErrors)
|
49
|
+
add_plugin(Aws::Plugins::GlobalConfiguration)
|
50
|
+
add_plugin(Aws::Plugins::RegionalEndpoint)
|
51
|
+
add_plugin(Aws::Plugins::EndpointDiscovery)
|
52
|
+
add_plugin(Aws::Plugins::EndpointPattern)
|
53
|
+
add_plugin(Aws::Plugins::ResponsePaging)
|
54
|
+
add_plugin(Aws::Plugins::StubResponses)
|
55
|
+
add_plugin(Aws::Plugins::IdempotencyToken)
|
56
|
+
add_plugin(Aws::Plugins::JsonvalueConverter)
|
57
|
+
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
|
+
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
|
+
add_plugin(Aws::Plugins::TransferEncoding)
|
60
|
+
add_plugin(Aws::Plugins::SignatureV4)
|
61
|
+
add_plugin(Aws::Plugins::Protocols::RestJson)
|
62
|
+
|
63
|
+
# @overload initialize(options)
|
64
|
+
# @param [Hash] options
|
65
|
+
# @option options [required, Aws::CredentialProvider] :credentials
|
66
|
+
# Your AWS credentials. This can be an instance of any one of the
|
67
|
+
# following classes:
|
68
|
+
#
|
69
|
+
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
70
|
+
# credentials.
|
71
|
+
#
|
72
|
+
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
73
|
+
# from an EC2 IMDS on an EC2 instance.
|
74
|
+
#
|
75
|
+
# * `Aws::SharedCredentials` - Used for loading credentials from a
|
76
|
+
# shared file, such as `~/.aws/config`.
|
77
|
+
#
|
78
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
79
|
+
#
|
80
|
+
# When `:credentials` are not configured directly, the following
|
81
|
+
# locations will be searched for credentials:
|
82
|
+
#
|
83
|
+
# * `Aws.config[:credentials]`
|
84
|
+
# * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
|
85
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
86
|
+
# * `~/.aws/credentials`
|
87
|
+
# * `~/.aws/config`
|
88
|
+
# * EC2 IMDS instance profile - When used by default, the timeouts are
|
89
|
+
# very aggressive. Construct and pass an instance of
|
90
|
+
# `Aws::InstanceProfileCredentails` to enable retries and extended
|
91
|
+
# timeouts.
|
92
|
+
#
|
93
|
+
# @option options [required, String] :region
|
94
|
+
# The AWS region to connect to. The configured `:region` is
|
95
|
+
# used to determine the service `:endpoint`. When not passed,
|
96
|
+
# a default `:region` is search for in the following locations:
|
97
|
+
#
|
98
|
+
# * `Aws.config[:region]`
|
99
|
+
# * `ENV['AWS_REGION']`
|
100
|
+
# * `ENV['AMAZON_REGION']`
|
101
|
+
# * `ENV['AWS_DEFAULT_REGION']`
|
102
|
+
# * `~/.aws/credentials`
|
103
|
+
# * `~/.aws/config`
|
104
|
+
#
|
105
|
+
# @option options [String] :access_key_id
|
106
|
+
#
|
107
|
+
# @option options [Boolean] :active_endpoint_cache (false)
|
108
|
+
# When set to `true`, a thread polling for endpoints will be running in
|
109
|
+
# the background every 60 secs (default). Defaults to `false`.
|
110
|
+
#
|
111
|
+
# @option options [Boolean] :client_side_monitoring (false)
|
112
|
+
# When `true`, client-side metrics will be collected for all API requests from
|
113
|
+
# this client.
|
114
|
+
#
|
115
|
+
# @option options [String] :client_side_monitoring_client_id ("")
|
116
|
+
# Allows you to provide an identifier for this client which will be attached to
|
117
|
+
# all generated client side metrics. Defaults to an empty string.
|
118
|
+
#
|
119
|
+
# @option options [Integer] :client_side_monitoring_port (31000)
|
120
|
+
# Required for publishing client metrics. The port that the client side monitoring
|
121
|
+
# agent is running on, where client metrics will be published via UDP.
|
122
|
+
#
|
123
|
+
# @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
|
124
|
+
# Allows you to provide a custom client-side monitoring publisher class. By default,
|
125
|
+
# will use the Client Side Monitoring Agent Publisher.
|
126
|
+
#
|
127
|
+
# @option options [Boolean] :convert_params (true)
|
128
|
+
# When `true`, an attempt is made to coerce request parameters into
|
129
|
+
# the required types.
|
130
|
+
#
|
131
|
+
# @option options [Boolean] :disable_host_prefix_injection (false)
|
132
|
+
# Set to true to disable SDK automatically adding host prefix
|
133
|
+
# to default service endpoint when available.
|
134
|
+
#
|
135
|
+
# @option options [String] :endpoint
|
136
|
+
# The client endpoint is normally constructed from the `:region`
|
137
|
+
# option. You should only configure an `:endpoint` when connecting
|
138
|
+
# to test endpoints. This should be avalid HTTP(S) URI.
|
139
|
+
#
|
140
|
+
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
141
|
+
# Used for the maximum size limit of the LRU cache storing endpoints data
|
142
|
+
# for endpoint discovery enabled operations. Defaults to 1000.
|
143
|
+
#
|
144
|
+
# @option options [Integer] :endpoint_cache_max_threads (10)
|
145
|
+
# Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
|
146
|
+
#
|
147
|
+
# @option options [Integer] :endpoint_cache_poll_interval (60)
|
148
|
+
# When :endpoint_discovery and :active_endpoint_cache is enabled,
|
149
|
+
# Use this option to config the time interval in seconds for making
|
150
|
+
# requests fetching endpoints information. Defaults to 60 sec.
|
151
|
+
#
|
152
|
+
# @option options [Boolean] :endpoint_discovery (false)
|
153
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
|
154
|
+
#
|
155
|
+
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
156
|
+
# The log formatter.
|
157
|
+
#
|
158
|
+
# @option options [Symbol] :log_level (:info)
|
159
|
+
# The log level to send messages to the `:logger` at.
|
160
|
+
#
|
161
|
+
# @option options [Logger] :logger
|
162
|
+
# The Logger instance to send log messages to. If this option
|
163
|
+
# is not set, logging will be disabled.
|
164
|
+
#
|
165
|
+
# @option options [String] :profile ("default")
|
166
|
+
# Used when loading credentials from the shared credentials file
|
167
|
+
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
168
|
+
#
|
169
|
+
# @option options [Float] :retry_base_delay (0.3)
|
170
|
+
# The base delay in seconds used by the default backoff function.
|
171
|
+
#
|
172
|
+
# @option options [Symbol] :retry_jitter (:none)
|
173
|
+
# A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
|
174
|
+
#
|
175
|
+
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
176
|
+
#
|
177
|
+
# @option options [Integer] :retry_limit (3)
|
178
|
+
# The maximum number of times to retry failed requests. Only
|
179
|
+
# ~ 500 level server errors and certain ~ 400 level client errors
|
180
|
+
# are retried. Generally, these are throttling errors, data
|
181
|
+
# checksum errors, networking errors, timeout errors and auth
|
182
|
+
# errors from expired credentials.
|
183
|
+
#
|
184
|
+
# @option options [Integer] :retry_max_delay (0)
|
185
|
+
# The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
|
186
|
+
#
|
187
|
+
# @option options [String] :secret_access_key
|
188
|
+
#
|
189
|
+
# @option options [String] :session_token
|
190
|
+
#
|
191
|
+
# @option options [Boolean] :stub_responses (false)
|
192
|
+
# Causes the client to return stubbed responses. By default
|
193
|
+
# fake responses are generated and returned. You can specify
|
194
|
+
# the response data to return or errors to raise by calling
|
195
|
+
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
|
196
|
+
#
|
197
|
+
# ** Please note ** When response stubbing is enabled, no HTTP
|
198
|
+
# requests are made, and retries are disabled.
|
199
|
+
#
|
200
|
+
# @option options [Boolean] :validate_params (true)
|
201
|
+
# When `true`, request parameters are validated before
|
202
|
+
# sending the request.
|
203
|
+
#
|
204
|
+
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
205
|
+
# requests through. Formatted like 'http://proxy.com:123'.
|
206
|
+
#
|
207
|
+
# @option options [Float] :http_open_timeout (15) The number of
|
208
|
+
# seconds to wait when opening a HTTP session before rasing a
|
209
|
+
# `Timeout::Error`.
|
210
|
+
#
|
211
|
+
# @option options [Integer] :http_read_timeout (60) The default
|
212
|
+
# number of seconds to wait for response data. This value can
|
213
|
+
# safely be set
|
214
|
+
# per-request on the session yeidled by {#session_for}.
|
215
|
+
#
|
216
|
+
# @option options [Float] :http_idle_timeout (5) The number of
|
217
|
+
# seconds a connection is allowed to sit idble before it is
|
218
|
+
# considered stale. Stale connections are closed and removed
|
219
|
+
# from the pool before making a request.
|
220
|
+
#
|
221
|
+
# @option options [Float] :http_continue_timeout (1) The number of
|
222
|
+
# seconds to wait for a 100-continue response before sending the
|
223
|
+
# request body. This option has no effect unless the request has
|
224
|
+
# "Expect" header set to "100-continue". Defaults to `nil` which
|
225
|
+
# disables this behaviour. This value can safely be set per
|
226
|
+
# request on the session yeidled by {#session_for}.
|
227
|
+
#
|
228
|
+
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
229
|
+
# HTTP debug output will be sent to the `:logger`.
|
230
|
+
#
|
231
|
+
# @option options [Boolean] :ssl_verify_peer (true) When `true`,
|
232
|
+
# SSL peer certificates are verified when establishing a
|
233
|
+
# connection.
|
234
|
+
#
|
235
|
+
# @option options [String] :ssl_ca_bundle Full path to the SSL
|
236
|
+
# certificate authority bundle file that should be used when
|
237
|
+
# verifying peer certificates. If you do not pass
|
238
|
+
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
239
|
+
# will be used if available.
|
240
|
+
#
|
241
|
+
# @option options [String] :ssl_ca_directory Full path of the
|
242
|
+
# directory that contains the unbundled SSL certificate
|
243
|
+
# authority files for verifying peer certificates. If you do
|
244
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
245
|
+
# system default will be used if available.
|
246
|
+
#
|
247
|
+
def initialize(*args)
|
248
|
+
super
|
249
|
+
end
|
250
|
+
|
251
|
+
# @!group API Operations
|
252
|
+
|
253
|
+
# Creates a new MediaPackage VOD Asset resource.
|
254
|
+
#
|
255
|
+
# @option params [required, String] :id
|
256
|
+
#
|
257
|
+
# @option params [required, String] :packaging_group_id
|
258
|
+
#
|
259
|
+
# @option params [String] :resource_id
|
260
|
+
#
|
261
|
+
# @option params [required, String] :source_arn
|
262
|
+
#
|
263
|
+
# @option params [required, String] :source_role_arn
|
264
|
+
#
|
265
|
+
# @return [Types::CreateAssetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
266
|
+
#
|
267
|
+
# * {Types::CreateAssetResponse#arn #arn} => String
|
268
|
+
# * {Types::CreateAssetResponse#egress_endpoints #egress_endpoints} => Array<Types::EgressEndpoint>
|
269
|
+
# * {Types::CreateAssetResponse#id #id} => String
|
270
|
+
# * {Types::CreateAssetResponse#packaging_group_id #packaging_group_id} => String
|
271
|
+
# * {Types::CreateAssetResponse#resource_id #resource_id} => String
|
272
|
+
# * {Types::CreateAssetResponse#source_arn #source_arn} => String
|
273
|
+
# * {Types::CreateAssetResponse#source_role_arn #source_role_arn} => String
|
274
|
+
#
|
275
|
+
# @example Request syntax with placeholder values
|
276
|
+
#
|
277
|
+
# resp = client.create_asset({
|
278
|
+
# id: "__string", # required
|
279
|
+
# packaging_group_id: "__string", # required
|
280
|
+
# resource_id: "__string",
|
281
|
+
# source_arn: "__string", # required
|
282
|
+
# source_role_arn: "__string", # required
|
283
|
+
# })
|
284
|
+
#
|
285
|
+
# @example Response structure
|
286
|
+
#
|
287
|
+
# resp.arn #=> String
|
288
|
+
# resp.egress_endpoints #=> Array
|
289
|
+
# resp.egress_endpoints[0].packaging_configuration_id #=> String
|
290
|
+
# resp.egress_endpoints[0].url #=> String
|
291
|
+
# resp.id #=> String
|
292
|
+
# resp.packaging_group_id #=> String
|
293
|
+
# resp.resource_id #=> String
|
294
|
+
# resp.source_arn #=> String
|
295
|
+
# resp.source_role_arn #=> String
|
296
|
+
#
|
297
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreateAsset AWS API Documentation
|
298
|
+
#
|
299
|
+
# @overload create_asset(params = {})
|
300
|
+
# @param [Hash] params ({})
|
301
|
+
def create_asset(params = {}, options = {})
|
302
|
+
req = build_request(:create_asset, params)
|
303
|
+
req.send_request(options)
|
304
|
+
end
|
305
|
+
|
306
|
+
# Creates a new MediaPackage VOD PackagingConfiguration resource.
|
307
|
+
#
|
308
|
+
# @option params [Types::CmafPackage] :cmaf_package
|
309
|
+
# A CMAF packaging configuration.
|
310
|
+
#
|
311
|
+
# @option params [Types::DashPackage] :dash_package
|
312
|
+
# A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
|
313
|
+
#
|
314
|
+
# @option params [Types::HlsPackage] :hls_package
|
315
|
+
# An HTTP Live Streaming (HLS) packaging configuration.
|
316
|
+
#
|
317
|
+
# @option params [required, String] :id
|
318
|
+
#
|
319
|
+
# @option params [Types::MssPackage] :mss_package
|
320
|
+
# A Microsoft Smooth Streaming (MSS) PackagingConfiguration.
|
321
|
+
#
|
322
|
+
# @option params [required, String] :packaging_group_id
|
323
|
+
#
|
324
|
+
# @return [Types::CreatePackagingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
325
|
+
#
|
326
|
+
# * {Types::CreatePackagingConfigurationResponse#arn #arn} => String
|
327
|
+
# * {Types::CreatePackagingConfigurationResponse#cmaf_package #cmaf_package} => Types::CmafPackage
|
328
|
+
# * {Types::CreatePackagingConfigurationResponse#dash_package #dash_package} => Types::DashPackage
|
329
|
+
# * {Types::CreatePackagingConfigurationResponse#hls_package #hls_package} => Types::HlsPackage
|
330
|
+
# * {Types::CreatePackagingConfigurationResponse#id #id} => String
|
331
|
+
# * {Types::CreatePackagingConfigurationResponse#mss_package #mss_package} => Types::MssPackage
|
332
|
+
# * {Types::CreatePackagingConfigurationResponse#packaging_group_id #packaging_group_id} => String
|
333
|
+
#
|
334
|
+
# @example Request syntax with placeholder values
|
335
|
+
#
|
336
|
+
# resp = client.create_packaging_configuration({
|
337
|
+
# cmaf_package: {
|
338
|
+
# encryption: {
|
339
|
+
# speke_key_provider: { # required
|
340
|
+
# role_arn: "__string", # required
|
341
|
+
# system_ids: ["__string"], # required
|
342
|
+
# url: "__string", # required
|
343
|
+
# },
|
344
|
+
# },
|
345
|
+
# hls_manifests: [ # required
|
346
|
+
# {
|
347
|
+
# ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
|
348
|
+
# include_iframe_only_stream: false,
|
349
|
+
# manifest_name: "__string",
|
350
|
+
# program_date_time_interval_seconds: 1,
|
351
|
+
# repeat_ext_x_key: false,
|
352
|
+
# stream_selection: {
|
353
|
+
# max_video_bits_per_second: 1,
|
354
|
+
# min_video_bits_per_second: 1,
|
355
|
+
# stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
|
356
|
+
# },
|
357
|
+
# },
|
358
|
+
# ],
|
359
|
+
# segment_duration_seconds: 1,
|
360
|
+
# },
|
361
|
+
# dash_package: {
|
362
|
+
# dash_manifests: [ # required
|
363
|
+
# {
|
364
|
+
# manifest_name: "__string",
|
365
|
+
# min_buffer_time_seconds: 1,
|
366
|
+
# profile: "NONE", # accepts NONE, HBBTV_1_5
|
367
|
+
# stream_selection: {
|
368
|
+
# max_video_bits_per_second: 1,
|
369
|
+
# min_video_bits_per_second: 1,
|
370
|
+
# stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
|
371
|
+
# },
|
372
|
+
# },
|
373
|
+
# ],
|
374
|
+
# encryption: {
|
375
|
+
# speke_key_provider: { # required
|
376
|
+
# role_arn: "__string", # required
|
377
|
+
# system_ids: ["__string"], # required
|
378
|
+
# url: "__string", # required
|
379
|
+
# },
|
380
|
+
# },
|
381
|
+
# segment_duration_seconds: 1,
|
382
|
+
# },
|
383
|
+
# hls_package: {
|
384
|
+
# encryption: {
|
385
|
+
# encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
|
386
|
+
# speke_key_provider: { # required
|
387
|
+
# role_arn: "__string", # required
|
388
|
+
# system_ids: ["__string"], # required
|
389
|
+
# url: "__string", # required
|
390
|
+
# },
|
391
|
+
# },
|
392
|
+
# hls_manifests: [ # required
|
393
|
+
# {
|
394
|
+
# ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
|
395
|
+
# include_iframe_only_stream: false,
|
396
|
+
# manifest_name: "__string",
|
397
|
+
# program_date_time_interval_seconds: 1,
|
398
|
+
# repeat_ext_x_key: false,
|
399
|
+
# stream_selection: {
|
400
|
+
# max_video_bits_per_second: 1,
|
401
|
+
# min_video_bits_per_second: 1,
|
402
|
+
# stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
|
403
|
+
# },
|
404
|
+
# },
|
405
|
+
# ],
|
406
|
+
# segment_duration_seconds: 1,
|
407
|
+
# use_audio_rendition_group: false,
|
408
|
+
# },
|
409
|
+
# id: "__string", # required
|
410
|
+
# mss_package: {
|
411
|
+
# encryption: {
|
412
|
+
# speke_key_provider: { # required
|
413
|
+
# role_arn: "__string", # required
|
414
|
+
# system_ids: ["__string"], # required
|
415
|
+
# url: "__string", # required
|
416
|
+
# },
|
417
|
+
# },
|
418
|
+
# mss_manifests: [ # required
|
419
|
+
# {
|
420
|
+
# manifest_name: "__string",
|
421
|
+
# stream_selection: {
|
422
|
+
# max_video_bits_per_second: 1,
|
423
|
+
# min_video_bits_per_second: 1,
|
424
|
+
# stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
|
425
|
+
# },
|
426
|
+
# },
|
427
|
+
# ],
|
428
|
+
# segment_duration_seconds: 1,
|
429
|
+
# },
|
430
|
+
# packaging_group_id: "__string", # required
|
431
|
+
# })
|
432
|
+
#
|
433
|
+
# @example Response structure
|
434
|
+
#
|
435
|
+
# resp.arn #=> String
|
436
|
+
# resp.cmaf_package.encryption.speke_key_provider.role_arn #=> String
|
437
|
+
# resp.cmaf_package.encryption.speke_key_provider.system_ids #=> Array
|
438
|
+
# resp.cmaf_package.encryption.speke_key_provider.system_ids[0] #=> String
|
439
|
+
# resp.cmaf_package.encryption.speke_key_provider.url #=> String
|
440
|
+
# resp.cmaf_package.hls_manifests #=> Array
|
441
|
+
# resp.cmaf_package.hls_manifests[0].ad_markers #=> String, one of "NONE", "SCTE35_ENHANCED", "PASSTHROUGH"
|
442
|
+
# resp.cmaf_package.hls_manifests[0].include_iframe_only_stream #=> Boolean
|
443
|
+
# resp.cmaf_package.hls_manifests[0].manifest_name #=> String
|
444
|
+
# resp.cmaf_package.hls_manifests[0].program_date_time_interval_seconds #=> Integer
|
445
|
+
# resp.cmaf_package.hls_manifests[0].repeat_ext_x_key #=> Boolean
|
446
|
+
# resp.cmaf_package.hls_manifests[0].stream_selection.max_video_bits_per_second #=> Integer
|
447
|
+
# resp.cmaf_package.hls_manifests[0].stream_selection.min_video_bits_per_second #=> Integer
|
448
|
+
# resp.cmaf_package.hls_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
449
|
+
# resp.cmaf_package.segment_duration_seconds #=> Integer
|
450
|
+
# resp.dash_package.dash_manifests #=> Array
|
451
|
+
# resp.dash_package.dash_manifests[0].manifest_name #=> String
|
452
|
+
# resp.dash_package.dash_manifests[0].min_buffer_time_seconds #=> Integer
|
453
|
+
# resp.dash_package.dash_manifests[0].profile #=> String, one of "NONE", "HBBTV_1_5"
|
454
|
+
# resp.dash_package.dash_manifests[0].stream_selection.max_video_bits_per_second #=> Integer
|
455
|
+
# resp.dash_package.dash_manifests[0].stream_selection.min_video_bits_per_second #=> Integer
|
456
|
+
# resp.dash_package.dash_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
457
|
+
# resp.dash_package.encryption.speke_key_provider.role_arn #=> String
|
458
|
+
# resp.dash_package.encryption.speke_key_provider.system_ids #=> Array
|
459
|
+
# resp.dash_package.encryption.speke_key_provider.system_ids[0] #=> String
|
460
|
+
# resp.dash_package.encryption.speke_key_provider.url #=> String
|
461
|
+
# resp.dash_package.segment_duration_seconds #=> Integer
|
462
|
+
# resp.hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
463
|
+
# resp.hls_package.encryption.speke_key_provider.role_arn #=> String
|
464
|
+
# resp.hls_package.encryption.speke_key_provider.system_ids #=> Array
|
465
|
+
# resp.hls_package.encryption.speke_key_provider.system_ids[0] #=> String
|
466
|
+
# resp.hls_package.encryption.speke_key_provider.url #=> String
|
467
|
+
# resp.hls_package.hls_manifests #=> Array
|
468
|
+
# resp.hls_package.hls_manifests[0].ad_markers #=> String, one of "NONE", "SCTE35_ENHANCED", "PASSTHROUGH"
|
469
|
+
# resp.hls_package.hls_manifests[0].include_iframe_only_stream #=> Boolean
|
470
|
+
# resp.hls_package.hls_manifests[0].manifest_name #=> String
|
471
|
+
# resp.hls_package.hls_manifests[0].program_date_time_interval_seconds #=> Integer
|
472
|
+
# resp.hls_package.hls_manifests[0].repeat_ext_x_key #=> Boolean
|
473
|
+
# resp.hls_package.hls_manifests[0].stream_selection.max_video_bits_per_second #=> Integer
|
474
|
+
# resp.hls_package.hls_manifests[0].stream_selection.min_video_bits_per_second #=> Integer
|
475
|
+
# resp.hls_package.hls_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
476
|
+
# resp.hls_package.segment_duration_seconds #=> Integer
|
477
|
+
# resp.hls_package.use_audio_rendition_group #=> Boolean
|
478
|
+
# resp.id #=> String
|
479
|
+
# resp.mss_package.encryption.speke_key_provider.role_arn #=> String
|
480
|
+
# resp.mss_package.encryption.speke_key_provider.system_ids #=> Array
|
481
|
+
# resp.mss_package.encryption.speke_key_provider.system_ids[0] #=> String
|
482
|
+
# resp.mss_package.encryption.speke_key_provider.url #=> String
|
483
|
+
# resp.mss_package.mss_manifests #=> Array
|
484
|
+
# resp.mss_package.mss_manifests[0].manifest_name #=> String
|
485
|
+
# resp.mss_package.mss_manifests[0].stream_selection.max_video_bits_per_second #=> Integer
|
486
|
+
# resp.mss_package.mss_manifests[0].stream_selection.min_video_bits_per_second #=> Integer
|
487
|
+
# resp.mss_package.mss_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
488
|
+
# resp.mss_package.segment_duration_seconds #=> Integer
|
489
|
+
# resp.packaging_group_id #=> String
|
490
|
+
#
|
491
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingConfiguration AWS API Documentation
|
492
|
+
#
|
493
|
+
# @overload create_packaging_configuration(params = {})
|
494
|
+
# @param [Hash] params ({})
|
495
|
+
def create_packaging_configuration(params = {}, options = {})
|
496
|
+
req = build_request(:create_packaging_configuration, params)
|
497
|
+
req.send_request(options)
|
498
|
+
end
|
499
|
+
|
500
|
+
# Creates a new MediaPackage VOD PackagingGroup resource.
|
501
|
+
#
|
502
|
+
# @option params [required, String] :id
|
503
|
+
#
|
504
|
+
# @return [Types::CreatePackagingGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
505
|
+
#
|
506
|
+
# * {Types::CreatePackagingGroupResponse#arn #arn} => String
|
507
|
+
# * {Types::CreatePackagingGroupResponse#id #id} => String
|
508
|
+
#
|
509
|
+
# @example Request syntax with placeholder values
|
510
|
+
#
|
511
|
+
# resp = client.create_packaging_group({
|
512
|
+
# id: "__string", # required
|
513
|
+
# })
|
514
|
+
#
|
515
|
+
# @example Response structure
|
516
|
+
#
|
517
|
+
# resp.arn #=> String
|
518
|
+
# resp.id #=> String
|
519
|
+
#
|
520
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingGroup AWS API Documentation
|
521
|
+
#
|
522
|
+
# @overload create_packaging_group(params = {})
|
523
|
+
# @param [Hash] params ({})
|
524
|
+
def create_packaging_group(params = {}, options = {})
|
525
|
+
req = build_request(:create_packaging_group, params)
|
526
|
+
req.send_request(options)
|
527
|
+
end
|
528
|
+
|
529
|
+
# Deletes an existing MediaPackage VOD Asset resource.
|
530
|
+
#
|
531
|
+
# @option params [required, String] :id
|
532
|
+
#
|
533
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
534
|
+
#
|
535
|
+
# @example Request syntax with placeholder values
|
536
|
+
#
|
537
|
+
# resp = client.delete_asset({
|
538
|
+
# id: "__string", # required
|
539
|
+
# })
|
540
|
+
#
|
541
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DeleteAsset AWS API Documentation
|
542
|
+
#
|
543
|
+
# @overload delete_asset(params = {})
|
544
|
+
# @param [Hash] params ({})
|
545
|
+
def delete_asset(params = {}, options = {})
|
546
|
+
req = build_request(:delete_asset, params)
|
547
|
+
req.send_request(options)
|
548
|
+
end
|
549
|
+
|
550
|
+
# Deletes a MediaPackage VOD PackagingConfiguration resource.
|
551
|
+
#
|
552
|
+
# @option params [required, String] :id
|
553
|
+
#
|
554
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
555
|
+
#
|
556
|
+
# @example Request syntax with placeholder values
|
557
|
+
#
|
558
|
+
# resp = client.delete_packaging_configuration({
|
559
|
+
# id: "__string", # required
|
560
|
+
# })
|
561
|
+
#
|
562
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DeletePackagingConfiguration AWS API Documentation
|
563
|
+
#
|
564
|
+
# @overload delete_packaging_configuration(params = {})
|
565
|
+
# @param [Hash] params ({})
|
566
|
+
def delete_packaging_configuration(params = {}, options = {})
|
567
|
+
req = build_request(:delete_packaging_configuration, params)
|
568
|
+
req.send_request(options)
|
569
|
+
end
|
570
|
+
|
571
|
+
# Deletes a MediaPackage VOD PackagingGroup resource.
|
572
|
+
#
|
573
|
+
# @option params [required, String] :id
|
574
|
+
#
|
575
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
576
|
+
#
|
577
|
+
# @example Request syntax with placeholder values
|
578
|
+
#
|
579
|
+
# resp = client.delete_packaging_group({
|
580
|
+
# id: "__string", # required
|
581
|
+
# })
|
582
|
+
#
|
583
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DeletePackagingGroup AWS API Documentation
|
584
|
+
#
|
585
|
+
# @overload delete_packaging_group(params = {})
|
586
|
+
# @param [Hash] params ({})
|
587
|
+
def delete_packaging_group(params = {}, options = {})
|
588
|
+
req = build_request(:delete_packaging_group, params)
|
589
|
+
req.send_request(options)
|
590
|
+
end
|
591
|
+
|
592
|
+
# Returns a description of a MediaPackage VOD Asset resource.
|
593
|
+
#
|
594
|
+
# @option params [required, String] :id
|
595
|
+
#
|
596
|
+
# @return [Types::DescribeAssetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
597
|
+
#
|
598
|
+
# * {Types::DescribeAssetResponse#arn #arn} => String
|
599
|
+
# * {Types::DescribeAssetResponse#egress_endpoints #egress_endpoints} => Array<Types::EgressEndpoint>
|
600
|
+
# * {Types::DescribeAssetResponse#id #id} => String
|
601
|
+
# * {Types::DescribeAssetResponse#packaging_group_id #packaging_group_id} => String
|
602
|
+
# * {Types::DescribeAssetResponse#resource_id #resource_id} => String
|
603
|
+
# * {Types::DescribeAssetResponse#source_arn #source_arn} => String
|
604
|
+
# * {Types::DescribeAssetResponse#source_role_arn #source_role_arn} => String
|
605
|
+
#
|
606
|
+
# @example Request syntax with placeholder values
|
607
|
+
#
|
608
|
+
# resp = client.describe_asset({
|
609
|
+
# id: "__string", # required
|
610
|
+
# })
|
611
|
+
#
|
612
|
+
# @example Response structure
|
613
|
+
#
|
614
|
+
# resp.arn #=> String
|
615
|
+
# resp.egress_endpoints #=> Array
|
616
|
+
# resp.egress_endpoints[0].packaging_configuration_id #=> String
|
617
|
+
# resp.egress_endpoints[0].url #=> String
|
618
|
+
# resp.id #=> String
|
619
|
+
# resp.packaging_group_id #=> String
|
620
|
+
# resp.resource_id #=> String
|
621
|
+
# resp.source_arn #=> String
|
622
|
+
# resp.source_role_arn #=> String
|
623
|
+
#
|
624
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribeAsset AWS API Documentation
|
625
|
+
#
|
626
|
+
# @overload describe_asset(params = {})
|
627
|
+
# @param [Hash] params ({})
|
628
|
+
def describe_asset(params = {}, options = {})
|
629
|
+
req = build_request(:describe_asset, params)
|
630
|
+
req.send_request(options)
|
631
|
+
end
|
632
|
+
|
633
|
+
# Returns a description of a MediaPackage VOD PackagingConfiguration
|
634
|
+
# resource.
|
635
|
+
#
|
636
|
+
# @option params [required, String] :id
|
637
|
+
#
|
638
|
+
# @return [Types::DescribePackagingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
639
|
+
#
|
640
|
+
# * {Types::DescribePackagingConfigurationResponse#arn #arn} => String
|
641
|
+
# * {Types::DescribePackagingConfigurationResponse#cmaf_package #cmaf_package} => Types::CmafPackage
|
642
|
+
# * {Types::DescribePackagingConfigurationResponse#dash_package #dash_package} => Types::DashPackage
|
643
|
+
# * {Types::DescribePackagingConfigurationResponse#hls_package #hls_package} => Types::HlsPackage
|
644
|
+
# * {Types::DescribePackagingConfigurationResponse#id #id} => String
|
645
|
+
# * {Types::DescribePackagingConfigurationResponse#mss_package #mss_package} => Types::MssPackage
|
646
|
+
# * {Types::DescribePackagingConfigurationResponse#packaging_group_id #packaging_group_id} => String
|
647
|
+
#
|
648
|
+
# @example Request syntax with placeholder values
|
649
|
+
#
|
650
|
+
# resp = client.describe_packaging_configuration({
|
651
|
+
# id: "__string", # required
|
652
|
+
# })
|
653
|
+
#
|
654
|
+
# @example Response structure
|
655
|
+
#
|
656
|
+
# resp.arn #=> String
|
657
|
+
# resp.cmaf_package.encryption.speke_key_provider.role_arn #=> String
|
658
|
+
# resp.cmaf_package.encryption.speke_key_provider.system_ids #=> Array
|
659
|
+
# resp.cmaf_package.encryption.speke_key_provider.system_ids[0] #=> String
|
660
|
+
# resp.cmaf_package.encryption.speke_key_provider.url #=> String
|
661
|
+
# resp.cmaf_package.hls_manifests #=> Array
|
662
|
+
# resp.cmaf_package.hls_manifests[0].ad_markers #=> String, one of "NONE", "SCTE35_ENHANCED", "PASSTHROUGH"
|
663
|
+
# resp.cmaf_package.hls_manifests[0].include_iframe_only_stream #=> Boolean
|
664
|
+
# resp.cmaf_package.hls_manifests[0].manifest_name #=> String
|
665
|
+
# resp.cmaf_package.hls_manifests[0].program_date_time_interval_seconds #=> Integer
|
666
|
+
# resp.cmaf_package.hls_manifests[0].repeat_ext_x_key #=> Boolean
|
667
|
+
# resp.cmaf_package.hls_manifests[0].stream_selection.max_video_bits_per_second #=> Integer
|
668
|
+
# resp.cmaf_package.hls_manifests[0].stream_selection.min_video_bits_per_second #=> Integer
|
669
|
+
# resp.cmaf_package.hls_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
670
|
+
# resp.cmaf_package.segment_duration_seconds #=> Integer
|
671
|
+
# resp.dash_package.dash_manifests #=> Array
|
672
|
+
# resp.dash_package.dash_manifests[0].manifest_name #=> String
|
673
|
+
# resp.dash_package.dash_manifests[0].min_buffer_time_seconds #=> Integer
|
674
|
+
# resp.dash_package.dash_manifests[0].profile #=> String, one of "NONE", "HBBTV_1_5"
|
675
|
+
# resp.dash_package.dash_manifests[0].stream_selection.max_video_bits_per_second #=> Integer
|
676
|
+
# resp.dash_package.dash_manifests[0].stream_selection.min_video_bits_per_second #=> Integer
|
677
|
+
# resp.dash_package.dash_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
678
|
+
# resp.dash_package.encryption.speke_key_provider.role_arn #=> String
|
679
|
+
# resp.dash_package.encryption.speke_key_provider.system_ids #=> Array
|
680
|
+
# resp.dash_package.encryption.speke_key_provider.system_ids[0] #=> String
|
681
|
+
# resp.dash_package.encryption.speke_key_provider.url #=> String
|
682
|
+
# resp.dash_package.segment_duration_seconds #=> Integer
|
683
|
+
# resp.hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
684
|
+
# resp.hls_package.encryption.speke_key_provider.role_arn #=> String
|
685
|
+
# resp.hls_package.encryption.speke_key_provider.system_ids #=> Array
|
686
|
+
# resp.hls_package.encryption.speke_key_provider.system_ids[0] #=> String
|
687
|
+
# resp.hls_package.encryption.speke_key_provider.url #=> String
|
688
|
+
# resp.hls_package.hls_manifests #=> Array
|
689
|
+
# resp.hls_package.hls_manifests[0].ad_markers #=> String, one of "NONE", "SCTE35_ENHANCED", "PASSTHROUGH"
|
690
|
+
# resp.hls_package.hls_manifests[0].include_iframe_only_stream #=> Boolean
|
691
|
+
# resp.hls_package.hls_manifests[0].manifest_name #=> String
|
692
|
+
# resp.hls_package.hls_manifests[0].program_date_time_interval_seconds #=> Integer
|
693
|
+
# resp.hls_package.hls_manifests[0].repeat_ext_x_key #=> Boolean
|
694
|
+
# resp.hls_package.hls_manifests[0].stream_selection.max_video_bits_per_second #=> Integer
|
695
|
+
# resp.hls_package.hls_manifests[0].stream_selection.min_video_bits_per_second #=> Integer
|
696
|
+
# resp.hls_package.hls_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
697
|
+
# resp.hls_package.segment_duration_seconds #=> Integer
|
698
|
+
# resp.hls_package.use_audio_rendition_group #=> Boolean
|
699
|
+
# resp.id #=> String
|
700
|
+
# resp.mss_package.encryption.speke_key_provider.role_arn #=> String
|
701
|
+
# resp.mss_package.encryption.speke_key_provider.system_ids #=> Array
|
702
|
+
# resp.mss_package.encryption.speke_key_provider.system_ids[0] #=> String
|
703
|
+
# resp.mss_package.encryption.speke_key_provider.url #=> String
|
704
|
+
# resp.mss_package.mss_manifests #=> Array
|
705
|
+
# resp.mss_package.mss_manifests[0].manifest_name #=> String
|
706
|
+
# resp.mss_package.mss_manifests[0].stream_selection.max_video_bits_per_second #=> Integer
|
707
|
+
# resp.mss_package.mss_manifests[0].stream_selection.min_video_bits_per_second #=> Integer
|
708
|
+
# resp.mss_package.mss_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
709
|
+
# resp.mss_package.segment_duration_seconds #=> Integer
|
710
|
+
# resp.packaging_group_id #=> String
|
711
|
+
#
|
712
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingConfiguration AWS API Documentation
|
713
|
+
#
|
714
|
+
# @overload describe_packaging_configuration(params = {})
|
715
|
+
# @param [Hash] params ({})
|
716
|
+
def describe_packaging_configuration(params = {}, options = {})
|
717
|
+
req = build_request(:describe_packaging_configuration, params)
|
718
|
+
req.send_request(options)
|
719
|
+
end
|
720
|
+
|
721
|
+
# Returns a description of a MediaPackage VOD PackagingGroup resource.
|
722
|
+
#
|
723
|
+
# @option params [required, String] :id
|
724
|
+
#
|
725
|
+
# @return [Types::DescribePackagingGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
726
|
+
#
|
727
|
+
# * {Types::DescribePackagingGroupResponse#arn #arn} => String
|
728
|
+
# * {Types::DescribePackagingGroupResponse#id #id} => String
|
729
|
+
#
|
730
|
+
# @example Request syntax with placeholder values
|
731
|
+
#
|
732
|
+
# resp = client.describe_packaging_group({
|
733
|
+
# id: "__string", # required
|
734
|
+
# })
|
735
|
+
#
|
736
|
+
# @example Response structure
|
737
|
+
#
|
738
|
+
# resp.arn #=> String
|
739
|
+
# resp.id #=> String
|
740
|
+
#
|
741
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingGroup AWS API Documentation
|
742
|
+
#
|
743
|
+
# @overload describe_packaging_group(params = {})
|
744
|
+
# @param [Hash] params ({})
|
745
|
+
def describe_packaging_group(params = {}, options = {})
|
746
|
+
req = build_request(:describe_packaging_group, params)
|
747
|
+
req.send_request(options)
|
748
|
+
end
|
749
|
+
|
750
|
+
# Returns a collection of MediaPackage VOD Asset resources.
|
751
|
+
#
|
752
|
+
# @option params [Integer] :max_results
|
753
|
+
#
|
754
|
+
# @option params [String] :next_token
|
755
|
+
#
|
756
|
+
# @option params [String] :packaging_group_id
|
757
|
+
#
|
758
|
+
# @return [Types::ListAssetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
759
|
+
#
|
760
|
+
# * {Types::ListAssetsResponse#assets #assets} => Array<Types::AssetShallow>
|
761
|
+
# * {Types::ListAssetsResponse#next_token #next_token} => String
|
762
|
+
#
|
763
|
+
# @example Request syntax with placeholder values
|
764
|
+
#
|
765
|
+
# resp = client.list_assets({
|
766
|
+
# max_results: 1,
|
767
|
+
# next_token: "__string",
|
768
|
+
# packaging_group_id: "__string",
|
769
|
+
# })
|
770
|
+
#
|
771
|
+
# @example Response structure
|
772
|
+
#
|
773
|
+
# resp.assets #=> Array
|
774
|
+
# resp.assets[0].arn #=> String
|
775
|
+
# resp.assets[0].id #=> String
|
776
|
+
# resp.assets[0].packaging_group_id #=> String
|
777
|
+
# resp.assets[0].resource_id #=> String
|
778
|
+
# resp.assets[0].source_arn #=> String
|
779
|
+
# resp.assets[0].source_role_arn #=> String
|
780
|
+
# resp.next_token #=> String
|
781
|
+
#
|
782
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListAssets AWS API Documentation
|
783
|
+
#
|
784
|
+
# @overload list_assets(params = {})
|
785
|
+
# @param [Hash] params ({})
|
786
|
+
def list_assets(params = {}, options = {})
|
787
|
+
req = build_request(:list_assets, params)
|
788
|
+
req.send_request(options)
|
789
|
+
end
|
790
|
+
|
791
|
+
# Returns a collection of MediaPackage VOD PackagingConfiguration
|
792
|
+
# resources.
|
793
|
+
#
|
794
|
+
# @option params [Integer] :max_results
|
795
|
+
#
|
796
|
+
# @option params [String] :next_token
|
797
|
+
#
|
798
|
+
# @option params [String] :packaging_group_id
|
799
|
+
#
|
800
|
+
# @return [Types::ListPackagingConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
801
|
+
#
|
802
|
+
# * {Types::ListPackagingConfigurationsResponse#next_token #next_token} => String
|
803
|
+
# * {Types::ListPackagingConfigurationsResponse#packaging_configurations #packaging_configurations} => Array<Types::PackagingConfiguration>
|
804
|
+
#
|
805
|
+
# @example Request syntax with placeholder values
|
806
|
+
#
|
807
|
+
# resp = client.list_packaging_configurations({
|
808
|
+
# max_results: 1,
|
809
|
+
# next_token: "__string",
|
810
|
+
# packaging_group_id: "__string",
|
811
|
+
# })
|
812
|
+
#
|
813
|
+
# @example Response structure
|
814
|
+
#
|
815
|
+
# resp.next_token #=> String
|
816
|
+
# resp.packaging_configurations #=> Array
|
817
|
+
# resp.packaging_configurations[0].arn #=> String
|
818
|
+
# resp.packaging_configurations[0].cmaf_package.encryption.speke_key_provider.role_arn #=> String
|
819
|
+
# resp.packaging_configurations[0].cmaf_package.encryption.speke_key_provider.system_ids #=> Array
|
820
|
+
# resp.packaging_configurations[0].cmaf_package.encryption.speke_key_provider.system_ids[0] #=> String
|
821
|
+
# resp.packaging_configurations[0].cmaf_package.encryption.speke_key_provider.url #=> String
|
822
|
+
# resp.packaging_configurations[0].cmaf_package.hls_manifests #=> Array
|
823
|
+
# resp.packaging_configurations[0].cmaf_package.hls_manifests[0].ad_markers #=> String, one of "NONE", "SCTE35_ENHANCED", "PASSTHROUGH"
|
824
|
+
# resp.packaging_configurations[0].cmaf_package.hls_manifests[0].include_iframe_only_stream #=> Boolean
|
825
|
+
# resp.packaging_configurations[0].cmaf_package.hls_manifests[0].manifest_name #=> String
|
826
|
+
# resp.packaging_configurations[0].cmaf_package.hls_manifests[0].program_date_time_interval_seconds #=> Integer
|
827
|
+
# resp.packaging_configurations[0].cmaf_package.hls_manifests[0].repeat_ext_x_key #=> Boolean
|
828
|
+
# resp.packaging_configurations[0].cmaf_package.hls_manifests[0].stream_selection.max_video_bits_per_second #=> Integer
|
829
|
+
# resp.packaging_configurations[0].cmaf_package.hls_manifests[0].stream_selection.min_video_bits_per_second #=> Integer
|
830
|
+
# resp.packaging_configurations[0].cmaf_package.hls_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
831
|
+
# resp.packaging_configurations[0].cmaf_package.segment_duration_seconds #=> Integer
|
832
|
+
# resp.packaging_configurations[0].dash_package.dash_manifests #=> Array
|
833
|
+
# resp.packaging_configurations[0].dash_package.dash_manifests[0].manifest_name #=> String
|
834
|
+
# resp.packaging_configurations[0].dash_package.dash_manifests[0].min_buffer_time_seconds #=> Integer
|
835
|
+
# resp.packaging_configurations[0].dash_package.dash_manifests[0].profile #=> String, one of "NONE", "HBBTV_1_5"
|
836
|
+
# resp.packaging_configurations[0].dash_package.dash_manifests[0].stream_selection.max_video_bits_per_second #=> Integer
|
837
|
+
# resp.packaging_configurations[0].dash_package.dash_manifests[0].stream_selection.min_video_bits_per_second #=> Integer
|
838
|
+
# resp.packaging_configurations[0].dash_package.dash_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
839
|
+
# resp.packaging_configurations[0].dash_package.encryption.speke_key_provider.role_arn #=> String
|
840
|
+
# resp.packaging_configurations[0].dash_package.encryption.speke_key_provider.system_ids #=> Array
|
841
|
+
# resp.packaging_configurations[0].dash_package.encryption.speke_key_provider.system_ids[0] #=> String
|
842
|
+
# resp.packaging_configurations[0].dash_package.encryption.speke_key_provider.url #=> String
|
843
|
+
# resp.packaging_configurations[0].dash_package.segment_duration_seconds #=> Integer
|
844
|
+
# resp.packaging_configurations[0].hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
845
|
+
# resp.packaging_configurations[0].hls_package.encryption.speke_key_provider.role_arn #=> String
|
846
|
+
# resp.packaging_configurations[0].hls_package.encryption.speke_key_provider.system_ids #=> Array
|
847
|
+
# resp.packaging_configurations[0].hls_package.encryption.speke_key_provider.system_ids[0] #=> String
|
848
|
+
# resp.packaging_configurations[0].hls_package.encryption.speke_key_provider.url #=> String
|
849
|
+
# resp.packaging_configurations[0].hls_package.hls_manifests #=> Array
|
850
|
+
# resp.packaging_configurations[0].hls_package.hls_manifests[0].ad_markers #=> String, one of "NONE", "SCTE35_ENHANCED", "PASSTHROUGH"
|
851
|
+
# resp.packaging_configurations[0].hls_package.hls_manifests[0].include_iframe_only_stream #=> Boolean
|
852
|
+
# resp.packaging_configurations[0].hls_package.hls_manifests[0].manifest_name #=> String
|
853
|
+
# resp.packaging_configurations[0].hls_package.hls_manifests[0].program_date_time_interval_seconds #=> Integer
|
854
|
+
# resp.packaging_configurations[0].hls_package.hls_manifests[0].repeat_ext_x_key #=> Boolean
|
855
|
+
# resp.packaging_configurations[0].hls_package.hls_manifests[0].stream_selection.max_video_bits_per_second #=> Integer
|
856
|
+
# resp.packaging_configurations[0].hls_package.hls_manifests[0].stream_selection.min_video_bits_per_second #=> Integer
|
857
|
+
# resp.packaging_configurations[0].hls_package.hls_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
858
|
+
# resp.packaging_configurations[0].hls_package.segment_duration_seconds #=> Integer
|
859
|
+
# resp.packaging_configurations[0].hls_package.use_audio_rendition_group #=> Boolean
|
860
|
+
# resp.packaging_configurations[0].id #=> String
|
861
|
+
# resp.packaging_configurations[0].mss_package.encryption.speke_key_provider.role_arn #=> String
|
862
|
+
# resp.packaging_configurations[0].mss_package.encryption.speke_key_provider.system_ids #=> Array
|
863
|
+
# resp.packaging_configurations[0].mss_package.encryption.speke_key_provider.system_ids[0] #=> String
|
864
|
+
# resp.packaging_configurations[0].mss_package.encryption.speke_key_provider.url #=> String
|
865
|
+
# resp.packaging_configurations[0].mss_package.mss_manifests #=> Array
|
866
|
+
# resp.packaging_configurations[0].mss_package.mss_manifests[0].manifest_name #=> String
|
867
|
+
# resp.packaging_configurations[0].mss_package.mss_manifests[0].stream_selection.max_video_bits_per_second #=> Integer
|
868
|
+
# resp.packaging_configurations[0].mss_package.mss_manifests[0].stream_selection.min_video_bits_per_second #=> Integer
|
869
|
+
# resp.packaging_configurations[0].mss_package.mss_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
870
|
+
# resp.packaging_configurations[0].mss_package.segment_duration_seconds #=> Integer
|
871
|
+
# resp.packaging_configurations[0].packaging_group_id #=> String
|
872
|
+
#
|
873
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingConfigurations AWS API Documentation
|
874
|
+
#
|
875
|
+
# @overload list_packaging_configurations(params = {})
|
876
|
+
# @param [Hash] params ({})
|
877
|
+
def list_packaging_configurations(params = {}, options = {})
|
878
|
+
req = build_request(:list_packaging_configurations, params)
|
879
|
+
req.send_request(options)
|
880
|
+
end
|
881
|
+
|
882
|
+
# Returns a collection of MediaPackage VOD PackagingGroup resources.
|
883
|
+
#
|
884
|
+
# @option params [Integer] :max_results
|
885
|
+
#
|
886
|
+
# @option params [String] :next_token
|
887
|
+
#
|
888
|
+
# @return [Types::ListPackagingGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
889
|
+
#
|
890
|
+
# * {Types::ListPackagingGroupsResponse#next_token #next_token} => String
|
891
|
+
# * {Types::ListPackagingGroupsResponse#packaging_groups #packaging_groups} => Array<Types::PackagingGroup>
|
892
|
+
#
|
893
|
+
# @example Request syntax with placeholder values
|
894
|
+
#
|
895
|
+
# resp = client.list_packaging_groups({
|
896
|
+
# max_results: 1,
|
897
|
+
# next_token: "__string",
|
898
|
+
# })
|
899
|
+
#
|
900
|
+
# @example Response structure
|
901
|
+
#
|
902
|
+
# resp.next_token #=> String
|
903
|
+
# resp.packaging_groups #=> Array
|
904
|
+
# resp.packaging_groups[0].arn #=> String
|
905
|
+
# resp.packaging_groups[0].id #=> String
|
906
|
+
#
|
907
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingGroups AWS API Documentation
|
908
|
+
#
|
909
|
+
# @overload list_packaging_groups(params = {})
|
910
|
+
# @param [Hash] params ({})
|
911
|
+
def list_packaging_groups(params = {}, options = {})
|
912
|
+
req = build_request(:list_packaging_groups, params)
|
913
|
+
req.send_request(options)
|
914
|
+
end
|
915
|
+
|
916
|
+
# @!endgroup
|
917
|
+
|
918
|
+
# @param params ({})
|
919
|
+
# @api private
|
920
|
+
def build_request(operation_name, params = {})
|
921
|
+
handlers = @handlers.for(operation_name)
|
922
|
+
context = Seahorse::Client::RequestContext.new(
|
923
|
+
operation_name: operation_name,
|
924
|
+
operation: config.api.operation(operation_name),
|
925
|
+
client: self,
|
926
|
+
params: params,
|
927
|
+
config: config)
|
928
|
+
context[:gem_name] = 'aws-sdk-mediapackagevod'
|
929
|
+
context[:gem_version] = '1.0.0'
|
930
|
+
Seahorse::Client::Request.new(handlers, context)
|
931
|
+
end
|
932
|
+
|
933
|
+
# @api private
|
934
|
+
# @deprecated
|
935
|
+
def waiter_names
|
936
|
+
[]
|
937
|
+
end
|
938
|
+
|
939
|
+
class << self
|
940
|
+
|
941
|
+
# @api private
|
942
|
+
attr_reader :identifier
|
943
|
+
|
944
|
+
# @api private
|
945
|
+
def errors_module
|
946
|
+
Errors
|
947
|
+
end
|
948
|
+
|
949
|
+
end
|
950
|
+
end
|
951
|
+
end
|