aws-sdk-ivs 1.44.0 → 1.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a562bf10a870b5cb1569ae4453e54efb907dd49338d3869fe41d99a8ab5cceba
4
- data.tar.gz: b8cdf7c63efa0b309ffc25f644e508211189d8c83dd7066bd89edbb291cdf562
3
+ metadata.gz: b403c17bcfacaba3005bef4f5c2841774b57287460c67032c24177d86c1dde2a
4
+ data.tar.gz: 347984ef565c4f2b1aad75b210e75f48ee020a9930d77e1c4862352905eb736a
5
5
  SHA512:
6
- metadata.gz: a957d24b8aba5ffc2f59bf9d7a886d5c1c8c9fe048c6855302795e563f6c69eb9fb21e4d27b65c4d646d6c4697605af35b9e1eb6b1f83a450be1693096c184c8
7
- data.tar.gz: e4eda01b51d72ce7b863f3d1cae10fce6b34418c1e5c463fee6dd66268222f70e3868881db4f9e9f043422f702ba4bebff0063b3c11cc9e8187cbb49d4a4a598
6
+ metadata.gz: 7265c17eb3ee0cd74ae739576c578fae234da4ec154ec7330168d39fa8aa0d390109ac74a0632845679834612a50d869e210f3da712cee7a731e1d22c673f28e
7
+ data.tar.gz: c704609566ba5e6ffec31413f42627e7037a67a2b34536d99a9c3aae9a02139a0c829fd9887750081a9455cb4a42c9eb1fe0837914e4c6c8e31cd2717d288f8f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.46.0 (2024-04-04)
5
+ ------------------
6
+
7
+ * Feature - API update to include an SRT ingest endpoint and passphrase for all channels.
8
+
9
+ 1.45.0 (2024-02-01)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.44.0 (2024-01-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.44.0
1
+ 1.46.0
@@ -413,9 +413,12 @@ 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
420
+ # resp.channels[0].srt.endpoint #=> String
421
+ # resp.channels[0].srt.passphrase #=> String
419
422
  # resp.channels[0].tags #=> Hash
420
423
  # resp.channels[0].tags["TagKey"] #=> String
421
424
  # resp.channels[0].type #=> String, one of "BASIC", "STANDARD", "ADVANCED_SD", "ADVANCED_HD"
@@ -517,17 +520,22 @@ module Aws::IVS
517
520
  # Default: `false`.
518
521
  #
519
522
  # @option params [Boolean] :insecure_ingest
520
- # Whether the channel allows insecure RTMP ingest. Default: `false`.
523
+ # Whether the channel allows insecure RTMP and SRT ingest. Default:
524
+ # `false`.
521
525
  #
522
526
  # @option params [String] :latency_mode
523
527
  # Channel latency mode. Use `NORMAL` to broadcast and deliver live video
524
528
  # up to Full HD. Use `LOW` for near-real-time interaction with viewers.
525
- # (Note: In the Amazon IVS console, `LOW` and `NORMAL` correspond to
526
- # Ultra-low and Standard, respectively.) Default: `LOW`.
529
+ # Default: `LOW`.
527
530
  #
528
531
  # @option params [String] :name
529
532
  # Channel name.
530
533
  #
534
+ # @option params [String] :playback_restriction_policy_arn
535
+ # Playback-restriction-policy ARN. A valid ARN value here both specifies
536
+ # the ARN and enables playback restriction. Default: "" (empty string,
537
+ # no playback restriction policy is applied).
538
+ #
531
539
  # @option params [String] :preset
532
540
  # Optional transcode preset for the channel. This is selectable only for
533
541
  # `ADVANCED_HD` and `ADVANCED_SD` channel types. For those channel
@@ -536,7 +544,8 @@ module Aws::IVS
536
544
  # (`""`).
537
545
  #
538
546
  # @option params [String] :recording_configuration_arn
539
- # Recording-configuration ARN. Default: "" (empty string, recording is
547
+ # Recording-configuration ARN. A valid ARN value here both specifies the
548
+ # ARN and enables recording. Default: "" (empty string, recording is
540
549
  # disabled).
541
550
  #
542
551
  # @option params [Hash<String,String>] :tags
@@ -572,6 +581,7 @@ module Aws::IVS
572
581
  # insecure_ingest: false,
573
582
  # latency_mode: "NORMAL", # accepts NORMAL, LOW
574
583
  # name: "ChannelName",
584
+ # playback_restriction_policy_arn: "ChannelPlaybackRestrictionPolicyArn",
575
585
  # preset: "HIGHER_BANDWIDTH_DELIVERY", # accepts HIGHER_BANDWIDTH_DELIVERY, CONSTRAINED_BANDWIDTH_DELIVERY
576
586
  # recording_configuration_arn: "ChannelRecordingConfigurationArn",
577
587
  # tags: {
@@ -588,9 +598,12 @@ module Aws::IVS
588
598
  # resp.channel.insecure_ingest #=> Boolean
589
599
  # resp.channel.latency_mode #=> String, one of "NORMAL", "LOW"
590
600
  # resp.channel.name #=> String
601
+ # resp.channel.playback_restriction_policy_arn #=> String
591
602
  # resp.channel.playback_url #=> String
592
603
  # resp.channel.preset #=> String, one of "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY"
593
604
  # resp.channel.recording_configuration_arn #=> String
605
+ # resp.channel.srt.endpoint #=> String
606
+ # resp.channel.srt.passphrase #=> String
594
607
  # resp.channel.tags #=> Hash
595
608
  # resp.channel.tags["TagKey"] #=> String
596
609
  # resp.channel.type #=> String, one of "BASIC", "STANDARD", "ADVANCED_SD", "ADVANCED_HD"
@@ -609,6 +622,84 @@ module Aws::IVS
609
622
  req.send_request(options)
610
623
  end
611
624
 
625
+ # Creates a new playback restriction policy, for constraining playback
626
+ # by countries and/or origins.
627
+ #
628
+ # @option params [Array<String>] :allowed_countries
629
+ # A list of country codes that control geoblocking restriction. Allowed
630
+ # values are the officially assigned [ISO 3166-1 alpha-2][1] codes.
631
+ # Default: All countries (an empty array).
632
+ #
633
+ #
634
+ #
635
+ # [1]: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
636
+ #
637
+ # @option params [Array<String>] :allowed_origins
638
+ # A list of origin sites that control CORS restriction. Allowed values
639
+ # are the same as valid values of the Origin header defined at
640
+ # [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin][1].
641
+ # Default: All origins (an empty array).
642
+ #
643
+ #
644
+ #
645
+ # [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin
646
+ #
647
+ # @option params [Boolean] :enable_strict_origin_enforcement
648
+ # Whether channel playback is constrained by origin site. Default:
649
+ # `false`.
650
+ #
651
+ # @option params [String] :name
652
+ # Playback-restriction-policy name. The value does not need to be
653
+ # unique.
654
+ #
655
+ # @option params [Hash<String,String>] :tags
656
+ # Array of 1-50 maps, each of the form `string:string (key:value)`. See
657
+ # [Tagging Amazon Web Services Resources][1] for more information,
658
+ # including restrictions that apply to tags and "Tag naming limits and
659
+ # requirements"; Amazon IVS has no service-specific constraints beyond
660
+ # what is documented there.
661
+ #
662
+ #
663
+ #
664
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
665
+ #
666
+ # @return [Types::CreatePlaybackRestrictionPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
667
+ #
668
+ # * {Types::CreatePlaybackRestrictionPolicyResponse#playback_restriction_policy #playback_restriction_policy} => Types::PlaybackRestrictionPolicy
669
+ #
670
+ # @example Request syntax with placeholder values
671
+ #
672
+ # resp = client.create_playback_restriction_policy({
673
+ # allowed_countries: ["PlaybackRestrictionPolicyAllowedCountry"],
674
+ # allowed_origins: ["PlaybackRestrictionPolicyAllowedOrigin"],
675
+ # enable_strict_origin_enforcement: false,
676
+ # name: "PlaybackRestrictionPolicyName",
677
+ # tags: {
678
+ # "TagKey" => "TagValue",
679
+ # },
680
+ # })
681
+ #
682
+ # @example Response structure
683
+ #
684
+ # resp.playback_restriction_policy.allowed_countries #=> Array
685
+ # resp.playback_restriction_policy.allowed_countries[0] #=> String
686
+ # resp.playback_restriction_policy.allowed_origins #=> Array
687
+ # resp.playback_restriction_policy.allowed_origins[0] #=> String
688
+ # resp.playback_restriction_policy.arn #=> String
689
+ # resp.playback_restriction_policy.enable_strict_origin_enforcement #=> Boolean
690
+ # resp.playback_restriction_policy.name #=> String
691
+ # resp.playback_restriction_policy.tags #=> Hash
692
+ # resp.playback_restriction_policy.tags["TagKey"] #=> String
693
+ #
694
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreatePlaybackRestrictionPolicy AWS API Documentation
695
+ #
696
+ # @overload create_playback_restriction_policy(params = {})
697
+ # @param [Hash] params ({})
698
+ def create_playback_restriction_policy(params = {}, options = {})
699
+ req = build_request(:create_playback_restriction_policy, params)
700
+ req.send_request(options)
701
+ end
702
+
612
703
  # Creates a new recording configuration, used to enable recording to
613
704
  # Amazon S3.
614
705
  #
@@ -827,6 +918,28 @@ module Aws::IVS
827
918
  req.send_request(options)
828
919
  end
829
920
 
921
+ # Deletes the specified playback restriction policy.
922
+ #
923
+ # @option params [required, String] :arn
924
+ # ARN of the playback restriction policy to be deleted.
925
+ #
926
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
927
+ #
928
+ # @example Request syntax with placeholder values
929
+ #
930
+ # resp = client.delete_playback_restriction_policy({
931
+ # arn: "PlaybackRestrictionPolicyArn", # required
932
+ # })
933
+ #
934
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeletePlaybackRestrictionPolicy AWS API Documentation
935
+ #
936
+ # @overload delete_playback_restriction_policy(params = {})
937
+ # @param [Hash] params ({})
938
+ def delete_playback_restriction_policy(params = {}, options = {})
939
+ req = build_request(:delete_playback_restriction_policy, params)
940
+ req.send_request(options)
941
+ end
942
+
830
943
  # Deletes the recording configuration for the specified ARN.
831
944
  #
832
945
  # If you try to delete a recording configuration that is associated with
@@ -902,9 +1015,12 @@ module Aws::IVS
902
1015
  # resp.channel.insecure_ingest #=> Boolean
903
1016
  # resp.channel.latency_mode #=> String, one of "NORMAL", "LOW"
904
1017
  # resp.channel.name #=> String
1018
+ # resp.channel.playback_restriction_policy_arn #=> String
905
1019
  # resp.channel.playback_url #=> String
906
1020
  # resp.channel.preset #=> String, one of "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY"
907
1021
  # resp.channel.recording_configuration_arn #=> String
1022
+ # resp.channel.srt.endpoint #=> String
1023
+ # resp.channel.srt.passphrase #=> String
908
1024
  # resp.channel.tags #=> Hash
909
1025
  # resp.channel.tags["TagKey"] #=> String
910
1026
  # resp.channel.type #=> String, one of "BASIC", "STANDARD", "ADVANCED_SD", "ADVANCED_HD"
@@ -958,6 +1074,42 @@ module Aws::IVS
958
1074
  req.send_request(options)
959
1075
  end
960
1076
 
1077
+ # Gets the specified playback restriction policy.
1078
+ #
1079
+ # @option params [required, String] :arn
1080
+ # ARN of the playback restriction policy to be returned.
1081
+ #
1082
+ # @return [Types::GetPlaybackRestrictionPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1083
+ #
1084
+ # * {Types::GetPlaybackRestrictionPolicyResponse#playback_restriction_policy #playback_restriction_policy} => Types::PlaybackRestrictionPolicy
1085
+ #
1086
+ # @example Request syntax with placeholder values
1087
+ #
1088
+ # resp = client.get_playback_restriction_policy({
1089
+ # arn: "PlaybackRestrictionPolicyArn", # required
1090
+ # })
1091
+ #
1092
+ # @example Response structure
1093
+ #
1094
+ # resp.playback_restriction_policy.allowed_countries #=> Array
1095
+ # resp.playback_restriction_policy.allowed_countries[0] #=> String
1096
+ # resp.playback_restriction_policy.allowed_origins #=> Array
1097
+ # resp.playback_restriction_policy.allowed_origins[0] #=> String
1098
+ # resp.playback_restriction_policy.arn #=> String
1099
+ # resp.playback_restriction_policy.enable_strict_origin_enforcement #=> Boolean
1100
+ # resp.playback_restriction_policy.name #=> String
1101
+ # resp.playback_restriction_policy.tags #=> Hash
1102
+ # resp.playback_restriction_policy.tags["TagKey"] #=> String
1103
+ #
1104
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetPlaybackRestrictionPolicy AWS API Documentation
1105
+ #
1106
+ # @overload get_playback_restriction_policy(params = {})
1107
+ # @param [Hash] params ({})
1108
+ def get_playback_restriction_policy(params = {}, options = {})
1109
+ req = build_request(:get_playback_restriction_policy, params)
1110
+ req.send_request(options)
1111
+ end
1112
+
961
1113
  # Gets the recording configuration for the specified ARN.
962
1114
  #
963
1115
  # @option params [required, String] :arn
@@ -1096,9 +1248,12 @@ module Aws::IVS
1096
1248
  # resp.stream_session.channel.insecure_ingest #=> Boolean
1097
1249
  # resp.stream_session.channel.latency_mode #=> String, one of "NORMAL", "LOW"
1098
1250
  # resp.stream_session.channel.name #=> String
1251
+ # resp.stream_session.channel.playback_restriction_policy_arn #=> String
1099
1252
  # resp.stream_session.channel.playback_url #=> String
1100
1253
  # resp.stream_session.channel.preset #=> String, one of "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY"
1101
1254
  # resp.stream_session.channel.recording_configuration_arn #=> String
1255
+ # resp.stream_session.channel.srt.endpoint #=> String
1256
+ # resp.stream_session.channel.srt.passphrase #=> String
1102
1257
  # resp.stream_session.channel.tags #=> Hash
1103
1258
  # resp.stream_session.channel.tags["TagKey"] #=> String
1104
1259
  # resp.stream_session.channel.type #=> String, one of "BASIC", "STANDARD", "ADVANCED_SD", "ADVANCED_HD"
@@ -1214,6 +1369,9 @@ module Aws::IVS
1214
1369
  # @option params [String] :filter_by_name
1215
1370
  # Filters the channel list to match the specified name.
1216
1371
  #
1372
+ # @option params [String] :filter_by_playback_restriction_policy_arn
1373
+ # Filters the channel list to match the specified policy.
1374
+ #
1217
1375
  # @option params [String] :filter_by_recording_configuration_arn
1218
1376
  # Filters the channel list to match the specified
1219
1377
  # recording-configuration ARN.
@@ -1236,6 +1394,7 @@ module Aws::IVS
1236
1394
  #
1237
1395
  # resp = client.list_channels({
1238
1396
  # filter_by_name: "ChannelName",
1397
+ # filter_by_playback_restriction_policy_arn: "ChannelPlaybackRestrictionPolicyArn",
1239
1398
  # filter_by_recording_configuration_arn: "ChannelRecordingConfigurationArn",
1240
1399
  # max_results: 1,
1241
1400
  # next_token: "PaginationToken",
@@ -1249,6 +1408,7 @@ module Aws::IVS
1249
1408
  # resp.channels[0].insecure_ingest #=> Boolean
1250
1409
  # resp.channels[0].latency_mode #=> String, one of "NORMAL", "LOW"
1251
1410
  # resp.channels[0].name #=> String
1411
+ # resp.channels[0].playback_restriction_policy_arn #=> String
1252
1412
  # resp.channels[0].preset #=> String, one of "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY"
1253
1413
  # resp.channels[0].recording_configuration_arn #=> String
1254
1414
  # resp.channels[0].tags #=> Hash
@@ -1313,6 +1473,52 @@ module Aws::IVS
1313
1473
  req.send_request(options)
1314
1474
  end
1315
1475
 
1476
+ # Gets summary information about playback restriction policies.
1477
+ #
1478
+ # @option params [Integer] :max_results
1479
+ # Maximum number of policies to return. Default: 1.
1480
+ #
1481
+ # @option params [String] :next_token
1482
+ # The first policy to retrieve. This is used for pagination; see the
1483
+ # `nextToken` response field.
1484
+ #
1485
+ # @return [Types::ListPlaybackRestrictionPoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1486
+ #
1487
+ # * {Types::ListPlaybackRestrictionPoliciesResponse#next_token #next_token} => String
1488
+ # * {Types::ListPlaybackRestrictionPoliciesResponse#playback_restriction_policies #playback_restriction_policies} => Array&lt;Types::PlaybackRestrictionPolicySummary&gt;
1489
+ #
1490
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1491
+ #
1492
+ # @example Request syntax with placeholder values
1493
+ #
1494
+ # resp = client.list_playback_restriction_policies({
1495
+ # max_results: 1,
1496
+ # next_token: "PaginationToken",
1497
+ # })
1498
+ #
1499
+ # @example Response structure
1500
+ #
1501
+ # resp.next_token #=> String
1502
+ # resp.playback_restriction_policies #=> Array
1503
+ # resp.playback_restriction_policies[0].allowed_countries #=> Array
1504
+ # resp.playback_restriction_policies[0].allowed_countries[0] #=> String
1505
+ # resp.playback_restriction_policies[0].allowed_origins #=> Array
1506
+ # resp.playback_restriction_policies[0].allowed_origins[0] #=> String
1507
+ # resp.playback_restriction_policies[0].arn #=> String
1508
+ # resp.playback_restriction_policies[0].enable_strict_origin_enforcement #=> Boolean
1509
+ # resp.playback_restriction_policies[0].name #=> String
1510
+ # resp.playback_restriction_policies[0].tags #=> Hash
1511
+ # resp.playback_restriction_policies[0].tags["TagKey"] #=> String
1512
+ #
1513
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListPlaybackRestrictionPolicies AWS API Documentation
1514
+ #
1515
+ # @overload list_playback_restriction_policies(params = {})
1516
+ # @param [Hash] params ({})
1517
+ def list_playback_restriction_policies(params = {}, options = {})
1518
+ req = build_request(:list_playback_restriction_policies, params)
1519
+ req.send_request(options)
1520
+ end
1521
+
1316
1522
  # Gets summary information about all recording configurations in your
1317
1523
  # account, in the Amazon Web Services region where the API request is
1318
1524
  # processed.
@@ -1683,7 +1889,7 @@ module Aws::IVS
1683
1889
  #
1684
1890
  # @option params [required, Array<String>] :tag_keys
1685
1891
  # Array of tags to be removed. Array of maps, each of the form
1686
- # s`tring:string (key:value)`. See [Tagging Amazon Web Services
1892
+ # `string:string (key:value)`. See [Tagging Amazon Web Services
1687
1893
  # Resources][1] for more information, including restrictions that apply
1688
1894
  # to tags and "Tag naming limits and requirements"; Amazon IVS has no
1689
1895
  # service-specific constraints beyond what is documented there.
@@ -1721,17 +1927,21 @@ module Aws::IVS
1721
1927
  # Whether the channel is private (enabled for playback authorization).
1722
1928
  #
1723
1929
  # @option params [Boolean] :insecure_ingest
1724
- # Whether the channel allows insecure RTMP ingest. Default: `false`.
1930
+ # Whether the channel allows insecure RTMP and SRT ingest. Default:
1931
+ # `false`.
1725
1932
  #
1726
1933
  # @option params [String] :latency_mode
1727
1934
  # Channel latency mode. Use `NORMAL` to broadcast and deliver live video
1728
1935
  # up to Full HD. Use `LOW` for near-real-time interaction with viewers.
1729
- # (Note: In the Amazon IVS console, `LOW` and `NORMAL` correspond to
1730
- # Ultra-low and Standard, respectively.)
1731
1936
  #
1732
1937
  # @option params [String] :name
1733
1938
  # Channel name.
1734
1939
  #
1940
+ # @option params [String] :playback_restriction_policy_arn
1941
+ # Playback-restriction-policy ARN. A valid ARN value here both specifies
1942
+ # the ARN and enables playback restriction. If this is set to an empty
1943
+ # string, playback restriction policy is disabled.
1944
+ #
1735
1945
  # @option params [String] :preset
1736
1946
  # Optional transcode preset for the channel. This is selectable only for
1737
1947
  # `ADVANCED_HD` and `ADVANCED_SD` channel types. For those channel
@@ -1740,9 +1950,9 @@ module Aws::IVS
1740
1950
  # (`""`).
1741
1951
  #
1742
1952
  # @option params [String] :recording_configuration_arn
1743
- # Recording-configuration ARN. If this is set to an empty string,
1744
- # recording is disabled. A value other than an empty string indicates
1745
- # that recording is enabled
1953
+ # Recording-configuration ARN. A valid ARN value here both specifies the
1954
+ # ARN and enables recording. If this is set to an empty string,
1955
+ # recording is disabled.
1746
1956
  #
1747
1957
  # @option params [String] :type
1748
1958
  # Channel type, which determines the allowable resolution and bitrate.
@@ -1766,6 +1976,7 @@ module Aws::IVS
1766
1976
  # insecure_ingest: false,
1767
1977
  # latency_mode: "NORMAL", # accepts NORMAL, LOW
1768
1978
  # name: "ChannelName",
1979
+ # playback_restriction_policy_arn: "ChannelPlaybackRestrictionPolicyArn",
1769
1980
  # preset: "HIGHER_BANDWIDTH_DELIVERY", # accepts HIGHER_BANDWIDTH_DELIVERY, CONSTRAINED_BANDWIDTH_DELIVERY
1770
1981
  # recording_configuration_arn: "ChannelRecordingConfigurationArn",
1771
1982
  # type: "BASIC", # accepts BASIC, STANDARD, ADVANCED_SD, ADVANCED_HD
@@ -1779,9 +1990,12 @@ module Aws::IVS
1779
1990
  # resp.channel.insecure_ingest #=> Boolean
1780
1991
  # resp.channel.latency_mode #=> String, one of "NORMAL", "LOW"
1781
1992
  # resp.channel.name #=> String
1993
+ # resp.channel.playback_restriction_policy_arn #=> String
1782
1994
  # resp.channel.playback_url #=> String
1783
1995
  # resp.channel.preset #=> String, one of "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY"
1784
1996
  # resp.channel.recording_configuration_arn #=> String
1997
+ # resp.channel.srt.endpoint #=> String
1998
+ # resp.channel.srt.passphrase #=> String
1785
1999
  # resp.channel.tags #=> Hash
1786
2000
  # resp.channel.tags["TagKey"] #=> String
1787
2001
  # resp.channel.type #=> String, one of "BASIC", "STANDARD", "ADVANCED_SD", "ADVANCED_HD"
@@ -1795,6 +2009,73 @@ module Aws::IVS
1795
2009
  req.send_request(options)
1796
2010
  end
1797
2011
 
2012
+ # Updates a specified playback restriction policy.
2013
+ #
2014
+ # @option params [Array<String>] :allowed_countries
2015
+ # A list of country codes that control geoblocking restriction. Allowed
2016
+ # values are the officially assigned [ISO 3166-1 alpha-2][1] codes.
2017
+ # Default: All countries (an empty array).
2018
+ #
2019
+ #
2020
+ #
2021
+ # [1]: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
2022
+ #
2023
+ # @option params [Array<String>] :allowed_origins
2024
+ # A list of origin sites that control CORS restriction. Allowed values
2025
+ # are the same as valid values of the Origin header defined at
2026
+ # [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin][1].
2027
+ # Default: All origins (an empty array).
2028
+ #
2029
+ #
2030
+ #
2031
+ # [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin
2032
+ #
2033
+ # @option params [required, String] :arn
2034
+ # ARN of the playback-restriction-policy to be updated.
2035
+ #
2036
+ # @option params [Boolean] :enable_strict_origin_enforcement
2037
+ # Whether channel playback is constrained by origin site. Default:
2038
+ # `false`.
2039
+ #
2040
+ # @option params [String] :name
2041
+ # Playback-restriction-policy name. The value does not need to be
2042
+ # unique.
2043
+ #
2044
+ # @return [Types::UpdatePlaybackRestrictionPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2045
+ #
2046
+ # * {Types::UpdatePlaybackRestrictionPolicyResponse#playback_restriction_policy #playback_restriction_policy} => Types::PlaybackRestrictionPolicy
2047
+ #
2048
+ # @example Request syntax with placeholder values
2049
+ #
2050
+ # resp = client.update_playback_restriction_policy({
2051
+ # allowed_countries: ["PlaybackRestrictionPolicyAllowedCountry"],
2052
+ # allowed_origins: ["PlaybackRestrictionPolicyAllowedOrigin"],
2053
+ # arn: "PlaybackRestrictionPolicyArn", # required
2054
+ # enable_strict_origin_enforcement: false,
2055
+ # name: "PlaybackRestrictionPolicyName",
2056
+ # })
2057
+ #
2058
+ # @example Response structure
2059
+ #
2060
+ # resp.playback_restriction_policy.allowed_countries #=> Array
2061
+ # resp.playback_restriction_policy.allowed_countries[0] #=> String
2062
+ # resp.playback_restriction_policy.allowed_origins #=> Array
2063
+ # resp.playback_restriction_policy.allowed_origins[0] #=> String
2064
+ # resp.playback_restriction_policy.arn #=> String
2065
+ # resp.playback_restriction_policy.enable_strict_origin_enforcement #=> Boolean
2066
+ # resp.playback_restriction_policy.name #=> String
2067
+ # resp.playback_restriction_policy.tags #=> Hash
2068
+ # resp.playback_restriction_policy.tags["TagKey"] #=> String
2069
+ #
2070
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UpdatePlaybackRestrictionPolicy AWS API Documentation
2071
+ #
2072
+ # @overload update_playback_restriction_policy(params = {})
2073
+ # @param [Hash] params ({})
2074
+ def update_playback_restriction_policy(params = {}, options = {})
2075
+ req = build_request(:update_playback_restriction_policy, params)
2076
+ req.send_request(options)
2077
+ end
2078
+
1798
2079
  # @!endgroup
1799
2080
 
1800
2081
  # @param params ({})
@@ -1808,7 +2089,7 @@ module Aws::IVS
1808
2089
  params: params,
1809
2090
  config: config)
1810
2091
  context[:gem_name] = 'aws-sdk-ivs'
1811
- context[:gem_version] = '1.44.0'
2092
+ context[:gem_version] = '1.46.0'
1812
2093
  Seahorse::Client::Request.new(handlers, context)
1813
2094
  end
1814
2095