aws-sdk-ivs 1.44.0 → 1.45.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ivs/client.rb +278 -6
- data/lib/aws-sdk-ivs/client_api.rb +154 -0
- data/lib/aws-sdk-ivs/endpoints.rb +70 -0
- data/lib/aws-sdk-ivs/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-ivs/types.rb +366 -11
- data/lib/aws-sdk-ivs.rb +1 -1
- data/sig/client.rbs +59 -0
- data/sig/types.rbs +80 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea9dad52261a86d13e6567572c23ccc5f82a9232179af9eae22975658fc89e74
|
4
|
+
data.tar.gz: ed194a86f39d96f63cbfe8276c86bc1308a6107b9b70240c6def5b405a6ab829
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f701f03942ae4919d44844942c1dfb3b6dc38b5bbbc5c347dbdc425b644e72113aec2bb6769a81eed8cbe09aa29164c6078de45b03081da91775680fde47a15
|
7
|
+
data.tar.gz: c463fe2f804312396855aca580f7475794ead60137684584155479f69255cf6776ae7a7c6d5b859e94f255dbd75d29fedcf03d598e3af8e9f3bc9363e74c9a6d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.45.0 (2024-02-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces a new resource Playback Restriction Policy which can be used to geo-restrict or domain-restrict channel stream playback when associated with a channel. New APIs to support this resource were introduced in the form of Create/Delete/Get/Update/List.
|
8
|
+
|
4
9
|
1.44.0 (2024-01-26)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.45.0
|
data/lib/aws-sdk-ivs/client.rb
CHANGED
@@ -413,6 +413,7 @@ module Aws::IVS
|
|
413
413
|
# resp.channels[0].insecure_ingest #=> Boolean
|
414
414
|
# resp.channels[0].latency_mode #=> String, one of "NORMAL", "LOW"
|
415
415
|
# resp.channels[0].name #=> String
|
416
|
+
# resp.channels[0].playback_restriction_policy_arn #=> String
|
416
417
|
# resp.channels[0].playback_url #=> String
|
417
418
|
# resp.channels[0].preset #=> String, one of "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY"
|
418
419
|
# resp.channels[0].recording_configuration_arn #=> String
|
@@ -528,6 +529,11 @@ module Aws::IVS
|
|
528
529
|
# @option params [String] :name
|
529
530
|
# Channel name.
|
530
531
|
#
|
532
|
+
# @option params [String] :playback_restriction_policy_arn
|
533
|
+
# Playback-restriction-policy ARN. A valid ARN value here both specifies
|
534
|
+
# the ARN and enables playback restriction. Default: "" (empty string,
|
535
|
+
# no playback restriction policy is applied).
|
536
|
+
#
|
531
537
|
# @option params [String] :preset
|
532
538
|
# Optional transcode preset for the channel. This is selectable only for
|
533
539
|
# `ADVANCED_HD` and `ADVANCED_SD` channel types. For those channel
|
@@ -536,7 +542,8 @@ module Aws::IVS
|
|
536
542
|
# (`""`).
|
537
543
|
#
|
538
544
|
# @option params [String] :recording_configuration_arn
|
539
|
-
# Recording-configuration ARN.
|
545
|
+
# Recording-configuration ARN. A valid ARN value here both specifies the
|
546
|
+
# ARN and enables recording. Default: "" (empty string, recording is
|
540
547
|
# disabled).
|
541
548
|
#
|
542
549
|
# @option params [Hash<String,String>] :tags
|
@@ -572,6 +579,7 @@ module Aws::IVS
|
|
572
579
|
# insecure_ingest: false,
|
573
580
|
# latency_mode: "NORMAL", # accepts NORMAL, LOW
|
574
581
|
# name: "ChannelName",
|
582
|
+
# playback_restriction_policy_arn: "ChannelPlaybackRestrictionPolicyArn",
|
575
583
|
# preset: "HIGHER_BANDWIDTH_DELIVERY", # accepts HIGHER_BANDWIDTH_DELIVERY, CONSTRAINED_BANDWIDTH_DELIVERY
|
576
584
|
# recording_configuration_arn: "ChannelRecordingConfigurationArn",
|
577
585
|
# tags: {
|
@@ -588,6 +596,7 @@ module Aws::IVS
|
|
588
596
|
# resp.channel.insecure_ingest #=> Boolean
|
589
597
|
# resp.channel.latency_mode #=> String, one of "NORMAL", "LOW"
|
590
598
|
# resp.channel.name #=> String
|
599
|
+
# resp.channel.playback_restriction_policy_arn #=> String
|
591
600
|
# resp.channel.playback_url #=> String
|
592
601
|
# resp.channel.preset #=> String, one of "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY"
|
593
602
|
# resp.channel.recording_configuration_arn #=> String
|
@@ -609,6 +618,84 @@ module Aws::IVS
|
|
609
618
|
req.send_request(options)
|
610
619
|
end
|
611
620
|
|
621
|
+
# Creates a new playback restriction policy, for constraining playback
|
622
|
+
# by countries and/or origins.
|
623
|
+
#
|
624
|
+
# @option params [Array<String>] :allowed_countries
|
625
|
+
# A list of country codes that control geoblocking restriction. Allowed
|
626
|
+
# values are the officially assigned [ISO 3166-1 alpha-2][1] codes.
|
627
|
+
# Default: All countries (an empty array).
|
628
|
+
#
|
629
|
+
#
|
630
|
+
#
|
631
|
+
# [1]: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
|
632
|
+
#
|
633
|
+
# @option params [Array<String>] :allowed_origins
|
634
|
+
# A list of origin sites that control CORS restriction. Allowed values
|
635
|
+
# are the same as valid values of the Origin header defined at
|
636
|
+
# [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin][1].
|
637
|
+
# Default: All origins (an empty array).
|
638
|
+
#
|
639
|
+
#
|
640
|
+
#
|
641
|
+
# [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin
|
642
|
+
#
|
643
|
+
# @option params [Boolean] :enable_strict_origin_enforcement
|
644
|
+
# Whether channel playback is constrained by origin site. Default:
|
645
|
+
# `false`.
|
646
|
+
#
|
647
|
+
# @option params [String] :name
|
648
|
+
# Playback-restriction-policy name. The value does not need to be
|
649
|
+
# unique.
|
650
|
+
#
|
651
|
+
# @option params [Hash<String,String>] :tags
|
652
|
+
# Array of 1-50 maps, each of the form `string:string (key:value)`. See
|
653
|
+
# [Tagging Amazon Web Services Resources][1] for more information,
|
654
|
+
# including restrictions that apply to tags and "Tag naming limits and
|
655
|
+
# requirements"; Amazon IVS has no service-specific constraints beyond
|
656
|
+
# what is documented there.
|
657
|
+
#
|
658
|
+
#
|
659
|
+
#
|
660
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
661
|
+
#
|
662
|
+
# @return [Types::CreatePlaybackRestrictionPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
663
|
+
#
|
664
|
+
# * {Types::CreatePlaybackRestrictionPolicyResponse#playback_restriction_policy #playback_restriction_policy} => Types::PlaybackRestrictionPolicy
|
665
|
+
#
|
666
|
+
# @example Request syntax with placeholder values
|
667
|
+
#
|
668
|
+
# resp = client.create_playback_restriction_policy({
|
669
|
+
# allowed_countries: ["PlaybackRestrictionPolicyAllowedCountry"],
|
670
|
+
# allowed_origins: ["PlaybackRestrictionPolicyAllowedOrigin"],
|
671
|
+
# enable_strict_origin_enforcement: false,
|
672
|
+
# name: "PlaybackRestrictionPolicyName",
|
673
|
+
# tags: {
|
674
|
+
# "TagKey" => "TagValue",
|
675
|
+
# },
|
676
|
+
# })
|
677
|
+
#
|
678
|
+
# @example Response structure
|
679
|
+
#
|
680
|
+
# resp.playback_restriction_policy.allowed_countries #=> Array
|
681
|
+
# resp.playback_restriction_policy.allowed_countries[0] #=> String
|
682
|
+
# resp.playback_restriction_policy.allowed_origins #=> Array
|
683
|
+
# resp.playback_restriction_policy.allowed_origins[0] #=> String
|
684
|
+
# resp.playback_restriction_policy.arn #=> String
|
685
|
+
# resp.playback_restriction_policy.enable_strict_origin_enforcement #=> Boolean
|
686
|
+
# resp.playback_restriction_policy.name #=> String
|
687
|
+
# resp.playback_restriction_policy.tags #=> Hash
|
688
|
+
# resp.playback_restriction_policy.tags["TagKey"] #=> String
|
689
|
+
#
|
690
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreatePlaybackRestrictionPolicy AWS API Documentation
|
691
|
+
#
|
692
|
+
# @overload create_playback_restriction_policy(params = {})
|
693
|
+
# @param [Hash] params ({})
|
694
|
+
def create_playback_restriction_policy(params = {}, options = {})
|
695
|
+
req = build_request(:create_playback_restriction_policy, params)
|
696
|
+
req.send_request(options)
|
697
|
+
end
|
698
|
+
|
612
699
|
# Creates a new recording configuration, used to enable recording to
|
613
700
|
# Amazon S3.
|
614
701
|
#
|
@@ -827,6 +914,28 @@ module Aws::IVS
|
|
827
914
|
req.send_request(options)
|
828
915
|
end
|
829
916
|
|
917
|
+
# Deletes the specified playback restriction policy.
|
918
|
+
#
|
919
|
+
# @option params [required, String] :arn
|
920
|
+
# ARN of the playback restriction policy to be deleted.
|
921
|
+
#
|
922
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
923
|
+
#
|
924
|
+
# @example Request syntax with placeholder values
|
925
|
+
#
|
926
|
+
# resp = client.delete_playback_restriction_policy({
|
927
|
+
# arn: "PlaybackRestrictionPolicyArn", # required
|
928
|
+
# })
|
929
|
+
#
|
930
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeletePlaybackRestrictionPolicy AWS API Documentation
|
931
|
+
#
|
932
|
+
# @overload delete_playback_restriction_policy(params = {})
|
933
|
+
# @param [Hash] params ({})
|
934
|
+
def delete_playback_restriction_policy(params = {}, options = {})
|
935
|
+
req = build_request(:delete_playback_restriction_policy, params)
|
936
|
+
req.send_request(options)
|
937
|
+
end
|
938
|
+
|
830
939
|
# Deletes the recording configuration for the specified ARN.
|
831
940
|
#
|
832
941
|
# If you try to delete a recording configuration that is associated with
|
@@ -902,6 +1011,7 @@ module Aws::IVS
|
|
902
1011
|
# resp.channel.insecure_ingest #=> Boolean
|
903
1012
|
# resp.channel.latency_mode #=> String, one of "NORMAL", "LOW"
|
904
1013
|
# resp.channel.name #=> String
|
1014
|
+
# resp.channel.playback_restriction_policy_arn #=> String
|
905
1015
|
# resp.channel.playback_url #=> String
|
906
1016
|
# resp.channel.preset #=> String, one of "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY"
|
907
1017
|
# resp.channel.recording_configuration_arn #=> String
|
@@ -958,6 +1068,42 @@ module Aws::IVS
|
|
958
1068
|
req.send_request(options)
|
959
1069
|
end
|
960
1070
|
|
1071
|
+
# Gets the specified playback restriction policy.
|
1072
|
+
#
|
1073
|
+
# @option params [required, String] :arn
|
1074
|
+
# ARN of the playback restriction policy to be returned.
|
1075
|
+
#
|
1076
|
+
# @return [Types::GetPlaybackRestrictionPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1077
|
+
#
|
1078
|
+
# * {Types::GetPlaybackRestrictionPolicyResponse#playback_restriction_policy #playback_restriction_policy} => Types::PlaybackRestrictionPolicy
|
1079
|
+
#
|
1080
|
+
# @example Request syntax with placeholder values
|
1081
|
+
#
|
1082
|
+
# resp = client.get_playback_restriction_policy({
|
1083
|
+
# arn: "PlaybackRestrictionPolicyArn", # required
|
1084
|
+
# })
|
1085
|
+
#
|
1086
|
+
# @example Response structure
|
1087
|
+
#
|
1088
|
+
# resp.playback_restriction_policy.allowed_countries #=> Array
|
1089
|
+
# resp.playback_restriction_policy.allowed_countries[0] #=> String
|
1090
|
+
# resp.playback_restriction_policy.allowed_origins #=> Array
|
1091
|
+
# resp.playback_restriction_policy.allowed_origins[0] #=> String
|
1092
|
+
# resp.playback_restriction_policy.arn #=> String
|
1093
|
+
# resp.playback_restriction_policy.enable_strict_origin_enforcement #=> Boolean
|
1094
|
+
# resp.playback_restriction_policy.name #=> String
|
1095
|
+
# resp.playback_restriction_policy.tags #=> Hash
|
1096
|
+
# resp.playback_restriction_policy.tags["TagKey"] #=> String
|
1097
|
+
#
|
1098
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetPlaybackRestrictionPolicy AWS API Documentation
|
1099
|
+
#
|
1100
|
+
# @overload get_playback_restriction_policy(params = {})
|
1101
|
+
# @param [Hash] params ({})
|
1102
|
+
def get_playback_restriction_policy(params = {}, options = {})
|
1103
|
+
req = build_request(:get_playback_restriction_policy, params)
|
1104
|
+
req.send_request(options)
|
1105
|
+
end
|
1106
|
+
|
961
1107
|
# Gets the recording configuration for the specified ARN.
|
962
1108
|
#
|
963
1109
|
# @option params [required, String] :arn
|
@@ -1096,6 +1242,7 @@ module Aws::IVS
|
|
1096
1242
|
# resp.stream_session.channel.insecure_ingest #=> Boolean
|
1097
1243
|
# resp.stream_session.channel.latency_mode #=> String, one of "NORMAL", "LOW"
|
1098
1244
|
# resp.stream_session.channel.name #=> String
|
1245
|
+
# resp.stream_session.channel.playback_restriction_policy_arn #=> String
|
1099
1246
|
# resp.stream_session.channel.playback_url #=> String
|
1100
1247
|
# resp.stream_session.channel.preset #=> String, one of "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY"
|
1101
1248
|
# resp.stream_session.channel.recording_configuration_arn #=> String
|
@@ -1214,6 +1361,9 @@ module Aws::IVS
|
|
1214
1361
|
# @option params [String] :filter_by_name
|
1215
1362
|
# Filters the channel list to match the specified name.
|
1216
1363
|
#
|
1364
|
+
# @option params [String] :filter_by_playback_restriction_policy_arn
|
1365
|
+
# Filters the channel list to match the specified policy.
|
1366
|
+
#
|
1217
1367
|
# @option params [String] :filter_by_recording_configuration_arn
|
1218
1368
|
# Filters the channel list to match the specified
|
1219
1369
|
# recording-configuration ARN.
|
@@ -1236,6 +1386,7 @@ module Aws::IVS
|
|
1236
1386
|
#
|
1237
1387
|
# resp = client.list_channels({
|
1238
1388
|
# filter_by_name: "ChannelName",
|
1389
|
+
# filter_by_playback_restriction_policy_arn: "ChannelPlaybackRestrictionPolicyArn",
|
1239
1390
|
# filter_by_recording_configuration_arn: "ChannelRecordingConfigurationArn",
|
1240
1391
|
# max_results: 1,
|
1241
1392
|
# next_token: "PaginationToken",
|
@@ -1249,6 +1400,7 @@ module Aws::IVS
|
|
1249
1400
|
# resp.channels[0].insecure_ingest #=> Boolean
|
1250
1401
|
# resp.channels[0].latency_mode #=> String, one of "NORMAL", "LOW"
|
1251
1402
|
# resp.channels[0].name #=> String
|
1403
|
+
# resp.channels[0].playback_restriction_policy_arn #=> String
|
1252
1404
|
# resp.channels[0].preset #=> String, one of "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY"
|
1253
1405
|
# resp.channels[0].recording_configuration_arn #=> String
|
1254
1406
|
# resp.channels[0].tags #=> Hash
|
@@ -1313,6 +1465,52 @@ module Aws::IVS
|
|
1313
1465
|
req.send_request(options)
|
1314
1466
|
end
|
1315
1467
|
|
1468
|
+
# Gets summary information about playback restriction policies.
|
1469
|
+
#
|
1470
|
+
# @option params [Integer] :max_results
|
1471
|
+
# Maximum number of policies to return. Default: 1.
|
1472
|
+
#
|
1473
|
+
# @option params [String] :next_token
|
1474
|
+
# The first policy to retrieve. This is used for pagination; see the
|
1475
|
+
# `nextToken` response field.
|
1476
|
+
#
|
1477
|
+
# @return [Types::ListPlaybackRestrictionPoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1478
|
+
#
|
1479
|
+
# * {Types::ListPlaybackRestrictionPoliciesResponse#next_token #next_token} => String
|
1480
|
+
# * {Types::ListPlaybackRestrictionPoliciesResponse#playback_restriction_policies #playback_restriction_policies} => Array<Types::PlaybackRestrictionPolicySummary>
|
1481
|
+
#
|
1482
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1483
|
+
#
|
1484
|
+
# @example Request syntax with placeholder values
|
1485
|
+
#
|
1486
|
+
# resp = client.list_playback_restriction_policies({
|
1487
|
+
# max_results: 1,
|
1488
|
+
# next_token: "PaginationToken",
|
1489
|
+
# })
|
1490
|
+
#
|
1491
|
+
# @example Response structure
|
1492
|
+
#
|
1493
|
+
# resp.next_token #=> String
|
1494
|
+
# resp.playback_restriction_policies #=> Array
|
1495
|
+
# resp.playback_restriction_policies[0].allowed_countries #=> Array
|
1496
|
+
# resp.playback_restriction_policies[0].allowed_countries[0] #=> String
|
1497
|
+
# resp.playback_restriction_policies[0].allowed_origins #=> Array
|
1498
|
+
# resp.playback_restriction_policies[0].allowed_origins[0] #=> String
|
1499
|
+
# resp.playback_restriction_policies[0].arn #=> String
|
1500
|
+
# resp.playback_restriction_policies[0].enable_strict_origin_enforcement #=> Boolean
|
1501
|
+
# resp.playback_restriction_policies[0].name #=> String
|
1502
|
+
# resp.playback_restriction_policies[0].tags #=> Hash
|
1503
|
+
# resp.playback_restriction_policies[0].tags["TagKey"] #=> String
|
1504
|
+
#
|
1505
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListPlaybackRestrictionPolicies AWS API Documentation
|
1506
|
+
#
|
1507
|
+
# @overload list_playback_restriction_policies(params = {})
|
1508
|
+
# @param [Hash] params ({})
|
1509
|
+
def list_playback_restriction_policies(params = {}, options = {})
|
1510
|
+
req = build_request(:list_playback_restriction_policies, params)
|
1511
|
+
req.send_request(options)
|
1512
|
+
end
|
1513
|
+
|
1316
1514
|
# Gets summary information about all recording configurations in your
|
1317
1515
|
# account, in the Amazon Web Services region where the API request is
|
1318
1516
|
# processed.
|
@@ -1683,7 +1881,7 @@ module Aws::IVS
|
|
1683
1881
|
#
|
1684
1882
|
# @option params [required, Array<String>] :tag_keys
|
1685
1883
|
# Array of tags to be removed. Array of maps, each of the form
|
1686
|
-
#
|
1884
|
+
# `string:string (key:value)`. See [Tagging Amazon Web Services
|
1687
1885
|
# Resources][1] for more information, including restrictions that apply
|
1688
1886
|
# to tags and "Tag naming limits and requirements"; Amazon IVS has no
|
1689
1887
|
# service-specific constraints beyond what is documented there.
|
@@ -1732,6 +1930,11 @@ module Aws::IVS
|
|
1732
1930
|
# @option params [String] :name
|
1733
1931
|
# Channel name.
|
1734
1932
|
#
|
1933
|
+
# @option params [String] :playback_restriction_policy_arn
|
1934
|
+
# Playback-restriction-policy ARN. A valid ARN value here both specifies
|
1935
|
+
# the ARN and enables playback restriction. If this is set to an empty
|
1936
|
+
# string, playback restriction policy is disabled.
|
1937
|
+
#
|
1735
1938
|
# @option params [String] :preset
|
1736
1939
|
# Optional transcode preset for the channel. This is selectable only for
|
1737
1940
|
# `ADVANCED_HD` and `ADVANCED_SD` channel types. For those channel
|
@@ -1740,9 +1943,9 @@ module Aws::IVS
|
|
1740
1943
|
# (`""`).
|
1741
1944
|
#
|
1742
1945
|
# @option params [String] :recording_configuration_arn
|
1743
|
-
# Recording-configuration ARN.
|
1744
|
-
#
|
1745
|
-
#
|
1946
|
+
# Recording-configuration ARN. A valid ARN value here both specifies the
|
1947
|
+
# ARN and enables recording. If this is set to an empty string,
|
1948
|
+
# recording is disabled.
|
1746
1949
|
#
|
1747
1950
|
# @option params [String] :type
|
1748
1951
|
# Channel type, which determines the allowable resolution and bitrate.
|
@@ -1766,6 +1969,7 @@ module Aws::IVS
|
|
1766
1969
|
# insecure_ingest: false,
|
1767
1970
|
# latency_mode: "NORMAL", # accepts NORMAL, LOW
|
1768
1971
|
# name: "ChannelName",
|
1972
|
+
# playback_restriction_policy_arn: "ChannelPlaybackRestrictionPolicyArn",
|
1769
1973
|
# preset: "HIGHER_BANDWIDTH_DELIVERY", # accepts HIGHER_BANDWIDTH_DELIVERY, CONSTRAINED_BANDWIDTH_DELIVERY
|
1770
1974
|
# recording_configuration_arn: "ChannelRecordingConfigurationArn",
|
1771
1975
|
# type: "BASIC", # accepts BASIC, STANDARD, ADVANCED_SD, ADVANCED_HD
|
@@ -1779,6 +1983,7 @@ module Aws::IVS
|
|
1779
1983
|
# resp.channel.insecure_ingest #=> Boolean
|
1780
1984
|
# resp.channel.latency_mode #=> String, one of "NORMAL", "LOW"
|
1781
1985
|
# resp.channel.name #=> String
|
1986
|
+
# resp.channel.playback_restriction_policy_arn #=> String
|
1782
1987
|
# resp.channel.playback_url #=> String
|
1783
1988
|
# resp.channel.preset #=> String, one of "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY"
|
1784
1989
|
# resp.channel.recording_configuration_arn #=> String
|
@@ -1795,6 +2000,73 @@ module Aws::IVS
|
|
1795
2000
|
req.send_request(options)
|
1796
2001
|
end
|
1797
2002
|
|
2003
|
+
# Updates a specified playback restriction policy.
|
2004
|
+
#
|
2005
|
+
# @option params [Array<String>] :allowed_countries
|
2006
|
+
# A list of country codes that control geoblocking restriction. Allowed
|
2007
|
+
# values are the officially assigned [ISO 3166-1 alpha-2][1] codes.
|
2008
|
+
# Default: All countries (an empty array).
|
2009
|
+
#
|
2010
|
+
#
|
2011
|
+
#
|
2012
|
+
# [1]: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
|
2013
|
+
#
|
2014
|
+
# @option params [Array<String>] :allowed_origins
|
2015
|
+
# A list of origin sites that control CORS restriction. Allowed values
|
2016
|
+
# are the same as valid values of the Origin header defined at
|
2017
|
+
# [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin][1].
|
2018
|
+
# Default: All origins (an empty array).
|
2019
|
+
#
|
2020
|
+
#
|
2021
|
+
#
|
2022
|
+
# [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin
|
2023
|
+
#
|
2024
|
+
# @option params [required, String] :arn
|
2025
|
+
# ARN of the playback-restriction-policy to be updated.
|
2026
|
+
#
|
2027
|
+
# @option params [Boolean] :enable_strict_origin_enforcement
|
2028
|
+
# Whether channel playback is constrained by origin site. Default:
|
2029
|
+
# `false`.
|
2030
|
+
#
|
2031
|
+
# @option params [String] :name
|
2032
|
+
# Playback-restriction-policy name. The value does not need to be
|
2033
|
+
# unique.
|
2034
|
+
#
|
2035
|
+
# @return [Types::UpdatePlaybackRestrictionPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2036
|
+
#
|
2037
|
+
# * {Types::UpdatePlaybackRestrictionPolicyResponse#playback_restriction_policy #playback_restriction_policy} => Types::PlaybackRestrictionPolicy
|
2038
|
+
#
|
2039
|
+
# @example Request syntax with placeholder values
|
2040
|
+
#
|
2041
|
+
# resp = client.update_playback_restriction_policy({
|
2042
|
+
# allowed_countries: ["PlaybackRestrictionPolicyAllowedCountry"],
|
2043
|
+
# allowed_origins: ["PlaybackRestrictionPolicyAllowedOrigin"],
|
2044
|
+
# arn: "PlaybackRestrictionPolicyArn", # required
|
2045
|
+
# enable_strict_origin_enforcement: false,
|
2046
|
+
# name: "PlaybackRestrictionPolicyName",
|
2047
|
+
# })
|
2048
|
+
#
|
2049
|
+
# @example Response structure
|
2050
|
+
#
|
2051
|
+
# resp.playback_restriction_policy.allowed_countries #=> Array
|
2052
|
+
# resp.playback_restriction_policy.allowed_countries[0] #=> String
|
2053
|
+
# resp.playback_restriction_policy.allowed_origins #=> Array
|
2054
|
+
# resp.playback_restriction_policy.allowed_origins[0] #=> String
|
2055
|
+
# resp.playback_restriction_policy.arn #=> String
|
2056
|
+
# resp.playback_restriction_policy.enable_strict_origin_enforcement #=> Boolean
|
2057
|
+
# resp.playback_restriction_policy.name #=> String
|
2058
|
+
# resp.playback_restriction_policy.tags #=> Hash
|
2059
|
+
# resp.playback_restriction_policy.tags["TagKey"] #=> String
|
2060
|
+
#
|
2061
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UpdatePlaybackRestrictionPolicy AWS API Documentation
|
2062
|
+
#
|
2063
|
+
# @overload update_playback_restriction_policy(params = {})
|
2064
|
+
# @param [Hash] params ({})
|
2065
|
+
def update_playback_restriction_policy(params = {}, options = {})
|
2066
|
+
req = build_request(:update_playback_restriction_policy, params)
|
2067
|
+
req.send_request(options)
|
2068
|
+
end
|
2069
|
+
|
1798
2070
|
# @!endgroup
|
1799
2071
|
|
1800
2072
|
# @param params ({})
|
@@ -1808,7 +2080,7 @@ module Aws::IVS
|
|
1808
2080
|
params: params,
|
1809
2081
|
config: config)
|
1810
2082
|
context[:gem_name] = 'aws-sdk-ivs'
|
1811
|
-
context[:gem_version] = '1.
|
2083
|
+
context[:gem_version] = '1.45.0'
|
1812
2084
|
Seahorse::Client::Request.new(handlers, context)
|
1813
2085
|
end
|
1814
2086
|
|