aws-sdk-mediapackagevod 1.9.0 → 1.14.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 +256 -14
- data/lib/aws-sdk-mediapackagevod/client_api.rb +111 -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 +313 -16
- 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: 2b1fc133e6ac52a5f6f0d90d0179dba8f97d7e7d7727b3d314cc4c13840c564c
|
4
|
+
data.tar.gz: a528eadeb3ab61faa5a645dab4dba662e6db16655b05ea53a2d7a3ff273d4737
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f02fbf817bd75ae042828be63b7fe5109a531d6d2550414d83726a71f449d28947d4aed8ebaf7d14fc54e0d765ba997519c8c8f8ad6bb8422e2e1fdd9aaa7c86
|
7
|
+
data.tar.gz: eee466dd877a450a9e067fe2b41c23f48b62fb893a351c7d502fd5b7dc77d36a5369d92c8a488c74abc0f5104077c3ebd52d41699778e67883c644c0bede4f48
|
@@ -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.14.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
|
#
|
@@ -438,6 +505,9 @@ module Aws::MediaPackageVod
|
|
438
505
|
# segment_duration_seconds: 1,
|
439
506
|
# },
|
440
507
|
# packaging_group_id: "__string", # required
|
508
|
+
# tags: {
|
509
|
+
# "__string" => "__string",
|
510
|
+
# },
|
441
511
|
# })
|
442
512
|
#
|
443
513
|
# @example Response structure
|
@@ -502,6 +572,8 @@ module Aws::MediaPackageVod
|
|
502
572
|
# resp.mss_package.mss_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
503
573
|
# resp.mss_package.segment_duration_seconds #=> Integer
|
504
574
|
# resp.packaging_group_id #=> String
|
575
|
+
# resp.tags #=> Hash
|
576
|
+
# resp.tags["__string"] #=> String
|
505
577
|
#
|
506
578
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingConfiguration AWS API Documentation
|
507
579
|
#
|
@@ -514,25 +586,44 @@ module Aws::MediaPackageVod
|
|
514
586
|
|
515
587
|
# Creates a new MediaPackage VOD PackagingGroup resource.
|
516
588
|
#
|
589
|
+
# @option params [Types::Authorization] :authorization
|
590
|
+
# CDN Authorization credentials
|
591
|
+
#
|
517
592
|
# @option params [required, String] :id
|
518
593
|
#
|
594
|
+
# @option params [Hash<String,String>] :tags
|
595
|
+
# A collection of tags associated with a resource
|
596
|
+
#
|
519
597
|
# @return [Types::CreatePackagingGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
520
598
|
#
|
521
599
|
# * {Types::CreatePackagingGroupResponse#arn #arn} => String
|
600
|
+
# * {Types::CreatePackagingGroupResponse#authorization #authorization} => Types::Authorization
|
522
601
|
# * {Types::CreatePackagingGroupResponse#domain_name #domain_name} => String
|
523
602
|
# * {Types::CreatePackagingGroupResponse#id #id} => String
|
603
|
+
# * {Types::CreatePackagingGroupResponse#tags #tags} => Hash<String,String>
|
524
604
|
#
|
525
605
|
# @example Request syntax with placeholder values
|
526
606
|
#
|
527
607
|
# resp = client.create_packaging_group({
|
608
|
+
# authorization: {
|
609
|
+
# cdn_identifier_secret: "__string", # required
|
610
|
+
# secrets_role_arn: "__string", # required
|
611
|
+
# },
|
528
612
|
# id: "__string", # required
|
613
|
+
# tags: {
|
614
|
+
# "__string" => "__string",
|
615
|
+
# },
|
529
616
|
# })
|
530
617
|
#
|
531
618
|
# @example Response structure
|
532
619
|
#
|
533
620
|
# resp.arn #=> String
|
621
|
+
# resp.authorization.cdn_identifier_secret #=> String
|
622
|
+
# resp.authorization.secrets_role_arn #=> String
|
534
623
|
# resp.domain_name #=> String
|
535
624
|
# resp.id #=> String
|
625
|
+
# resp.tags #=> Hash
|
626
|
+
# resp.tags["__string"] #=> String
|
536
627
|
#
|
537
628
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingGroup AWS API Documentation
|
538
629
|
#
|
@@ -620,6 +711,7 @@ module Aws::MediaPackageVod
|
|
620
711
|
# * {Types::DescribeAssetResponse#resource_id #resource_id} => String
|
621
712
|
# * {Types::DescribeAssetResponse#source_arn #source_arn} => String
|
622
713
|
# * {Types::DescribeAssetResponse#source_role_arn #source_role_arn} => String
|
714
|
+
# * {Types::DescribeAssetResponse#tags #tags} => Hash<String,String>
|
623
715
|
#
|
624
716
|
# @example Request syntax with placeholder values
|
625
717
|
#
|
@@ -639,6 +731,8 @@ module Aws::MediaPackageVod
|
|
639
731
|
# resp.resource_id #=> String
|
640
732
|
# resp.source_arn #=> String
|
641
733
|
# resp.source_role_arn #=> String
|
734
|
+
# resp.tags #=> Hash
|
735
|
+
# resp.tags["__string"] #=> String
|
642
736
|
#
|
643
737
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribeAsset AWS API Documentation
|
644
738
|
#
|
@@ -663,6 +757,7 @@ module Aws::MediaPackageVod
|
|
663
757
|
# * {Types::DescribePackagingConfigurationResponse#id #id} => String
|
664
758
|
# * {Types::DescribePackagingConfigurationResponse#mss_package #mss_package} => Types::MssPackage
|
665
759
|
# * {Types::DescribePackagingConfigurationResponse#packaging_group_id #packaging_group_id} => String
|
760
|
+
# * {Types::DescribePackagingConfigurationResponse#tags #tags} => Hash<String,String>
|
666
761
|
#
|
667
762
|
# @example Request syntax with placeholder values
|
668
763
|
#
|
@@ -732,6 +827,8 @@ module Aws::MediaPackageVod
|
|
732
827
|
# resp.mss_package.mss_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
733
828
|
# resp.mss_package.segment_duration_seconds #=> Integer
|
734
829
|
# resp.packaging_group_id #=> String
|
830
|
+
# resp.tags #=> Hash
|
831
|
+
# resp.tags["__string"] #=> String
|
735
832
|
#
|
736
833
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingConfiguration AWS API Documentation
|
737
834
|
#
|
@@ -749,8 +846,10 @@ module Aws::MediaPackageVod
|
|
749
846
|
# @return [Types::DescribePackagingGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
750
847
|
#
|
751
848
|
# * {Types::DescribePackagingGroupResponse#arn #arn} => String
|
849
|
+
# * {Types::DescribePackagingGroupResponse#authorization #authorization} => Types::Authorization
|
752
850
|
# * {Types::DescribePackagingGroupResponse#domain_name #domain_name} => String
|
753
851
|
# * {Types::DescribePackagingGroupResponse#id #id} => String
|
852
|
+
# * {Types::DescribePackagingGroupResponse#tags #tags} => Hash<String,String>
|
754
853
|
#
|
755
854
|
# @example Request syntax with placeholder values
|
756
855
|
#
|
@@ -761,8 +860,12 @@ module Aws::MediaPackageVod
|
|
761
860
|
# @example Response structure
|
762
861
|
#
|
763
862
|
# resp.arn #=> String
|
863
|
+
# resp.authorization.cdn_identifier_secret #=> String
|
864
|
+
# resp.authorization.secrets_role_arn #=> String
|
764
865
|
# resp.domain_name #=> String
|
765
866
|
# resp.id #=> String
|
867
|
+
# resp.tags #=> Hash
|
868
|
+
# resp.tags["__string"] #=> String
|
766
869
|
#
|
767
870
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingGroup AWS API Documentation
|
768
871
|
#
|
@@ -786,6 +889,8 @@ module Aws::MediaPackageVod
|
|
786
889
|
# * {Types::ListAssetsResponse#assets #assets} => Array<Types::AssetShallow>
|
787
890
|
# * {Types::ListAssetsResponse#next_token #next_token} => String
|
788
891
|
#
|
892
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
893
|
+
#
|
789
894
|
# @example Request syntax with placeholder values
|
790
895
|
#
|
791
896
|
# resp = client.list_assets({
|
@@ -804,6 +909,8 @@ module Aws::MediaPackageVod
|
|
804
909
|
# resp.assets[0].resource_id #=> String
|
805
910
|
# resp.assets[0].source_arn #=> String
|
806
911
|
# resp.assets[0].source_role_arn #=> String
|
912
|
+
# resp.assets[0].tags #=> Hash
|
913
|
+
# resp.assets[0].tags["__string"] #=> String
|
807
914
|
# resp.next_token #=> String
|
808
915
|
#
|
809
916
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListAssets AWS API Documentation
|
@@ -829,6 +936,8 @@ module Aws::MediaPackageVod
|
|
829
936
|
# * {Types::ListPackagingConfigurationsResponse#next_token #next_token} => String
|
830
937
|
# * {Types::ListPackagingConfigurationsResponse#packaging_configurations #packaging_configurations} => Array<Types::PackagingConfiguration>
|
831
938
|
#
|
939
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
940
|
+
#
|
832
941
|
# @example Request syntax with placeholder values
|
833
942
|
#
|
834
943
|
# resp = client.list_packaging_configurations({
|
@@ -901,6 +1010,8 @@ module Aws::MediaPackageVod
|
|
901
1010
|
# resp.packaging_configurations[0].mss_package.mss_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
902
1011
|
# resp.packaging_configurations[0].mss_package.segment_duration_seconds #=> Integer
|
903
1012
|
# resp.packaging_configurations[0].packaging_group_id #=> String
|
1013
|
+
# resp.packaging_configurations[0].tags #=> Hash
|
1014
|
+
# resp.packaging_configurations[0].tags["__string"] #=> String
|
904
1015
|
#
|
905
1016
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingConfigurations AWS API Documentation
|
906
1017
|
#
|
@@ -922,6 +1033,8 @@ module Aws::MediaPackageVod
|
|
922
1033
|
# * {Types::ListPackagingGroupsResponse#next_token #next_token} => String
|
923
1034
|
# * {Types::ListPackagingGroupsResponse#packaging_groups #packaging_groups} => Array<Types::PackagingGroup>
|
924
1035
|
#
|
1036
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1037
|
+
#
|
925
1038
|
# @example Request syntax with placeholder values
|
926
1039
|
#
|
927
1040
|
# resp = client.list_packaging_groups({
|
@@ -934,8 +1047,12 @@ module Aws::MediaPackageVod
|
|
934
1047
|
# resp.next_token #=> String
|
935
1048
|
# resp.packaging_groups #=> Array
|
936
1049
|
# resp.packaging_groups[0].arn #=> String
|
1050
|
+
# resp.packaging_groups[0].authorization.cdn_identifier_secret #=> String
|
1051
|
+
# resp.packaging_groups[0].authorization.secrets_role_arn #=> String
|
937
1052
|
# resp.packaging_groups[0].domain_name #=> String
|
938
1053
|
# resp.packaging_groups[0].id #=> String
|
1054
|
+
# resp.packaging_groups[0].tags #=> Hash
|
1055
|
+
# resp.packaging_groups[0].tags["__string"] #=> String
|
939
1056
|
#
|
940
1057
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingGroups AWS API Documentation
|
941
1058
|
#
|
@@ -946,6 +1063,131 @@ module Aws::MediaPackageVod
|
|
946
1063
|
req.send_request(options)
|
947
1064
|
end
|
948
1065
|
|
1066
|
+
# Returns a list of the tags assigned to the specified resource.
|
1067
|
+
#
|
1068
|
+
# @option params [required, String] :resource_arn
|
1069
|
+
#
|
1070
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1071
|
+
#
|
1072
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
1073
|
+
#
|
1074
|
+
# @example Request syntax with placeholder values
|
1075
|
+
#
|
1076
|
+
# resp = client.list_tags_for_resource({
|
1077
|
+
# resource_arn: "__string", # required
|
1078
|
+
# })
|
1079
|
+
#
|
1080
|
+
# @example Response structure
|
1081
|
+
#
|
1082
|
+
# resp.tags #=> Hash
|
1083
|
+
# resp.tags["__string"] #=> String
|
1084
|
+
#
|
1085
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListTagsForResource AWS API Documentation
|
1086
|
+
#
|
1087
|
+
# @overload list_tags_for_resource(params = {})
|
1088
|
+
# @param [Hash] params ({})
|
1089
|
+
def list_tags_for_resource(params = {}, options = {})
|
1090
|
+
req = build_request(:list_tags_for_resource, params)
|
1091
|
+
req.send_request(options)
|
1092
|
+
end
|
1093
|
+
|
1094
|
+
# Adds tags to the specified resource. You can specify one or more tags
|
1095
|
+
# to add.
|
1096
|
+
#
|
1097
|
+
# @option params [required, String] :resource_arn
|
1098
|
+
#
|
1099
|
+
# @option params [required, Hash<String,String>] :tags
|
1100
|
+
#
|
1101
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1102
|
+
#
|
1103
|
+
# @example Request syntax with placeholder values
|
1104
|
+
#
|
1105
|
+
# resp = client.tag_resource({
|
1106
|
+
# resource_arn: "__string", # required
|
1107
|
+
# tags: { # required
|
1108
|
+
# "__string" => "__string",
|
1109
|
+
# },
|
1110
|
+
# })
|
1111
|
+
#
|
1112
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/TagResource AWS API Documentation
|
1113
|
+
#
|
1114
|
+
# @overload tag_resource(params = {})
|
1115
|
+
# @param [Hash] params ({})
|
1116
|
+
def tag_resource(params = {}, options = {})
|
1117
|
+
req = build_request(:tag_resource, params)
|
1118
|
+
req.send_request(options)
|
1119
|
+
end
|
1120
|
+
|
1121
|
+
# Removes tags from the specified resource. You can specify one or more
|
1122
|
+
# tags to remove.
|
1123
|
+
#
|
1124
|
+
# @option params [required, String] :resource_arn
|
1125
|
+
#
|
1126
|
+
# @option params [required, Array<String>] :tag_keys
|
1127
|
+
#
|
1128
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1129
|
+
#
|
1130
|
+
# @example Request syntax with placeholder values
|
1131
|
+
#
|
1132
|
+
# resp = client.untag_resource({
|
1133
|
+
# resource_arn: "__string", # required
|
1134
|
+
# tag_keys: ["__string"], # required
|
1135
|
+
# })
|
1136
|
+
#
|
1137
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/UntagResource AWS API Documentation
|
1138
|
+
#
|
1139
|
+
# @overload untag_resource(params = {})
|
1140
|
+
# @param [Hash] params ({})
|
1141
|
+
def untag_resource(params = {}, options = {})
|
1142
|
+
req = build_request(:untag_resource, params)
|
1143
|
+
req.send_request(options)
|
1144
|
+
end
|
1145
|
+
|
1146
|
+
# Updates a specific packaging group. You can't change the id attribute
|
1147
|
+
# or any other system-generated attributes.
|
1148
|
+
#
|
1149
|
+
# @option params [Types::Authorization] :authorization
|
1150
|
+
# CDN Authorization credentials
|
1151
|
+
#
|
1152
|
+
# @option params [required, String] :id
|
1153
|
+
#
|
1154
|
+
# @return [Types::UpdatePackagingGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1155
|
+
#
|
1156
|
+
# * {Types::UpdatePackagingGroupResponse#arn #arn} => String
|
1157
|
+
# * {Types::UpdatePackagingGroupResponse#authorization #authorization} => Types::Authorization
|
1158
|
+
# * {Types::UpdatePackagingGroupResponse#domain_name #domain_name} => String
|
1159
|
+
# * {Types::UpdatePackagingGroupResponse#id #id} => String
|
1160
|
+
# * {Types::UpdatePackagingGroupResponse#tags #tags} => Hash<String,String>
|
1161
|
+
#
|
1162
|
+
# @example Request syntax with placeholder values
|
1163
|
+
#
|
1164
|
+
# resp = client.update_packaging_group({
|
1165
|
+
# authorization: {
|
1166
|
+
# cdn_identifier_secret: "__string", # required
|
1167
|
+
# secrets_role_arn: "__string", # required
|
1168
|
+
# },
|
1169
|
+
# id: "__string", # required
|
1170
|
+
# })
|
1171
|
+
#
|
1172
|
+
# @example Response structure
|
1173
|
+
#
|
1174
|
+
# resp.arn #=> String
|
1175
|
+
# resp.authorization.cdn_identifier_secret #=> String
|
1176
|
+
# resp.authorization.secrets_role_arn #=> String
|
1177
|
+
# resp.domain_name #=> String
|
1178
|
+
# resp.id #=> String
|
1179
|
+
# resp.tags #=> Hash
|
1180
|
+
# resp.tags["__string"] #=> String
|
1181
|
+
#
|
1182
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/UpdatePackagingGroup AWS API Documentation
|
1183
|
+
#
|
1184
|
+
# @overload update_packaging_group(params = {})
|
1185
|
+
# @param [Hash] params ({})
|
1186
|
+
def update_packaging_group(params = {}, options = {})
|
1187
|
+
req = build_request(:update_packaging_group, params)
|
1188
|
+
req.send_request(options)
|
1189
|
+
end
|
1190
|
+
|
949
1191
|
# @!endgroup
|
950
1192
|
|
951
1193
|
# @param params ({})
|
@@ -959,7 +1201,7 @@ module Aws::MediaPackageVod
|
|
959
1201
|
params: params,
|
960
1202
|
config: config)
|
961
1203
|
context[:gem_name] = 'aws-sdk-mediapackagevod'
|
962
|
-
context[:gem_version] = '1.
|
1204
|
+
context[:gem_version] = '1.14.0'
|
963
1205
|
Seahorse::Client::Request.new(handlers, context)
|
964
1206
|
end
|
965
1207
|
|