aws-sdk-mediapackagevod 1.8.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-mediapackagevod.rb +7 -4
- data/lib/aws-sdk-mediapackagevod/client.rb +203 -14
- data/lib/aws-sdk-mediapackagevod/client_api.rb +79 -0
- data/lib/aws-sdk-mediapackagevod/errors.rb +28 -6
- data/lib/aws-sdk-mediapackagevod/resource.rb +1 -0
- data/lib/aws-sdk-mediapackagevod/types.rb +226 -17
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: afd2b37bd555a12c39d0ab3f6bbf6f00f0c14d841b2a68a49ead9a26e1bde628
|
4
|
+
data.tar.gz: 06f8c5f5550b486c5d4fd75dfd4b9106b8d2b99069fe821ca3ea575f3ccb5f27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28adcccbd7946645a5229d290b5349818d8d5cd0a1cc15fcf43fed7354a44861b0ca04af23c5ead4d6e9ff02d0b6b09458c095be86da5374b1a634ecc55837c1
|
7
|
+
data.tar.gz: 5bc62aa56fe0d8765ea9156cd8ae7613bb624e769afc64a8c6b672c7b6fe3020184f613736b4fa0de2b8b50d14ec029131c69274518edc2c73c41572ce9334f7
|
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-mediapackagevod/customizations'
|
|
24
24
|
# methods each accept a hash of request parameters and return a response
|
25
25
|
# structure.
|
26
26
|
#
|
27
|
+
# media_package_vod = Aws::MediaPackageVod::Client.new
|
28
|
+
# resp = media_package_vod.create_asset(params)
|
29
|
+
#
|
27
30
|
# See {Client} for more information.
|
28
31
|
#
|
29
32
|
# # Errors
|
30
33
|
#
|
31
|
-
# Errors returned from AWS Elemental MediaPackage VOD
|
32
|
-
# extend {Errors::ServiceError}.
|
34
|
+
# Errors returned from AWS Elemental MediaPackage VOD are defined in the
|
35
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
36
|
#
|
34
37
|
# begin
|
35
38
|
# # do stuff
|
36
39
|
# rescue Aws::MediaPackageVod::Errors::ServiceError
|
37
|
-
# # rescues all
|
40
|
+
# # rescues all AWS Elemental MediaPackage VOD API errors
|
38
41
|
# end
|
39
42
|
#
|
40
43
|
# See {Errors} for more information.
|
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-mediapackagevod/customizations'
|
|
42
45
|
# @service
|
43
46
|
module Aws::MediaPackageVod
|
44
47
|
|
45
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.13.0'
|
46
49
|
|
47
50
|
end
|
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:mediapackagevod)
|
31
31
|
|
32
32
|
module Aws::MediaPackageVod
|
33
|
+
# An API client for MediaPackageVod. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::MediaPackageVod::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -93,7 +105,7 @@ module Aws::MediaPackageVod
|
|
93
105
|
# @option options [required, String] :region
|
94
106
|
# The AWS region to connect to. The configured `:region` is
|
95
107
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
97
109
|
#
|
98
110
|
# * `Aws.config[:region]`
|
99
111
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +120,12 @@ module Aws::MediaPackageVod
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::MediaPackageVod
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -139,7 +161,7 @@ module Aws::MediaPackageVod
|
|
139
161
|
# @option options [String] :endpoint
|
140
162
|
# The client endpoint is normally constructed from the `:region`
|
141
163
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
143
165
|
#
|
144
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +176,7 @@ module Aws::MediaPackageVod
|
|
154
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
177
|
#
|
156
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
180
|
#
|
159
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
182
|
# The log formatter.
|
@@ -166,15 +188,29 @@ module Aws::MediaPackageVod
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,30 @@ module Aws::MediaPackageVod
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
190
245
|
#
|
191
246
|
# @option options [String] :secret_access_key
|
192
247
|
#
|
@@ -209,16 +264,15 @@ module Aws::MediaPackageVod
|
|
209
264
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
265
|
#
|
211
266
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
267
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
268
|
# `Timeout::Error`.
|
214
269
|
#
|
215
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
271
|
# number of seconds to wait for response data. This value can
|
217
|
-
# safely be set
|
218
|
-
# per-request on the session yeidled by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
219
273
|
#
|
220
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
275
|
+
# seconds a connection is allowed to sit idle before it is
|
222
276
|
# considered stale. Stale connections are closed and removed
|
223
277
|
# from the pool before making a request.
|
224
278
|
#
|
@@ -227,7 +281,7 @@ module Aws::MediaPackageVod
|
|
227
281
|
# request body. This option has no effect unless the request has
|
228
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
283
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
284
|
+
# request on the session.
|
231
285
|
#
|
232
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -266,6 +320,9 @@ module Aws::MediaPackageVod
|
|
266
320
|
#
|
267
321
|
# @option params [required, String] :source_role_arn
|
268
322
|
#
|
323
|
+
# @option params [Hash<String,String>] :tags
|
324
|
+
# A collection of tags associated with a resource
|
325
|
+
#
|
269
326
|
# @return [Types::CreateAssetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
270
327
|
#
|
271
328
|
# * {Types::CreateAssetResponse#arn #arn} => String
|
@@ -276,6 +333,7 @@ module Aws::MediaPackageVod
|
|
276
333
|
# * {Types::CreateAssetResponse#resource_id #resource_id} => String
|
277
334
|
# * {Types::CreateAssetResponse#source_arn #source_arn} => String
|
278
335
|
# * {Types::CreateAssetResponse#source_role_arn #source_role_arn} => String
|
336
|
+
# * {Types::CreateAssetResponse#tags #tags} => Hash<String,String>
|
279
337
|
#
|
280
338
|
# @example Request syntax with placeholder values
|
281
339
|
#
|
@@ -285,6 +343,9 @@ module Aws::MediaPackageVod
|
|
285
343
|
# resource_id: "__string",
|
286
344
|
# source_arn: "__string", # required
|
287
345
|
# source_role_arn: "__string", # required
|
346
|
+
# tags: {
|
347
|
+
# "__string" => "__string",
|
348
|
+
# },
|
288
349
|
# })
|
289
350
|
#
|
290
351
|
# @example Response structure
|
@@ -299,6 +360,8 @@ module Aws::MediaPackageVod
|
|
299
360
|
# resp.resource_id #=> String
|
300
361
|
# resp.source_arn #=> String
|
301
362
|
# resp.source_role_arn #=> String
|
363
|
+
# resp.tags #=> Hash
|
364
|
+
# resp.tags["__string"] #=> String
|
302
365
|
#
|
303
366
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreateAsset AWS API Documentation
|
304
367
|
#
|
@@ -327,6 +390,9 @@ module Aws::MediaPackageVod
|
|
327
390
|
#
|
328
391
|
# @option params [required, String] :packaging_group_id
|
329
392
|
#
|
393
|
+
# @option params [Hash<String,String>] :tags
|
394
|
+
# A collection of tags associated with a resource
|
395
|
+
#
|
330
396
|
# @return [Types::CreatePackagingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
331
397
|
#
|
332
398
|
# * {Types::CreatePackagingConfigurationResponse#arn #arn} => String
|
@@ -336,6 +402,7 @@ module Aws::MediaPackageVod
|
|
336
402
|
# * {Types::CreatePackagingConfigurationResponse#id #id} => String
|
337
403
|
# * {Types::CreatePackagingConfigurationResponse#mss_package #mss_package} => Types::MssPackage
|
338
404
|
# * {Types::CreatePackagingConfigurationResponse#packaging_group_id #packaging_group_id} => String
|
405
|
+
# * {Types::CreatePackagingConfigurationResponse#tags #tags} => Hash<String,String>
|
339
406
|
#
|
340
407
|
# @example Request syntax with placeholder values
|
341
408
|
#
|
@@ -367,6 +434,7 @@ module Aws::MediaPackageVod
|
|
367
434
|
# dash_package: {
|
368
435
|
# dash_manifests: [ # required
|
369
436
|
# {
|
437
|
+
# manifest_layout: "FULL", # accepts FULL, COMPACT
|
370
438
|
# manifest_name: "__string",
|
371
439
|
# min_buffer_time_seconds: 1,
|
372
440
|
# profile: "NONE", # accepts NONE, HBBTV_1_5
|
@@ -384,7 +452,9 @@ module Aws::MediaPackageVod
|
|
384
452
|
# url: "__string", # required
|
385
453
|
# },
|
386
454
|
# },
|
455
|
+
# period_triggers: ["ADS"], # accepts ADS
|
387
456
|
# segment_duration_seconds: 1,
|
457
|
+
# segment_template_format: "NUMBER_WITH_TIMELINE", # accepts NUMBER_WITH_TIMELINE, TIME_WITH_TIMELINE, NUMBER_WITH_DURATION
|
388
458
|
# },
|
389
459
|
# hls_package: {
|
390
460
|
# encryption: {
|
@@ -435,6 +505,9 @@ module Aws::MediaPackageVod
|
|
435
505
|
# segment_duration_seconds: 1,
|
436
506
|
# },
|
437
507
|
# packaging_group_id: "__string", # required
|
508
|
+
# tags: {
|
509
|
+
# "__string" => "__string",
|
510
|
+
# },
|
438
511
|
# })
|
439
512
|
#
|
440
513
|
# @example Response structure
|
@@ -455,6 +528,7 @@ module Aws::MediaPackageVod
|
|
455
528
|
# resp.cmaf_package.hls_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
456
529
|
# resp.cmaf_package.segment_duration_seconds #=> Integer
|
457
530
|
# resp.dash_package.dash_manifests #=> Array
|
531
|
+
# resp.dash_package.dash_manifests[0].manifest_layout #=> String, one of "FULL", "COMPACT"
|
458
532
|
# resp.dash_package.dash_manifests[0].manifest_name #=> String
|
459
533
|
# resp.dash_package.dash_manifests[0].min_buffer_time_seconds #=> Integer
|
460
534
|
# resp.dash_package.dash_manifests[0].profile #=> String, one of "NONE", "HBBTV_1_5"
|
@@ -465,7 +539,10 @@ module Aws::MediaPackageVod
|
|
465
539
|
# resp.dash_package.encryption.speke_key_provider.system_ids #=> Array
|
466
540
|
# resp.dash_package.encryption.speke_key_provider.system_ids[0] #=> String
|
467
541
|
# resp.dash_package.encryption.speke_key_provider.url #=> String
|
542
|
+
# resp.dash_package.period_triggers #=> Array
|
543
|
+
# resp.dash_package.period_triggers[0] #=> String, one of "ADS"
|
468
544
|
# resp.dash_package.segment_duration_seconds #=> Integer
|
545
|
+
# resp.dash_package.segment_template_format #=> String, one of "NUMBER_WITH_TIMELINE", "TIME_WITH_TIMELINE", "NUMBER_WITH_DURATION"
|
469
546
|
# resp.hls_package.encryption.constant_initialization_vector #=> String
|
470
547
|
# resp.hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
471
548
|
# resp.hls_package.encryption.speke_key_provider.role_arn #=> String
|
@@ -495,6 +572,8 @@ module Aws::MediaPackageVod
|
|
495
572
|
# resp.mss_package.mss_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
496
573
|
# resp.mss_package.segment_duration_seconds #=> Integer
|
497
574
|
# resp.packaging_group_id #=> String
|
575
|
+
# resp.tags #=> Hash
|
576
|
+
# resp.tags["__string"] #=> String
|
498
577
|
#
|
499
578
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingConfiguration AWS API Documentation
|
500
579
|
#
|
@@ -509,16 +588,23 @@ module Aws::MediaPackageVod
|
|
509
588
|
#
|
510
589
|
# @option params [required, String] :id
|
511
590
|
#
|
591
|
+
# @option params [Hash<String,String>] :tags
|
592
|
+
# A collection of tags associated with a resource
|
593
|
+
#
|
512
594
|
# @return [Types::CreatePackagingGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
513
595
|
#
|
514
596
|
# * {Types::CreatePackagingGroupResponse#arn #arn} => String
|
515
597
|
# * {Types::CreatePackagingGroupResponse#domain_name #domain_name} => String
|
516
598
|
# * {Types::CreatePackagingGroupResponse#id #id} => String
|
599
|
+
# * {Types::CreatePackagingGroupResponse#tags #tags} => Hash<String,String>
|
517
600
|
#
|
518
601
|
# @example Request syntax with placeholder values
|
519
602
|
#
|
520
603
|
# resp = client.create_packaging_group({
|
521
604
|
# id: "__string", # required
|
605
|
+
# tags: {
|
606
|
+
# "__string" => "__string",
|
607
|
+
# },
|
522
608
|
# })
|
523
609
|
#
|
524
610
|
# @example Response structure
|
@@ -526,6 +612,8 @@ module Aws::MediaPackageVod
|
|
526
612
|
# resp.arn #=> String
|
527
613
|
# resp.domain_name #=> String
|
528
614
|
# resp.id #=> String
|
615
|
+
# resp.tags #=> Hash
|
616
|
+
# resp.tags["__string"] #=> String
|
529
617
|
#
|
530
618
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingGroup AWS API Documentation
|
531
619
|
#
|
@@ -613,6 +701,7 @@ module Aws::MediaPackageVod
|
|
613
701
|
# * {Types::DescribeAssetResponse#resource_id #resource_id} => String
|
614
702
|
# * {Types::DescribeAssetResponse#source_arn #source_arn} => String
|
615
703
|
# * {Types::DescribeAssetResponse#source_role_arn #source_role_arn} => String
|
704
|
+
# * {Types::DescribeAssetResponse#tags #tags} => Hash<String,String>
|
616
705
|
#
|
617
706
|
# @example Request syntax with placeholder values
|
618
707
|
#
|
@@ -632,6 +721,8 @@ module Aws::MediaPackageVod
|
|
632
721
|
# resp.resource_id #=> String
|
633
722
|
# resp.source_arn #=> String
|
634
723
|
# resp.source_role_arn #=> String
|
724
|
+
# resp.tags #=> Hash
|
725
|
+
# resp.tags["__string"] #=> String
|
635
726
|
#
|
636
727
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribeAsset AWS API Documentation
|
637
728
|
#
|
@@ -656,6 +747,7 @@ module Aws::MediaPackageVod
|
|
656
747
|
# * {Types::DescribePackagingConfigurationResponse#id #id} => String
|
657
748
|
# * {Types::DescribePackagingConfigurationResponse#mss_package #mss_package} => Types::MssPackage
|
658
749
|
# * {Types::DescribePackagingConfigurationResponse#packaging_group_id #packaging_group_id} => String
|
750
|
+
# * {Types::DescribePackagingConfigurationResponse#tags #tags} => Hash<String,String>
|
659
751
|
#
|
660
752
|
# @example Request syntax with placeholder values
|
661
753
|
#
|
@@ -681,6 +773,7 @@ module Aws::MediaPackageVod
|
|
681
773
|
# resp.cmaf_package.hls_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
682
774
|
# resp.cmaf_package.segment_duration_seconds #=> Integer
|
683
775
|
# resp.dash_package.dash_manifests #=> Array
|
776
|
+
# resp.dash_package.dash_manifests[0].manifest_layout #=> String, one of "FULL", "COMPACT"
|
684
777
|
# resp.dash_package.dash_manifests[0].manifest_name #=> String
|
685
778
|
# resp.dash_package.dash_manifests[0].min_buffer_time_seconds #=> Integer
|
686
779
|
# resp.dash_package.dash_manifests[0].profile #=> String, one of "NONE", "HBBTV_1_5"
|
@@ -691,7 +784,10 @@ module Aws::MediaPackageVod
|
|
691
784
|
# resp.dash_package.encryption.speke_key_provider.system_ids #=> Array
|
692
785
|
# resp.dash_package.encryption.speke_key_provider.system_ids[0] #=> String
|
693
786
|
# resp.dash_package.encryption.speke_key_provider.url #=> String
|
787
|
+
# resp.dash_package.period_triggers #=> Array
|
788
|
+
# resp.dash_package.period_triggers[0] #=> String, one of "ADS"
|
694
789
|
# resp.dash_package.segment_duration_seconds #=> Integer
|
790
|
+
# resp.dash_package.segment_template_format #=> String, one of "NUMBER_WITH_TIMELINE", "TIME_WITH_TIMELINE", "NUMBER_WITH_DURATION"
|
695
791
|
# resp.hls_package.encryption.constant_initialization_vector #=> String
|
696
792
|
# resp.hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
697
793
|
# resp.hls_package.encryption.speke_key_provider.role_arn #=> String
|
@@ -721,6 +817,8 @@ module Aws::MediaPackageVod
|
|
721
817
|
# resp.mss_package.mss_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
722
818
|
# resp.mss_package.segment_duration_seconds #=> Integer
|
723
819
|
# resp.packaging_group_id #=> String
|
820
|
+
# resp.tags #=> Hash
|
821
|
+
# resp.tags["__string"] #=> String
|
724
822
|
#
|
725
823
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingConfiguration AWS API Documentation
|
726
824
|
#
|
@@ -740,6 +838,7 @@ module Aws::MediaPackageVod
|
|
740
838
|
# * {Types::DescribePackagingGroupResponse#arn #arn} => String
|
741
839
|
# * {Types::DescribePackagingGroupResponse#domain_name #domain_name} => String
|
742
840
|
# * {Types::DescribePackagingGroupResponse#id #id} => String
|
841
|
+
# * {Types::DescribePackagingGroupResponse#tags #tags} => Hash<String,String>
|
743
842
|
#
|
744
843
|
# @example Request syntax with placeholder values
|
745
844
|
#
|
@@ -752,6 +851,8 @@ module Aws::MediaPackageVod
|
|
752
851
|
# resp.arn #=> String
|
753
852
|
# resp.domain_name #=> String
|
754
853
|
# resp.id #=> String
|
854
|
+
# resp.tags #=> Hash
|
855
|
+
# resp.tags["__string"] #=> String
|
755
856
|
#
|
756
857
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingGroup AWS API Documentation
|
757
858
|
#
|
@@ -775,6 +876,8 @@ module Aws::MediaPackageVod
|
|
775
876
|
# * {Types::ListAssetsResponse#assets #assets} => Array<Types::AssetShallow>
|
776
877
|
# * {Types::ListAssetsResponse#next_token #next_token} => String
|
777
878
|
#
|
879
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
880
|
+
#
|
778
881
|
# @example Request syntax with placeholder values
|
779
882
|
#
|
780
883
|
# resp = client.list_assets({
|
@@ -793,6 +896,8 @@ module Aws::MediaPackageVod
|
|
793
896
|
# resp.assets[0].resource_id #=> String
|
794
897
|
# resp.assets[0].source_arn #=> String
|
795
898
|
# resp.assets[0].source_role_arn #=> String
|
899
|
+
# resp.assets[0].tags #=> Hash
|
900
|
+
# resp.assets[0].tags["__string"] #=> String
|
796
901
|
# resp.next_token #=> String
|
797
902
|
#
|
798
903
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListAssets AWS API Documentation
|
@@ -818,6 +923,8 @@ module Aws::MediaPackageVod
|
|
818
923
|
# * {Types::ListPackagingConfigurationsResponse#next_token #next_token} => String
|
819
924
|
# * {Types::ListPackagingConfigurationsResponse#packaging_configurations #packaging_configurations} => Array<Types::PackagingConfiguration>
|
820
925
|
#
|
926
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
927
|
+
#
|
821
928
|
# @example Request syntax with placeholder values
|
822
929
|
#
|
823
930
|
# resp = client.list_packaging_configurations({
|
@@ -846,6 +953,7 @@ module Aws::MediaPackageVod
|
|
846
953
|
# resp.packaging_configurations[0].cmaf_package.hls_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
847
954
|
# resp.packaging_configurations[0].cmaf_package.segment_duration_seconds #=> Integer
|
848
955
|
# resp.packaging_configurations[0].dash_package.dash_manifests #=> Array
|
956
|
+
# resp.packaging_configurations[0].dash_package.dash_manifests[0].manifest_layout #=> String, one of "FULL", "COMPACT"
|
849
957
|
# resp.packaging_configurations[0].dash_package.dash_manifests[0].manifest_name #=> String
|
850
958
|
# resp.packaging_configurations[0].dash_package.dash_manifests[0].min_buffer_time_seconds #=> Integer
|
851
959
|
# resp.packaging_configurations[0].dash_package.dash_manifests[0].profile #=> String, one of "NONE", "HBBTV_1_5"
|
@@ -856,7 +964,10 @@ module Aws::MediaPackageVod
|
|
856
964
|
# resp.packaging_configurations[0].dash_package.encryption.speke_key_provider.system_ids #=> Array
|
857
965
|
# resp.packaging_configurations[0].dash_package.encryption.speke_key_provider.system_ids[0] #=> String
|
858
966
|
# resp.packaging_configurations[0].dash_package.encryption.speke_key_provider.url #=> String
|
967
|
+
# resp.packaging_configurations[0].dash_package.period_triggers #=> Array
|
968
|
+
# resp.packaging_configurations[0].dash_package.period_triggers[0] #=> String, one of "ADS"
|
859
969
|
# resp.packaging_configurations[0].dash_package.segment_duration_seconds #=> Integer
|
970
|
+
# resp.packaging_configurations[0].dash_package.segment_template_format #=> String, one of "NUMBER_WITH_TIMELINE", "TIME_WITH_TIMELINE", "NUMBER_WITH_DURATION"
|
860
971
|
# resp.packaging_configurations[0].hls_package.encryption.constant_initialization_vector #=> String
|
861
972
|
# resp.packaging_configurations[0].hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
862
973
|
# resp.packaging_configurations[0].hls_package.encryption.speke_key_provider.role_arn #=> String
|
@@ -886,6 +997,8 @@ module Aws::MediaPackageVod
|
|
886
997
|
# resp.packaging_configurations[0].mss_package.mss_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
887
998
|
# resp.packaging_configurations[0].mss_package.segment_duration_seconds #=> Integer
|
888
999
|
# resp.packaging_configurations[0].packaging_group_id #=> String
|
1000
|
+
# resp.packaging_configurations[0].tags #=> Hash
|
1001
|
+
# resp.packaging_configurations[0].tags["__string"] #=> String
|
889
1002
|
#
|
890
1003
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingConfigurations AWS API Documentation
|
891
1004
|
#
|
@@ -907,6 +1020,8 @@ module Aws::MediaPackageVod
|
|
907
1020
|
# * {Types::ListPackagingGroupsResponse#next_token #next_token} => String
|
908
1021
|
# * {Types::ListPackagingGroupsResponse#packaging_groups #packaging_groups} => Array<Types::PackagingGroup>
|
909
1022
|
#
|
1023
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1024
|
+
#
|
910
1025
|
# @example Request syntax with placeholder values
|
911
1026
|
#
|
912
1027
|
# resp = client.list_packaging_groups({
|
@@ -921,6 +1036,8 @@ module Aws::MediaPackageVod
|
|
921
1036
|
# resp.packaging_groups[0].arn #=> String
|
922
1037
|
# resp.packaging_groups[0].domain_name #=> String
|
923
1038
|
# resp.packaging_groups[0].id #=> String
|
1039
|
+
# resp.packaging_groups[0].tags #=> Hash
|
1040
|
+
# resp.packaging_groups[0].tags["__string"] #=> String
|
924
1041
|
#
|
925
1042
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingGroups AWS API Documentation
|
926
1043
|
#
|
@@ -931,6 +1048,78 @@ module Aws::MediaPackageVod
|
|
931
1048
|
req.send_request(options)
|
932
1049
|
end
|
933
1050
|
|
1051
|
+
# @option params [required, String] :resource_arn
|
1052
|
+
#
|
1053
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1054
|
+
#
|
1055
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
1056
|
+
#
|
1057
|
+
# @example Request syntax with placeholder values
|
1058
|
+
#
|
1059
|
+
# resp = client.list_tags_for_resource({
|
1060
|
+
# resource_arn: "__string", # required
|
1061
|
+
# })
|
1062
|
+
#
|
1063
|
+
# @example Response structure
|
1064
|
+
#
|
1065
|
+
# resp.tags #=> Hash
|
1066
|
+
# resp.tags["__string"] #=> String
|
1067
|
+
#
|
1068
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListTagsForResource AWS API Documentation
|
1069
|
+
#
|
1070
|
+
# @overload list_tags_for_resource(params = {})
|
1071
|
+
# @param [Hash] params ({})
|
1072
|
+
def list_tags_for_resource(params = {}, options = {})
|
1073
|
+
req = build_request(:list_tags_for_resource, params)
|
1074
|
+
req.send_request(options)
|
1075
|
+
end
|
1076
|
+
|
1077
|
+
# @option params [required, String] :resource_arn
|
1078
|
+
#
|
1079
|
+
# @option params [required, Hash<String,String>] :tags
|
1080
|
+
#
|
1081
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1082
|
+
#
|
1083
|
+
# @example Request syntax with placeholder values
|
1084
|
+
#
|
1085
|
+
# resp = client.tag_resource({
|
1086
|
+
# resource_arn: "__string", # required
|
1087
|
+
# tags: { # required
|
1088
|
+
# "__string" => "__string",
|
1089
|
+
# },
|
1090
|
+
# })
|
1091
|
+
#
|
1092
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/TagResource AWS API Documentation
|
1093
|
+
#
|
1094
|
+
# @overload tag_resource(params = {})
|
1095
|
+
# @param [Hash] params ({})
|
1096
|
+
def tag_resource(params = {}, options = {})
|
1097
|
+
req = build_request(:tag_resource, params)
|
1098
|
+
req.send_request(options)
|
1099
|
+
end
|
1100
|
+
|
1101
|
+
# @option params [required, String] :resource_arn
|
1102
|
+
#
|
1103
|
+
# @option params [required, Array<String>] :tag_keys
|
1104
|
+
#
|
1105
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1106
|
+
#
|
1107
|
+
# @example Request syntax with placeholder values
|
1108
|
+
#
|
1109
|
+
# resp = client.untag_resource({
|
1110
|
+
# resource_arn: "__string", # required
|
1111
|
+
# tag_keys: ["__string"], # required
|
1112
|
+
# })
|
1113
|
+
#
|
1114
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/UntagResource AWS API Documentation
|
1115
|
+
#
|
1116
|
+
# @overload untag_resource(params = {})
|
1117
|
+
# @param [Hash] params ({})
|
1118
|
+
def untag_resource(params = {}, options = {})
|
1119
|
+
req = build_request(:untag_resource, params)
|
1120
|
+
req.send_request(options)
|
1121
|
+
end
|
1122
|
+
|
934
1123
|
# @!endgroup
|
935
1124
|
|
936
1125
|
# @param params ({})
|
@@ -944,7 +1133,7 @@ module Aws::MediaPackageVod
|
|
944
1133
|
params: params,
|
945
1134
|
config: config)
|
946
1135
|
context[:gem_name] = 'aws-sdk-mediapackagevod'
|
947
|
-
context[:gem_version] = '1.
|
1136
|
+
context[:gem_version] = '1.13.0'
|
948
1137
|
Seahorse::Client::Request.new(handlers, context)
|
949
1138
|
end
|
950
1139
|
|