aws-sdk-mediapackagevod 1.10.0 → 1.15.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8156ef14d4b1717f16004aaf8128d4f2d6810abc83207273c5424d422b92abee
|
4
|
+
data.tar.gz: 76c8942f2991df273319c054044bfc3e21876907b6234ed639bde65ae81ac663
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1962162008a70c98f85df6e5d117a115f4d4cfadf0f549f15371676d074b431487d4e59b013d2944827568256f5c1b7ae255be7196fbfe0821e5d9f4db3a883a
|
7
|
+
data.tar.gz: e39ac7a4f8bab136f5928868aebf0012c08f375036b5c1d002ad90cb749094e3145b1f0e8fa9455b2399de1b97ae4df5d75ab4bc7d61be1e59f98ad713f10fd8
|
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
30
|
|
@@ -32,11 +33,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:mediapackagevod)
|
|
32
33
|
module Aws::MediaPackageVod
|
33
34
|
# An API client for MediaPackageVod. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
35
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
36
|
+
# client = Aws::MediaPackageVod::Client.new(
|
37
|
+
# region: region_name,
|
38
|
+
# credentials: credentials,
|
39
|
+
# # ...
|
40
|
+
# )
|
40
41
|
#
|
41
42
|
# For details on configuring region and credentials see
|
42
43
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -69,6 +70,7 @@ module Aws::MediaPackageVod
|
|
69
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
75
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
76
|
|
@@ -105,7 +107,7 @@ module Aws::MediaPackageVod
|
|
105
107
|
# @option options [required, String] :region
|
106
108
|
# The AWS region to connect to. The configured `:region` is
|
107
109
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
110
|
+
# a default `:region` is searched for in the following locations:
|
109
111
|
#
|
110
112
|
# * `Aws.config[:region]`
|
111
113
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +163,7 @@ module Aws::MediaPackageVod
|
|
161
163
|
# @option options [String] :endpoint
|
162
164
|
# The client endpoint is normally constructed from the `:region`
|
163
165
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
167
|
#
|
166
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +178,7 @@ module Aws::MediaPackageVod
|
|
176
178
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
179
|
#
|
178
180
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
181
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
182
|
#
|
181
183
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
184
|
# The log formatter.
|
@@ -229,15 +231,19 @@ module Aws::MediaPackageVod
|
|
229
231
|
#
|
230
232
|
# @option options [String] :retry_mode ("legacy")
|
231
233
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
234
|
+
#
|
235
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
236
|
+
# no retry mode is provided.
|
237
|
+
#
|
238
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
239
|
+
# This includes support for retry quotas, which limit the number of
|
240
|
+
# unsuccessful retries a client can make.
|
241
|
+
#
|
242
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
243
|
+
# functionality of `standard` mode along with automatic client side
|
244
|
+
# throttling. This is a provisional mode that may change behavior
|
245
|
+
# in the future.
|
246
|
+
#
|
241
247
|
#
|
242
248
|
# @option options [String] :secret_access_key
|
243
249
|
#
|
@@ -265,8 +271,7 @@ module Aws::MediaPackageVod
|
|
265
271
|
#
|
266
272
|
# @option options [Integer] :http_read_timeout (60) The default
|
267
273
|
# number of seconds to wait for response data. This value can
|
268
|
-
# safely be set
|
269
|
-
# per-request on the session yielded by {#session_for}.
|
274
|
+
# safely be set per-request on the session.
|
270
275
|
#
|
271
276
|
# @option options [Float] :http_idle_timeout (5) The number of
|
272
277
|
# seconds a connection is allowed to sit idle before it is
|
@@ -278,7 +283,7 @@ module Aws::MediaPackageVod
|
|
278
283
|
# request body. This option has no effect unless the request has
|
279
284
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
280
285
|
# disables this behaviour. This value can safely be set per
|
281
|
-
# request on the session
|
286
|
+
# request on the session.
|
282
287
|
#
|
283
288
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
284
289
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -317,6 +322,9 @@ module Aws::MediaPackageVod
|
|
317
322
|
#
|
318
323
|
# @option params [required, String] :source_role_arn
|
319
324
|
#
|
325
|
+
# @option params [Hash<String,String>] :tags
|
326
|
+
# A collection of tags associated with a resource
|
327
|
+
#
|
320
328
|
# @return [Types::CreateAssetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
321
329
|
#
|
322
330
|
# * {Types::CreateAssetResponse#arn #arn} => String
|
@@ -327,6 +335,7 @@ module Aws::MediaPackageVod
|
|
327
335
|
# * {Types::CreateAssetResponse#resource_id #resource_id} => String
|
328
336
|
# * {Types::CreateAssetResponse#source_arn #source_arn} => String
|
329
337
|
# * {Types::CreateAssetResponse#source_role_arn #source_role_arn} => String
|
338
|
+
# * {Types::CreateAssetResponse#tags #tags} => Hash<String,String>
|
330
339
|
#
|
331
340
|
# @example Request syntax with placeholder values
|
332
341
|
#
|
@@ -336,6 +345,9 @@ module Aws::MediaPackageVod
|
|
336
345
|
# resource_id: "__string",
|
337
346
|
# source_arn: "__string", # required
|
338
347
|
# source_role_arn: "__string", # required
|
348
|
+
# tags: {
|
349
|
+
# "__string" => "__string",
|
350
|
+
# },
|
339
351
|
# })
|
340
352
|
#
|
341
353
|
# @example Response structure
|
@@ -350,6 +362,8 @@ module Aws::MediaPackageVod
|
|
350
362
|
# resp.resource_id #=> String
|
351
363
|
# resp.source_arn #=> String
|
352
364
|
# resp.source_role_arn #=> String
|
365
|
+
# resp.tags #=> Hash
|
366
|
+
# resp.tags["__string"] #=> String
|
353
367
|
#
|
354
368
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreateAsset AWS API Documentation
|
355
369
|
#
|
@@ -378,6 +392,9 @@ module Aws::MediaPackageVod
|
|
378
392
|
#
|
379
393
|
# @option params [required, String] :packaging_group_id
|
380
394
|
#
|
395
|
+
# @option params [Hash<String,String>] :tags
|
396
|
+
# A collection of tags associated with a resource
|
397
|
+
#
|
381
398
|
# @return [Types::CreatePackagingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
382
399
|
#
|
383
400
|
# * {Types::CreatePackagingConfigurationResponse#arn #arn} => String
|
@@ -387,6 +404,7 @@ module Aws::MediaPackageVod
|
|
387
404
|
# * {Types::CreatePackagingConfigurationResponse#id #id} => String
|
388
405
|
# * {Types::CreatePackagingConfigurationResponse#mss_package #mss_package} => Types::MssPackage
|
389
406
|
# * {Types::CreatePackagingConfigurationResponse#packaging_group_id #packaging_group_id} => String
|
407
|
+
# * {Types::CreatePackagingConfigurationResponse#tags #tags} => Hash<String,String>
|
390
408
|
#
|
391
409
|
# @example Request syntax with placeholder values
|
392
410
|
#
|
@@ -489,6 +507,9 @@ module Aws::MediaPackageVod
|
|
489
507
|
# segment_duration_seconds: 1,
|
490
508
|
# },
|
491
509
|
# packaging_group_id: "__string", # required
|
510
|
+
# tags: {
|
511
|
+
# "__string" => "__string",
|
512
|
+
# },
|
492
513
|
# })
|
493
514
|
#
|
494
515
|
# @example Response structure
|
@@ -553,6 +574,8 @@ module Aws::MediaPackageVod
|
|
553
574
|
# resp.mss_package.mss_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
554
575
|
# resp.mss_package.segment_duration_seconds #=> Integer
|
555
576
|
# resp.packaging_group_id #=> String
|
577
|
+
# resp.tags #=> Hash
|
578
|
+
# resp.tags["__string"] #=> String
|
556
579
|
#
|
557
580
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingConfiguration AWS API Documentation
|
558
581
|
#
|
@@ -565,25 +588,44 @@ module Aws::MediaPackageVod
|
|
565
588
|
|
566
589
|
# Creates a new MediaPackage VOD PackagingGroup resource.
|
567
590
|
#
|
591
|
+
# @option params [Types::Authorization] :authorization
|
592
|
+
# CDN Authorization credentials
|
593
|
+
#
|
568
594
|
# @option params [required, String] :id
|
569
595
|
#
|
596
|
+
# @option params [Hash<String,String>] :tags
|
597
|
+
# A collection of tags associated with a resource
|
598
|
+
#
|
570
599
|
# @return [Types::CreatePackagingGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
571
600
|
#
|
572
601
|
# * {Types::CreatePackagingGroupResponse#arn #arn} => String
|
602
|
+
# * {Types::CreatePackagingGroupResponse#authorization #authorization} => Types::Authorization
|
573
603
|
# * {Types::CreatePackagingGroupResponse#domain_name #domain_name} => String
|
574
604
|
# * {Types::CreatePackagingGroupResponse#id #id} => String
|
605
|
+
# * {Types::CreatePackagingGroupResponse#tags #tags} => Hash<String,String>
|
575
606
|
#
|
576
607
|
# @example Request syntax with placeholder values
|
577
608
|
#
|
578
609
|
# resp = client.create_packaging_group({
|
610
|
+
# authorization: {
|
611
|
+
# cdn_identifier_secret: "__string", # required
|
612
|
+
# secrets_role_arn: "__string", # required
|
613
|
+
# },
|
579
614
|
# id: "__string", # required
|
615
|
+
# tags: {
|
616
|
+
# "__string" => "__string",
|
617
|
+
# },
|
580
618
|
# })
|
581
619
|
#
|
582
620
|
# @example Response structure
|
583
621
|
#
|
584
622
|
# resp.arn #=> String
|
623
|
+
# resp.authorization.cdn_identifier_secret #=> String
|
624
|
+
# resp.authorization.secrets_role_arn #=> String
|
585
625
|
# resp.domain_name #=> String
|
586
626
|
# resp.id #=> String
|
627
|
+
# resp.tags #=> Hash
|
628
|
+
# resp.tags["__string"] #=> String
|
587
629
|
#
|
588
630
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingGroup AWS API Documentation
|
589
631
|
#
|
@@ -671,6 +713,7 @@ module Aws::MediaPackageVod
|
|
671
713
|
# * {Types::DescribeAssetResponse#resource_id #resource_id} => String
|
672
714
|
# * {Types::DescribeAssetResponse#source_arn #source_arn} => String
|
673
715
|
# * {Types::DescribeAssetResponse#source_role_arn #source_role_arn} => String
|
716
|
+
# * {Types::DescribeAssetResponse#tags #tags} => Hash<String,String>
|
674
717
|
#
|
675
718
|
# @example Request syntax with placeholder values
|
676
719
|
#
|
@@ -690,6 +733,8 @@ module Aws::MediaPackageVod
|
|
690
733
|
# resp.resource_id #=> String
|
691
734
|
# resp.source_arn #=> String
|
692
735
|
# resp.source_role_arn #=> String
|
736
|
+
# resp.tags #=> Hash
|
737
|
+
# resp.tags["__string"] #=> String
|
693
738
|
#
|
694
739
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribeAsset AWS API Documentation
|
695
740
|
#
|
@@ -714,6 +759,7 @@ module Aws::MediaPackageVod
|
|
714
759
|
# * {Types::DescribePackagingConfigurationResponse#id #id} => String
|
715
760
|
# * {Types::DescribePackagingConfigurationResponse#mss_package #mss_package} => Types::MssPackage
|
716
761
|
# * {Types::DescribePackagingConfigurationResponse#packaging_group_id #packaging_group_id} => String
|
762
|
+
# * {Types::DescribePackagingConfigurationResponse#tags #tags} => Hash<String,String>
|
717
763
|
#
|
718
764
|
# @example Request syntax with placeholder values
|
719
765
|
#
|
@@ -783,6 +829,8 @@ module Aws::MediaPackageVod
|
|
783
829
|
# resp.mss_package.mss_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
784
830
|
# resp.mss_package.segment_duration_seconds #=> Integer
|
785
831
|
# resp.packaging_group_id #=> String
|
832
|
+
# resp.tags #=> Hash
|
833
|
+
# resp.tags["__string"] #=> String
|
786
834
|
#
|
787
835
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingConfiguration AWS API Documentation
|
788
836
|
#
|
@@ -800,8 +848,10 @@ module Aws::MediaPackageVod
|
|
800
848
|
# @return [Types::DescribePackagingGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
801
849
|
#
|
802
850
|
# * {Types::DescribePackagingGroupResponse#arn #arn} => String
|
851
|
+
# * {Types::DescribePackagingGroupResponse#authorization #authorization} => Types::Authorization
|
803
852
|
# * {Types::DescribePackagingGroupResponse#domain_name #domain_name} => String
|
804
853
|
# * {Types::DescribePackagingGroupResponse#id #id} => String
|
854
|
+
# * {Types::DescribePackagingGroupResponse#tags #tags} => Hash<String,String>
|
805
855
|
#
|
806
856
|
# @example Request syntax with placeholder values
|
807
857
|
#
|
@@ -812,8 +862,12 @@ module Aws::MediaPackageVod
|
|
812
862
|
# @example Response structure
|
813
863
|
#
|
814
864
|
# resp.arn #=> String
|
865
|
+
# resp.authorization.cdn_identifier_secret #=> String
|
866
|
+
# resp.authorization.secrets_role_arn #=> String
|
815
867
|
# resp.domain_name #=> String
|
816
868
|
# resp.id #=> String
|
869
|
+
# resp.tags #=> Hash
|
870
|
+
# resp.tags["__string"] #=> String
|
817
871
|
#
|
818
872
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingGroup AWS API Documentation
|
819
873
|
#
|
@@ -837,6 +891,8 @@ module Aws::MediaPackageVod
|
|
837
891
|
# * {Types::ListAssetsResponse#assets #assets} => Array<Types::AssetShallow>
|
838
892
|
# * {Types::ListAssetsResponse#next_token #next_token} => String
|
839
893
|
#
|
894
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
895
|
+
#
|
840
896
|
# @example Request syntax with placeholder values
|
841
897
|
#
|
842
898
|
# resp = client.list_assets({
|
@@ -855,6 +911,8 @@ module Aws::MediaPackageVod
|
|
855
911
|
# resp.assets[0].resource_id #=> String
|
856
912
|
# resp.assets[0].source_arn #=> String
|
857
913
|
# resp.assets[0].source_role_arn #=> String
|
914
|
+
# resp.assets[0].tags #=> Hash
|
915
|
+
# resp.assets[0].tags["__string"] #=> String
|
858
916
|
# resp.next_token #=> String
|
859
917
|
#
|
860
918
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListAssets AWS API Documentation
|
@@ -880,6 +938,8 @@ module Aws::MediaPackageVod
|
|
880
938
|
# * {Types::ListPackagingConfigurationsResponse#next_token #next_token} => String
|
881
939
|
# * {Types::ListPackagingConfigurationsResponse#packaging_configurations #packaging_configurations} => Array<Types::PackagingConfiguration>
|
882
940
|
#
|
941
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
942
|
+
#
|
883
943
|
# @example Request syntax with placeholder values
|
884
944
|
#
|
885
945
|
# resp = client.list_packaging_configurations({
|
@@ -952,6 +1012,8 @@ module Aws::MediaPackageVod
|
|
952
1012
|
# resp.packaging_configurations[0].mss_package.mss_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
953
1013
|
# resp.packaging_configurations[0].mss_package.segment_duration_seconds #=> Integer
|
954
1014
|
# resp.packaging_configurations[0].packaging_group_id #=> String
|
1015
|
+
# resp.packaging_configurations[0].tags #=> Hash
|
1016
|
+
# resp.packaging_configurations[0].tags["__string"] #=> String
|
955
1017
|
#
|
956
1018
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingConfigurations AWS API Documentation
|
957
1019
|
#
|
@@ -973,6 +1035,8 @@ module Aws::MediaPackageVod
|
|
973
1035
|
# * {Types::ListPackagingGroupsResponse#next_token #next_token} => String
|
974
1036
|
# * {Types::ListPackagingGroupsResponse#packaging_groups #packaging_groups} => Array<Types::PackagingGroup>
|
975
1037
|
#
|
1038
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1039
|
+
#
|
976
1040
|
# @example Request syntax with placeholder values
|
977
1041
|
#
|
978
1042
|
# resp = client.list_packaging_groups({
|
@@ -985,8 +1049,12 @@ module Aws::MediaPackageVod
|
|
985
1049
|
# resp.next_token #=> String
|
986
1050
|
# resp.packaging_groups #=> Array
|
987
1051
|
# resp.packaging_groups[0].arn #=> String
|
1052
|
+
# resp.packaging_groups[0].authorization.cdn_identifier_secret #=> String
|
1053
|
+
# resp.packaging_groups[0].authorization.secrets_role_arn #=> String
|
988
1054
|
# resp.packaging_groups[0].domain_name #=> String
|
989
1055
|
# resp.packaging_groups[0].id #=> String
|
1056
|
+
# resp.packaging_groups[0].tags #=> Hash
|
1057
|
+
# resp.packaging_groups[0].tags["__string"] #=> String
|
990
1058
|
#
|
991
1059
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingGroups AWS API Documentation
|
992
1060
|
#
|
@@ -997,6 +1065,131 @@ module Aws::MediaPackageVod
|
|
997
1065
|
req.send_request(options)
|
998
1066
|
end
|
999
1067
|
|
1068
|
+
# Returns a list of the tags assigned to the specified resource.
|
1069
|
+
#
|
1070
|
+
# @option params [required, String] :resource_arn
|
1071
|
+
#
|
1072
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1073
|
+
#
|
1074
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
1075
|
+
#
|
1076
|
+
# @example Request syntax with placeholder values
|
1077
|
+
#
|
1078
|
+
# resp = client.list_tags_for_resource({
|
1079
|
+
# resource_arn: "__string", # required
|
1080
|
+
# })
|
1081
|
+
#
|
1082
|
+
# @example Response structure
|
1083
|
+
#
|
1084
|
+
# resp.tags #=> Hash
|
1085
|
+
# resp.tags["__string"] #=> String
|
1086
|
+
#
|
1087
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListTagsForResource AWS API Documentation
|
1088
|
+
#
|
1089
|
+
# @overload list_tags_for_resource(params = {})
|
1090
|
+
# @param [Hash] params ({})
|
1091
|
+
def list_tags_for_resource(params = {}, options = {})
|
1092
|
+
req = build_request(:list_tags_for_resource, params)
|
1093
|
+
req.send_request(options)
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
# Adds tags to the specified resource. You can specify one or more tags
|
1097
|
+
# to add.
|
1098
|
+
#
|
1099
|
+
# @option params [required, String] :resource_arn
|
1100
|
+
#
|
1101
|
+
# @option params [required, Hash<String,String>] :tags
|
1102
|
+
#
|
1103
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1104
|
+
#
|
1105
|
+
# @example Request syntax with placeholder values
|
1106
|
+
#
|
1107
|
+
# resp = client.tag_resource({
|
1108
|
+
# resource_arn: "__string", # required
|
1109
|
+
# tags: { # required
|
1110
|
+
# "__string" => "__string",
|
1111
|
+
# },
|
1112
|
+
# })
|
1113
|
+
#
|
1114
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/TagResource AWS API Documentation
|
1115
|
+
#
|
1116
|
+
# @overload tag_resource(params = {})
|
1117
|
+
# @param [Hash] params ({})
|
1118
|
+
def tag_resource(params = {}, options = {})
|
1119
|
+
req = build_request(:tag_resource, params)
|
1120
|
+
req.send_request(options)
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
# Removes tags from the specified resource. You can specify one or more
|
1124
|
+
# tags to remove.
|
1125
|
+
#
|
1126
|
+
# @option params [required, String] :resource_arn
|
1127
|
+
#
|
1128
|
+
# @option params [required, Array<String>] :tag_keys
|
1129
|
+
#
|
1130
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1131
|
+
#
|
1132
|
+
# @example Request syntax with placeholder values
|
1133
|
+
#
|
1134
|
+
# resp = client.untag_resource({
|
1135
|
+
# resource_arn: "__string", # required
|
1136
|
+
# tag_keys: ["__string"], # required
|
1137
|
+
# })
|
1138
|
+
#
|
1139
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/UntagResource AWS API Documentation
|
1140
|
+
#
|
1141
|
+
# @overload untag_resource(params = {})
|
1142
|
+
# @param [Hash] params ({})
|
1143
|
+
def untag_resource(params = {}, options = {})
|
1144
|
+
req = build_request(:untag_resource, params)
|
1145
|
+
req.send_request(options)
|
1146
|
+
end
|
1147
|
+
|
1148
|
+
# Updates a specific packaging group. You can't change the id attribute
|
1149
|
+
# or any other system-generated attributes.
|
1150
|
+
#
|
1151
|
+
# @option params [Types::Authorization] :authorization
|
1152
|
+
# CDN Authorization credentials
|
1153
|
+
#
|
1154
|
+
# @option params [required, String] :id
|
1155
|
+
#
|
1156
|
+
# @return [Types::UpdatePackagingGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1157
|
+
#
|
1158
|
+
# * {Types::UpdatePackagingGroupResponse#arn #arn} => String
|
1159
|
+
# * {Types::UpdatePackagingGroupResponse#authorization #authorization} => Types::Authorization
|
1160
|
+
# * {Types::UpdatePackagingGroupResponse#domain_name #domain_name} => String
|
1161
|
+
# * {Types::UpdatePackagingGroupResponse#id #id} => String
|
1162
|
+
# * {Types::UpdatePackagingGroupResponse#tags #tags} => Hash<String,String>
|
1163
|
+
#
|
1164
|
+
# @example Request syntax with placeholder values
|
1165
|
+
#
|
1166
|
+
# resp = client.update_packaging_group({
|
1167
|
+
# authorization: {
|
1168
|
+
# cdn_identifier_secret: "__string", # required
|
1169
|
+
# secrets_role_arn: "__string", # required
|
1170
|
+
# },
|
1171
|
+
# id: "__string", # required
|
1172
|
+
# })
|
1173
|
+
#
|
1174
|
+
# @example Response structure
|
1175
|
+
#
|
1176
|
+
# resp.arn #=> String
|
1177
|
+
# resp.authorization.cdn_identifier_secret #=> String
|
1178
|
+
# resp.authorization.secrets_role_arn #=> String
|
1179
|
+
# resp.domain_name #=> String
|
1180
|
+
# resp.id #=> String
|
1181
|
+
# resp.tags #=> Hash
|
1182
|
+
# resp.tags["__string"] #=> String
|
1183
|
+
#
|
1184
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/UpdatePackagingGroup AWS API Documentation
|
1185
|
+
#
|
1186
|
+
# @overload update_packaging_group(params = {})
|
1187
|
+
# @param [Hash] params ({})
|
1188
|
+
def update_packaging_group(params = {}, options = {})
|
1189
|
+
req = build_request(:update_packaging_group, params)
|
1190
|
+
req.send_request(options)
|
1191
|
+
end
|
1192
|
+
|
1000
1193
|
# @!endgroup
|
1001
1194
|
|
1002
1195
|
# @param params ({})
|
@@ -1010,7 +1203,7 @@ module Aws::MediaPackageVod
|
|
1010
1203
|
params: params,
|
1011
1204
|
config: config)
|
1012
1205
|
context[:gem_name] = 'aws-sdk-mediapackagevod'
|
1013
|
-
context[:gem_version] = '1.
|
1206
|
+
context[:gem_version] = '1.15.1'
|
1014
1207
|
Seahorse::Client::Request.new(handlers, context)
|
1015
1208
|
end
|
1016
1209
|
|