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.
@@ -241,14 +241,19 @@ module Aws::IVS
241
241
  # @!attribute [rw] latency_mode
242
242
  # Channel latency mode. Use `NORMAL` to broadcast and deliver live
243
243
  # video up to Full HD. Use `LOW` for near-real-time interaction with
244
- # viewers. Default: `LOW`. (Note: In the Amazon IVS console, `LOW` and
245
- # `NORMAL` correspond to Ultra-low and Standard, respectively.)
244
+ # viewers. Default: `LOW`.
246
245
  # @return [String]
247
246
  #
248
247
  # @!attribute [rw] name
249
248
  # Channel name.
250
249
  # @return [String]
251
250
  #
251
+ # @!attribute [rw] playback_restriction_policy_arn
252
+ # Playback-restriction-policy ARN. A valid ARN value here both
253
+ # specifies the ARN and enables playback restriction. Default: ""
254
+ # (empty string, no playback restriction policy is applied).
255
+ # @return [String]
256
+ #
252
257
  # @!attribute [rw] playback_url
253
258
  # Channel playback URL.
254
259
  # @return [String]
@@ -262,11 +267,16 @@ module Aws::IVS
262
267
  # @return [String]
263
268
  #
264
269
  # @!attribute [rw] recording_configuration_arn
265
- # Recording-configuration ARN. A value other than an empty string
266
- # indicates that recording is enabled. Default: "" (empty string,
270
+ # Recording-configuration ARN. A valid ARN value here both specifies
271
+ # the ARN and enables recording. Default: "" (empty string,
267
272
  # recording is disabled).
268
273
  # @return [String]
269
274
  #
275
+ # @!attribute [rw] srt
276
+ # Specifies the endpoint and optional passphrase for streaming with
277
+ # the SRT protocol.
278
+ # @return [Types::Srt]
279
+ #
270
280
  # @!attribute [rw] tags
271
281
  # Tags attached to the resource. Array of 1-50 maps, each of the form
272
282
  # `string:string (key:value)`. See [Tagging Amazon Web Services
@@ -299,9 +309,11 @@ module Aws::IVS
299
309
  :insecure_ingest,
300
310
  :latency_mode,
301
311
  :name,
312
+ :playback_restriction_policy_arn,
302
313
  :playback_url,
303
314
  :preset,
304
315
  :recording_configuration_arn,
316
+ :srt,
305
317
  :tags,
306
318
  :type)
307
319
  SENSITIVE = []
@@ -338,14 +350,19 @@ module Aws::IVS
338
350
  # @!attribute [rw] latency_mode
339
351
  # Channel latency mode. Use `NORMAL` to broadcast and deliver live
340
352
  # video up to Full HD. Use `LOW` for near-real-time interaction with
341
- # viewers. Default: `LOW`. (Note: In the Amazon IVS console, `LOW` and
342
- # `NORMAL` correspond to Ultra-low and Standard, respectively.)
353
+ # viewers. Default: `LOW`.
343
354
  # @return [String]
344
355
  #
345
356
  # @!attribute [rw] name
346
357
  # Channel name.
347
358
  # @return [String]
348
359
  #
360
+ # @!attribute [rw] playback_restriction_policy_arn
361
+ # Playback-restriction-policy ARN. A valid ARN value here both
362
+ # specifies the ARN and enables playback restriction. Default: ""
363
+ # (empty string, no playback restriction policy is applied).
364
+ # @return [String]
365
+ #
349
366
  # @!attribute [rw] preset
350
367
  # Optional transcode preset for the channel. This is selectable only
351
368
  # for `ADVANCED_HD` and `ADVANCED_SD` channel types. For those channel
@@ -355,8 +372,8 @@ module Aws::IVS
355
372
  # @return [String]
356
373
  #
357
374
  # @!attribute [rw] recording_configuration_arn
358
- # Recording-configuration ARN. A value other than an empty string
359
- # indicates that recording is enabled. Default: "" (empty string,
375
+ # Recording-configuration ARN. A valid ARN value here both specifies
376
+ # the ARN and enables recording. Default: "" (empty string,
360
377
  # recording is disabled).
361
378
  # @return [String]
362
379
  #
@@ -391,6 +408,7 @@ module Aws::IVS
391
408
  :insecure_ingest,
392
409
  :latency_mode,
393
410
  :name,
411
+ :playback_restriction_policy_arn,
394
412
  :preset,
395
413
  :recording_configuration_arn,
396
414
  :tags,
@@ -417,20 +435,26 @@ module Aws::IVS
417
435
  # @return [Boolean]
418
436
  #
419
437
  # @!attribute [rw] insecure_ingest
420
- # Whether the channel allows insecure RTMP ingest. Default: `false`.
438
+ # Whether the channel allows insecure RTMP and SRT ingest. Default:
439
+ # `false`.
421
440
  # @return [Boolean]
422
441
  #
423
442
  # @!attribute [rw] latency_mode
424
443
  # Channel latency mode. Use `NORMAL` to broadcast and deliver live
425
444
  # video up to Full HD. Use `LOW` for near-real-time interaction with
426
- # viewers. (Note: In the Amazon IVS console, `LOW` and `NORMAL`
427
- # correspond to Ultra-low and Standard, respectively.) Default: `LOW`.
445
+ # viewers. Default: `LOW`.
428
446
  # @return [String]
429
447
  #
430
448
  # @!attribute [rw] name
431
449
  # Channel name.
432
450
  # @return [String]
433
451
  #
452
+ # @!attribute [rw] playback_restriction_policy_arn
453
+ # Playback-restriction-policy ARN. A valid ARN value here both
454
+ # specifies the ARN and enables playback restriction. Default: ""
455
+ # (empty string, no playback restriction policy is applied).
456
+ # @return [String]
457
+ #
434
458
  # @!attribute [rw] preset
435
459
  # Optional transcode preset for the channel. This is selectable only
436
460
  # for `ADVANCED_HD` and `ADVANCED_SD` channel types. For those channel
@@ -440,8 +464,9 @@ module Aws::IVS
440
464
  # @return [String]
441
465
  #
442
466
  # @!attribute [rw] recording_configuration_arn
443
- # Recording-configuration ARN. Default: "" (empty string, recording
444
- # is disabled).
467
+ # Recording-configuration ARN. A valid ARN value here both specifies
468
+ # the ARN and enables recording. Default: "" (empty string,
469
+ # recording is disabled).
445
470
  # @return [String]
446
471
  #
447
472
  # @!attribute [rw] tags
@@ -474,6 +499,7 @@ module Aws::IVS
474
499
  :insecure_ingest,
475
500
  :latency_mode,
476
501
  :name,
502
+ :playback_restriction_policy_arn,
477
503
  :preset,
478
504
  :recording_configuration_arn,
479
505
  :tags,
@@ -497,6 +523,72 @@ module Aws::IVS
497
523
  include Aws::Structure
498
524
  end
499
525
 
526
+ # @!attribute [rw] allowed_countries
527
+ # A list of country codes that control geoblocking restriction.
528
+ # Allowed values are the officially assigned [ISO 3166-1 alpha-2][1]
529
+ # codes. Default: All countries (an empty array).
530
+ #
531
+ #
532
+ #
533
+ # [1]: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
534
+ # @return [Array<String>]
535
+ #
536
+ # @!attribute [rw] allowed_origins
537
+ # A list of origin sites that control CORS restriction. Allowed values
538
+ # are the same as valid values of the Origin header defined at
539
+ # [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin][1].
540
+ # Default: All origins (an empty array).
541
+ #
542
+ #
543
+ #
544
+ # [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin
545
+ # @return [Array<String>]
546
+ #
547
+ # @!attribute [rw] enable_strict_origin_enforcement
548
+ # Whether channel playback is constrained by origin site. Default:
549
+ # `false`.
550
+ # @return [Boolean]
551
+ #
552
+ # @!attribute [rw] name
553
+ # Playback-restriction-policy name. The value does not need to be
554
+ # unique.
555
+ # @return [String]
556
+ #
557
+ # @!attribute [rw] tags
558
+ # Array of 1-50 maps, each of the form `string:string (key:value)`.
559
+ # See [Tagging Amazon Web Services Resources][1] for more information,
560
+ # including restrictions that apply to tags and "Tag naming limits
561
+ # and requirements"; Amazon IVS has no service-specific constraints
562
+ # beyond what is documented there.
563
+ #
564
+ #
565
+ #
566
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
567
+ # @return [Hash<String,String>]
568
+ #
569
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreatePlaybackRestrictionPolicyRequest AWS API Documentation
570
+ #
571
+ class CreatePlaybackRestrictionPolicyRequest < Struct.new(
572
+ :allowed_countries,
573
+ :allowed_origins,
574
+ :enable_strict_origin_enforcement,
575
+ :name,
576
+ :tags)
577
+ SENSITIVE = []
578
+ include Aws::Structure
579
+ end
580
+
581
+ # @!attribute [rw] playback_restriction_policy
582
+ # @return [Types::PlaybackRestrictionPolicy]
583
+ #
584
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreatePlaybackRestrictionPolicyResponse AWS API Documentation
585
+ #
586
+ class CreatePlaybackRestrictionPolicyResponse < Struct.new(
587
+ :playback_restriction_policy)
588
+ SENSITIVE = []
589
+ include Aws::Structure
590
+ end
591
+
500
592
  # @!attribute [rw] destination_configuration
501
593
  # A complex type that contains a destination configuration for where
502
594
  # recorded video will be stored.
@@ -627,6 +719,18 @@ module Aws::IVS
627
719
  #
628
720
  class DeletePlaybackKeyPairResponse < Aws::EmptyStructure; end
629
721
 
722
+ # @!attribute [rw] arn
723
+ # ARN of the playback restriction policy to be deleted.
724
+ # @return [String]
725
+ #
726
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeletePlaybackRestrictionPolicyRequest AWS API Documentation
727
+ #
728
+ class DeletePlaybackRestrictionPolicyRequest < Struct.new(
729
+ :arn)
730
+ SENSITIVE = []
731
+ include Aws::Structure
732
+ end
733
+
630
734
  # @!attribute [rw] arn
631
735
  # ARN of the recording configuration to be deleted.
632
736
  # @return [String]
@@ -718,6 +822,29 @@ module Aws::IVS
718
822
  include Aws::Structure
719
823
  end
720
824
 
825
+ # @!attribute [rw] arn
826
+ # ARN of the playback restriction policy to be returned.
827
+ # @return [String]
828
+ #
829
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetPlaybackRestrictionPolicyRequest AWS API Documentation
830
+ #
831
+ class GetPlaybackRestrictionPolicyRequest < Struct.new(
832
+ :arn)
833
+ SENSITIVE = []
834
+ include Aws::Structure
835
+ end
836
+
837
+ # @!attribute [rw] playback_restriction_policy
838
+ # @return [Types::PlaybackRestrictionPolicy]
839
+ #
840
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetPlaybackRestrictionPolicyResponse AWS API Documentation
841
+ #
842
+ class GetPlaybackRestrictionPolicyResponse < Struct.new(
843
+ :playback_restriction_policy)
844
+ SENSITIVE = []
845
+ include Aws::Structure
846
+ end
847
+
721
848
  # @!attribute [rw] arn
722
849
  # ARN of the recording configuration to be retrieved.
723
850
  # @return [String]
@@ -901,6 +1028,10 @@ module Aws::IVS
901
1028
  # Filters the channel list to match the specified name.
902
1029
  # @return [String]
903
1030
  #
1031
+ # @!attribute [rw] filter_by_playback_restriction_policy_arn
1032
+ # Filters the channel list to match the specified policy.
1033
+ # @return [String]
1034
+ #
904
1035
  # @!attribute [rw] filter_by_recording_configuration_arn
905
1036
  # Filters the channel list to match the specified
906
1037
  # recording-configuration ARN.
@@ -919,6 +1050,7 @@ module Aws::IVS
919
1050
  #
920
1051
  class ListChannelsRequest < Struct.new(
921
1052
  :filter_by_name,
1053
+ :filter_by_playback_restriction_policy_arn,
922
1054
  :filter_by_recording_configuration_arn,
923
1055
  :max_results,
924
1056
  :next_token)
@@ -981,6 +1113,42 @@ module Aws::IVS
981
1113
  include Aws::Structure
982
1114
  end
983
1115
 
1116
+ # @!attribute [rw] max_results
1117
+ # Maximum number of policies to return. Default: 1.
1118
+ # @return [Integer]
1119
+ #
1120
+ # @!attribute [rw] next_token
1121
+ # The first policy to retrieve. This is used for pagination; see the
1122
+ # `nextToken` response field.
1123
+ # @return [String]
1124
+ #
1125
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListPlaybackRestrictionPoliciesRequest AWS API Documentation
1126
+ #
1127
+ class ListPlaybackRestrictionPoliciesRequest < Struct.new(
1128
+ :max_results,
1129
+ :next_token)
1130
+ SENSITIVE = []
1131
+ include Aws::Structure
1132
+ end
1133
+
1134
+ # @!attribute [rw] next_token
1135
+ # If there are more channels than `maxResults`, use `nextToken` in the
1136
+ # request to get the next set.
1137
+ # @return [String]
1138
+ #
1139
+ # @!attribute [rw] playback_restriction_policies
1140
+ # List of the matching policies.
1141
+ # @return [Array<Types::PlaybackRestrictionPolicySummary>]
1142
+ #
1143
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListPlaybackRestrictionPoliciesResponse AWS API Documentation
1144
+ #
1145
+ class ListPlaybackRestrictionPoliciesResponse < Struct.new(
1146
+ :next_token,
1147
+ :playback_restriction_policies)
1148
+ SENSITIVE = []
1149
+ include Aws::Structure
1150
+ end
1151
+
984
1152
  # @!attribute [rw] max_results
985
1153
  # Maximum number of recording configurations to return. Default: your
986
1154
  # service quota or 100, whichever is smaller.
@@ -1248,6 +1416,131 @@ module Aws::IVS
1248
1416
  include Aws::Structure
1249
1417
  end
1250
1418
 
1419
+ # An object representing a policy to constrain playback by country
1420
+ # and/or origin sites.
1421
+ #
1422
+ # @!attribute [rw] allowed_countries
1423
+ # A list of country codes that control geoblocking restriction.
1424
+ # Allowed values are the officially assigned [ISO 3166-1 alpha-2][1]
1425
+ # codes. Default: All countries (an empty array).
1426
+ #
1427
+ #
1428
+ #
1429
+ # [1]: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
1430
+ # @return [Array<String>]
1431
+ #
1432
+ # @!attribute [rw] allowed_origins
1433
+ # A list of origin sites that control CORS restriction. Allowed values
1434
+ # are the same as valid values of the Origin header defined at
1435
+ # [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin][1].
1436
+ # Default: All origins (an empty array).
1437
+ #
1438
+ #
1439
+ #
1440
+ # [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin
1441
+ # @return [Array<String>]
1442
+ #
1443
+ # @!attribute [rw] arn
1444
+ # Playback-restriction-policy ARN
1445
+ # @return [String]
1446
+ #
1447
+ # @!attribute [rw] enable_strict_origin_enforcement
1448
+ # Whether channel playback is constrained by origin site. Default:
1449
+ # `false`.
1450
+ # @return [Boolean]
1451
+ #
1452
+ # @!attribute [rw] name
1453
+ # Playback-restriction-policy name. The value does not need to be
1454
+ # unique.
1455
+ # @return [String]
1456
+ #
1457
+ # @!attribute [rw] tags
1458
+ # Tags attached to the resource. Array of 1-50 maps, each of the form
1459
+ # `string:string (key:value)`. See [Tagging Amazon Web Services
1460
+ # Resources][1] for more information, including restrictions that
1461
+ # apply to tags and "Tag naming limits and requirements"; Amazon IVS
1462
+ # has no service-specific constraints beyond what is documented there.
1463
+ #
1464
+ #
1465
+ #
1466
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
1467
+ # @return [Hash<String,String>]
1468
+ #
1469
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/PlaybackRestrictionPolicy AWS API Documentation
1470
+ #
1471
+ class PlaybackRestrictionPolicy < Struct.new(
1472
+ :allowed_countries,
1473
+ :allowed_origins,
1474
+ :arn,
1475
+ :enable_strict_origin_enforcement,
1476
+ :name,
1477
+ :tags)
1478
+ SENSITIVE = []
1479
+ include Aws::Structure
1480
+ end
1481
+
1482
+ # Summary information about a PlaybackRestrictionPolicy.
1483
+ #
1484
+ # @!attribute [rw] allowed_countries
1485
+ # A list of country codes that control geoblocking restriction.
1486
+ # Allowed values are the officially assigned [ISO 3166-1 alpha-2][1]
1487
+ # codes. Default: All countries (an empty array).
1488
+ #
1489
+ #
1490
+ #
1491
+ # [1]: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
1492
+ # @return [Array<String>]
1493
+ #
1494
+ # @!attribute [rw] allowed_origins
1495
+ # A list of origin sites that control CORS restriction. Allowed values
1496
+ # are the same as valid values of the Origin header defined at
1497
+ # [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin][1].
1498
+ # Default: All origins (an empty array).
1499
+ #
1500
+ #
1501
+ #
1502
+ # [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin
1503
+ # @return [Array<String>]
1504
+ #
1505
+ # @!attribute [rw] arn
1506
+ # Playback-restriction-policy ARN
1507
+ # @return [String]
1508
+ #
1509
+ # @!attribute [rw] enable_strict_origin_enforcement
1510
+ # Whether channel playback is constrained by origin site. Default:
1511
+ # `false`.
1512
+ # @return [Boolean]
1513
+ #
1514
+ # @!attribute [rw] name
1515
+ # Playback-restriction-policy name. The value does not need to be
1516
+ # unique.
1517
+ # @return [String]
1518
+ #
1519
+ # @!attribute [rw] tags
1520
+ # Tags attached to the resource. Array of 1-50 maps, each of the form
1521
+ # `string:string (key:value)`. See [Tagging Amazon Web Services
1522
+ # Resources][1] for more information, including restrictions that
1523
+ # apply to tags and "Tag naming limits and requirements"; Amazon IVS
1524
+ # has no service-specific constraints beyond what is documented there.
1525
+ #
1526
+ #
1527
+ #
1528
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
1529
+ # @return [Hash<String,String>]
1530
+ #
1531
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/PlaybackRestrictionPolicySummary AWS API Documentation
1532
+ #
1533
+ class PlaybackRestrictionPolicySummary < Struct.new(
1534
+ :allowed_countries,
1535
+ :allowed_origins,
1536
+ :arn,
1537
+ :enable_strict_origin_enforcement,
1538
+ :name,
1539
+ :tags)
1540
+ SENSITIVE = []
1541
+ include Aws::Structure
1542
+ end
1543
+
1251
1544
  # @!attribute [rw] channel_arn
1252
1545
  # ARN of the channel into which metadata is inserted. This channel
1253
1546
  # must have an active stream.
@@ -1448,6 +1741,28 @@ module Aws::IVS
1448
1741
  include Aws::Structure
1449
1742
  end
1450
1743
 
1744
+ # Specifies information needed to stream using the SRT protocol.
1745
+ #
1746
+ # @!attribute [rw] endpoint
1747
+ # The endpoint to be used when streaming with IVS using the SRT
1748
+ # protocol.
1749
+ # @return [String]
1750
+ #
1751
+ # @!attribute [rw] passphrase
1752
+ # Auto-generated passphrase to enable encryption. This field is
1753
+ # applicable only if the end user has *not* enabled the
1754
+ # `insecureIngest` option for the channel.
1755
+ # @return [String]
1756
+ #
1757
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/Srt AWS API Documentation
1758
+ #
1759
+ class Srt < Struct.new(
1760
+ :endpoint,
1761
+ :passphrase)
1762
+ SENSITIVE = [:passphrase]
1763
+ include Aws::Structure
1764
+ end
1765
+
1451
1766
  # @!attribute [rw] channel_arn
1452
1767
  # The ARN of the channel associated with the viewer session to revoke.
1453
1768
  # @return [String]
@@ -1918,7 +2233,7 @@ module Aws::IVS
1918
2233
  #
1919
2234
  # @!attribute [rw] tag_keys
1920
2235
  # Array of tags to be removed. Array of maps, each of the form
1921
- # s`tring:string (key:value)`. See [Tagging Amazon Web Services
2236
+ # `string:string (key:value)`. See [Tagging Amazon Web Services
1922
2237
  # Resources][1] for more information, including restrictions that
1923
2238
  # apply to tags and "Tag naming limits and requirements"; Amazon IVS
1924
2239
  # has no service-specific constraints beyond what is documented there.
@@ -1950,20 +2265,26 @@ module Aws::IVS
1950
2265
  # @return [Boolean]
1951
2266
  #
1952
2267
  # @!attribute [rw] insecure_ingest
1953
- # Whether the channel allows insecure RTMP ingest. Default: `false`.
2268
+ # Whether the channel allows insecure RTMP and SRT ingest. Default:
2269
+ # `false`.
1954
2270
  # @return [Boolean]
1955
2271
  #
1956
2272
  # @!attribute [rw] latency_mode
1957
2273
  # Channel latency mode. Use `NORMAL` to broadcast and deliver live
1958
2274
  # video up to Full HD. Use `LOW` for near-real-time interaction with
1959
- # viewers. (Note: In the Amazon IVS console, `LOW` and `NORMAL`
1960
- # correspond to Ultra-low and Standard, respectively.)
2275
+ # viewers.
1961
2276
  # @return [String]
1962
2277
  #
1963
2278
  # @!attribute [rw] name
1964
2279
  # Channel name.
1965
2280
  # @return [String]
1966
2281
  #
2282
+ # @!attribute [rw] playback_restriction_policy_arn
2283
+ # Playback-restriction-policy ARN. A valid ARN value here both
2284
+ # specifies the ARN and enables playback restriction. If this is set
2285
+ # to an empty string, playback restriction policy is disabled.
2286
+ # @return [String]
2287
+ #
1967
2288
  # @!attribute [rw] preset
1968
2289
  # Optional transcode preset for the channel. This is selectable only
1969
2290
  # for `ADVANCED_HD` and `ADVANCED_SD` channel types. For those channel
@@ -1973,9 +2294,9 @@ module Aws::IVS
1973
2294
  # @return [String]
1974
2295
  #
1975
2296
  # @!attribute [rw] recording_configuration_arn
1976
- # Recording-configuration ARN. If this is set to an empty string,
1977
- # recording is disabled. A value other than an empty string indicates
1978
- # that recording is enabled
2297
+ # Recording-configuration ARN. A valid ARN value here both specifies
2298
+ # the ARN and enables recording. If this is set to an empty string,
2299
+ # recording is disabled.
1979
2300
  # @return [String]
1980
2301
  #
1981
2302
  # @!attribute [rw] type
@@ -1997,6 +2318,7 @@ module Aws::IVS
1997
2318
  :insecure_ingest,
1998
2319
  :latency_mode,
1999
2320
  :name,
2321
+ :playback_restriction_policy_arn,
2000
2322
  :preset,
2001
2323
  :recording_configuration_arn,
2002
2324
  :type)
@@ -2005,7 +2327,7 @@ module Aws::IVS
2005
2327
  end
2006
2328
 
2007
2329
  # @!attribute [rw] channel
2008
- # Object specifying a channel.
2330
+ # Object specifying the updated channel.
2009
2331
  # @return [Types::Channel]
2010
2332
  #
2011
2333
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UpdateChannelResponse AWS API Documentation
@@ -2016,6 +2338,65 @@ module Aws::IVS
2016
2338
  include Aws::Structure
2017
2339
  end
2018
2340
 
2341
+ # @!attribute [rw] allowed_countries
2342
+ # A list of country codes that control geoblocking restriction.
2343
+ # Allowed values are the officially assigned [ISO 3166-1 alpha-2][1]
2344
+ # codes. Default: All countries (an empty array).
2345
+ #
2346
+ #
2347
+ #
2348
+ # [1]: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
2349
+ # @return [Array<String>]
2350
+ #
2351
+ # @!attribute [rw] allowed_origins
2352
+ # A list of origin sites that control CORS restriction. Allowed values
2353
+ # are the same as valid values of the Origin header defined at
2354
+ # [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin][1].
2355
+ # Default: All origins (an empty array).
2356
+ #
2357
+ #
2358
+ #
2359
+ # [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin
2360
+ # @return [Array<String>]
2361
+ #
2362
+ # @!attribute [rw] arn
2363
+ # ARN of the playback-restriction-policy to be updated.
2364
+ # @return [String]
2365
+ #
2366
+ # @!attribute [rw] enable_strict_origin_enforcement
2367
+ # Whether channel playback is constrained by origin site. Default:
2368
+ # `false`.
2369
+ # @return [Boolean]
2370
+ #
2371
+ # @!attribute [rw] name
2372
+ # Playback-restriction-policy name. The value does not need to be
2373
+ # unique.
2374
+ # @return [String]
2375
+ #
2376
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UpdatePlaybackRestrictionPolicyRequest AWS API Documentation
2377
+ #
2378
+ class UpdatePlaybackRestrictionPolicyRequest < Struct.new(
2379
+ :allowed_countries,
2380
+ :allowed_origins,
2381
+ :arn,
2382
+ :enable_strict_origin_enforcement,
2383
+ :name)
2384
+ SENSITIVE = []
2385
+ include Aws::Structure
2386
+ end
2387
+
2388
+ # @!attribute [rw] playback_restriction_policy
2389
+ # Object specifying the updated policy.
2390
+ # @return [Types::PlaybackRestrictionPolicy]
2391
+ #
2392
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UpdatePlaybackRestrictionPolicyResponse AWS API Documentation
2393
+ #
2394
+ class UpdatePlaybackRestrictionPolicyResponse < Struct.new(
2395
+ :playback_restriction_policy)
2396
+ SENSITIVE = []
2397
+ include Aws::Structure
2398
+ end
2399
+
2019
2400
  # @!attribute [rw] exception_message
2020
2401
  # The input fails to satisfy the constraints specified by an Amazon
2021
2402
  # Web Services service.
data/lib/aws-sdk-ivs.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-ivs/customizations'
52
52
  # @!group service
53
53
  module Aws::IVS
54
54
 
55
- GEM_VERSION = '1.44.0'
55
+ GEM_VERSION = '1.46.0'
56
56
 
57
57
  end