aws-sdk-ivs 1.60.0 → 1.62.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
36
36
  require 'aws-sdk-core/plugins/sign.rb'
37
37
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
38
38
 
39
- Aws::Plugins::GlobalConfiguration.add_identifier(:ivs)
40
-
41
39
  module Aws::IVS
42
40
  # An API client for IVS. To construct a client, you need to configure a `:region` and `:credentials`.
43
41
  #
@@ -469,20 +467,20 @@ module Aws::IVS
469
467
  #
470
468
  # resp.channels #=> Array
471
469
  # resp.channels[0].arn #=> String
472
- # resp.channels[0].name #=> String
473
- # resp.channels[0].latency_mode #=> String, one of "NORMAL", "LOW"
474
- # resp.channels[0].type #=> String, one of "BASIC", "STANDARD", "ADVANCED_SD", "ADVANCED_HD"
475
- # resp.channels[0].recording_configuration_arn #=> String
476
- # resp.channels[0].ingest_endpoint #=> String
477
- # resp.channels[0].playback_url #=> String
478
470
  # resp.channels[0].authorized #=> Boolean
479
- # resp.channels[0].tags #=> Hash
480
- # resp.channels[0].tags["TagKey"] #=> String
471
+ # resp.channels[0].ingest_endpoint #=> String
481
472
  # resp.channels[0].insecure_ingest #=> Boolean
473
+ # resp.channels[0].latency_mode #=> String, one of "NORMAL", "LOW"
474
+ # resp.channels[0].name #=> String
475
+ # resp.channels[0].playback_restriction_policy_arn #=> String
476
+ # resp.channels[0].playback_url #=> String
482
477
  # resp.channels[0].preset #=> String, one of "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY"
478
+ # resp.channels[0].recording_configuration_arn #=> String
483
479
  # resp.channels[0].srt.endpoint #=> String
484
480
  # resp.channels[0].srt.passphrase #=> String
485
- # resp.channels[0].playback_restriction_policy_arn #=> String
481
+ # resp.channels[0].tags #=> Hash
482
+ # resp.channels[0].tags["TagKey"] #=> String
483
+ # resp.channels[0].type #=> String, one of "BASIC", "STANDARD", "ADVANCED_SD", "ADVANCED_HD"
486
484
  # resp.errors #=> Array
487
485
  # resp.errors[0].arn #=> String
488
486
  # resp.errors[0].code #=> String
@@ -504,8 +502,8 @@ module Aws::IVS
504
502
  #
505
503
  # @return [Types::BatchGetStreamKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
506
504
  #
507
- # * {Types::BatchGetStreamKeyResponse#stream_keys #stream_keys} => Array<Types::StreamKey>
508
505
  # * {Types::BatchGetStreamKeyResponse#errors #errors} => Array<Types::BatchError>
506
+ # * {Types::BatchGetStreamKeyResponse#stream_keys #stream_keys} => Array<Types::StreamKey>
509
507
  #
510
508
  # @example Request syntax with placeholder values
511
509
  #
@@ -515,16 +513,16 @@ module Aws::IVS
515
513
  #
516
514
  # @example Response structure
517
515
  #
516
+ # resp.errors #=> Array
517
+ # resp.errors[0].arn #=> String
518
+ # resp.errors[0].code #=> String
519
+ # resp.errors[0].message #=> String
518
520
  # resp.stream_keys #=> Array
519
521
  # resp.stream_keys[0].arn #=> String
520
- # resp.stream_keys[0].value #=> String
521
522
  # resp.stream_keys[0].channel_arn #=> String
522
523
  # resp.stream_keys[0].tags #=> Hash
523
524
  # resp.stream_keys[0].tags["TagKey"] #=> String
524
- # resp.errors #=> Array
525
- # resp.errors[0].arn #=> String
526
- # resp.errors[0].code #=> String
527
- # resp.errors[0].message #=> String
525
+ # resp.stream_keys[0].value #=> String
528
526
  #
529
527
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/BatchGetStreamKey AWS API Documentation
530
528
  #
@@ -561,9 +559,9 @@ module Aws::IVS
561
559
  #
562
560
  # resp.errors #=> Array
563
561
  # resp.errors[0].channel_arn #=> String
564
- # resp.errors[0].viewer_id #=> String
565
562
  # resp.errors[0].code #=> String
566
563
  # resp.errors[0].message #=> String
564
+ # resp.errors[0].viewer_id #=> String
567
565
  #
568
566
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/BatchStartViewerSessionRevocation AWS API Documentation
569
567
  #
@@ -576,27 +574,33 @@ module Aws::IVS
576
574
 
577
575
  # Creates a new channel and an associated stream key to start streaming.
578
576
  #
579
- # @option params [String] :name
580
- # Channel name.
577
+ # @option params [Boolean] :authorized
578
+ # Whether the channel is private (enabled for playback authorization).
579
+ # Default: `false`.
580
+ #
581
+ # @option params [Boolean] :insecure_ingest
582
+ # Whether the channel allows insecure RTMP and SRT ingest. Default:
583
+ # `false`.
581
584
  #
582
585
  # @option params [String] :latency_mode
583
586
  # Channel latency mode. Use `NORMAL` to broadcast and deliver live video
584
587
  # up to Full HD. Use `LOW` for near-real-time interaction with viewers.
585
588
  # Default: `LOW`.
586
589
  #
587
- # @option params [String] :type
588
- # Channel type, which determines the allowable resolution and bitrate.
589
- # *If you exceed the allowable input resolution or bitrate, the stream
590
- # probably will disconnect immediately.* Default: `STANDARD`. For
591
- # details, see [Channel Types][1].
592
- #
593
- #
590
+ # @option params [String] :name
591
+ # Channel name.
594
592
  #
595
- # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html
593
+ # @option params [String] :playback_restriction_policy_arn
594
+ # Playback-restriction-policy ARN. A valid ARN value here both specifies
595
+ # the ARN and enables playback restriction. Default: "" (empty string,
596
+ # no playback restriction policy is applied).
596
597
  #
597
- # @option params [Boolean] :authorized
598
- # Whether the channel is private (enabled for playback authorization).
599
- # Default: `false`.
598
+ # @option params [String] :preset
599
+ # Optional transcode preset for the channel. This is selectable only for
600
+ # `ADVANCED_HD` and `ADVANCED_SD` channel types. For those channel
601
+ # types, the default `preset` is `HIGHER_BANDWIDTH_DELIVERY`. For other
602
+ # channel types (`BASIC` and `STANDARD`), `preset` is the empty string
603
+ # (`""`).
600
604
  #
601
605
  # @option params [String] :recording_configuration_arn
602
606
  # Recording-configuration ARN. A valid ARN value here both specifies the
@@ -614,21 +618,15 @@ module Aws::IVS
614
618
  #
615
619
  # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
616
620
  #
617
- # @option params [Boolean] :insecure_ingest
618
- # Whether the channel allows insecure RTMP and SRT ingest. Default:
619
- # `false`.
621
+ # @option params [String] :type
622
+ # Channel type, which determines the allowable resolution and bitrate.
623
+ # *If you exceed the allowable input resolution or bitrate, the stream
624
+ # probably will disconnect immediately.* Default: `STANDARD`. For
625
+ # details, see [Channel Types][1].
620
626
  #
621
- # @option params [String] :preset
622
- # Optional transcode preset for the channel. This is selectable only for
623
- # `ADVANCED_HD` and `ADVANCED_SD` channel types. For those channel
624
- # types, the default `preset` is `HIGHER_BANDWIDTH_DELIVERY`. For other
625
- # channel types (`BASIC` and `STANDARD`), `preset` is the empty string
626
- # (`""`).
627
627
  #
628
- # @option params [String] :playback_restriction_policy_arn
629
- # Playback-restriction-policy ARN. A valid ARN value here both specifies
630
- # the ARN and enables playback restriction. Default: "" (empty string,
631
- # no playback restriction policy is applied).
628
+ #
629
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html
632
630
  #
633
631
  # @return [Types::CreateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
634
632
  #
@@ -638,41 +636,41 @@ module Aws::IVS
638
636
  # @example Request syntax with placeholder values
639
637
  #
640
638
  # resp = client.create_channel({
641
- # name: "ChannelName",
642
- # latency_mode: "NORMAL", # accepts NORMAL, LOW
643
- # type: "BASIC", # accepts BASIC, STANDARD, ADVANCED_SD, ADVANCED_HD
644
639
  # authorized: false,
640
+ # insecure_ingest: false,
641
+ # latency_mode: "NORMAL", # accepts NORMAL, LOW
642
+ # name: "ChannelName",
643
+ # playback_restriction_policy_arn: "ChannelPlaybackRestrictionPolicyArn",
644
+ # preset: "HIGHER_BANDWIDTH_DELIVERY", # accepts HIGHER_BANDWIDTH_DELIVERY, CONSTRAINED_BANDWIDTH_DELIVERY
645
645
  # recording_configuration_arn: "ChannelRecordingConfigurationArn",
646
646
  # tags: {
647
647
  # "TagKey" => "TagValue",
648
648
  # },
649
- # insecure_ingest: false,
650
- # preset: "HIGHER_BANDWIDTH_DELIVERY", # accepts HIGHER_BANDWIDTH_DELIVERY, CONSTRAINED_BANDWIDTH_DELIVERY
651
- # playback_restriction_policy_arn: "ChannelPlaybackRestrictionPolicyArn",
649
+ # type: "BASIC", # accepts BASIC, STANDARD, ADVANCED_SD, ADVANCED_HD
652
650
  # })
653
651
  #
654
652
  # @example Response structure
655
653
  #
656
654
  # resp.channel.arn #=> String
657
- # resp.channel.name #=> String
658
- # resp.channel.latency_mode #=> String, one of "NORMAL", "LOW"
659
- # resp.channel.type #=> String, one of "BASIC", "STANDARD", "ADVANCED_SD", "ADVANCED_HD"
660
- # resp.channel.recording_configuration_arn #=> String
661
- # resp.channel.ingest_endpoint #=> String
662
- # resp.channel.playback_url #=> String
663
655
  # resp.channel.authorized #=> Boolean
664
- # resp.channel.tags #=> Hash
665
- # resp.channel.tags["TagKey"] #=> String
656
+ # resp.channel.ingest_endpoint #=> String
666
657
  # resp.channel.insecure_ingest #=> Boolean
658
+ # resp.channel.latency_mode #=> String, one of "NORMAL", "LOW"
659
+ # resp.channel.name #=> String
660
+ # resp.channel.playback_restriction_policy_arn #=> String
661
+ # resp.channel.playback_url #=> String
667
662
  # resp.channel.preset #=> String, one of "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY"
663
+ # resp.channel.recording_configuration_arn #=> String
668
664
  # resp.channel.srt.endpoint #=> String
669
665
  # resp.channel.srt.passphrase #=> String
670
- # resp.channel.playback_restriction_policy_arn #=> String
666
+ # resp.channel.tags #=> Hash
667
+ # resp.channel.tags["TagKey"] #=> String
668
+ # resp.channel.type #=> String, one of "BASIC", "STANDARD", "ADVANCED_SD", "ADVANCED_HD"
671
669
  # resp.stream_key.arn #=> String
672
- # resp.stream_key.value #=> String
673
670
  # resp.stream_key.channel_arn #=> String
674
671
  # resp.stream_key.tags #=> Hash
675
672
  # resp.stream_key.tags["TagKey"] #=> String
673
+ # resp.stream_key.value #=> String
676
674
  #
677
675
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateChannel AWS API Documentation
678
676
  #
@@ -742,11 +740,11 @@ module Aws::IVS
742
740
  #
743
741
  # @example Response structure
744
742
  #
745
- # resp.playback_restriction_policy.arn #=> String
746
743
  # resp.playback_restriction_policy.allowed_countries #=> Array
747
744
  # resp.playback_restriction_policy.allowed_countries[0] #=> String
748
745
  # resp.playback_restriction_policy.allowed_origins #=> Array
749
746
  # resp.playback_restriction_policy.allowed_origins[0] #=> String
747
+ # resp.playback_restriction_policy.arn #=> String
750
748
  # resp.playback_restriction_policy.enable_strict_origin_enforcement #=> Boolean
751
749
  # resp.playback_restriction_policy.name #=> String
752
750
  # resp.playback_restriction_policy.tags #=> Hash
@@ -777,13 +775,22 @@ module Aws::IVS
777
775
  # configuration and create a new one with an S3 bucket from the correct
778
776
  # region.
779
777
  #
780
- # @option params [String] :name
781
- # Recording-configuration name. The value does not need to be unique.
782
- #
783
778
  # @option params [required, Types::DestinationConfiguration] :destination_configuration
784
779
  # A complex type that contains a destination configuration for where
785
780
  # recorded video will be stored.
786
781
  #
782
+ # @option params [String] :name
783
+ # Recording-configuration name. The value does not need to be unique.
784
+ #
785
+ # @option params [Integer] :recording_reconnect_window_seconds
786
+ # If a broadcast disconnects and then reconnects within the specified
787
+ # interval, the multiple streams will be considered a single broadcast
788
+ # and merged together. Default: 0.
789
+ #
790
+ # @option params [Types::RenditionConfiguration] :rendition_configuration
791
+ # Object that describes which renditions should be recorded for a
792
+ # stream.
793
+ #
787
794
  # @option params [Hash<String,String>] :tags
788
795
  # Array of 1-50 maps, each of the form `string:string (key:value)`. See
789
796
  # [Best practices and strategies][1] in *Tagging Amazon Web Services
@@ -800,15 +807,6 @@ module Aws::IVS
800
807
  # thumbnails for a live session and modify the interval at which
801
808
  # thumbnails are generated for the live session.
802
809
  #
803
- # @option params [Integer] :recording_reconnect_window_seconds
804
- # If a broadcast disconnects and then reconnects within the specified
805
- # interval, the multiple streams will be considered a single broadcast
806
- # and merged together. Default: 0.
807
- #
808
- # @option params [Types::RenditionConfiguration] :rendition_configuration
809
- # Object that describes which renditions should be recorded for a
810
- # stream.
811
- #
812
810
  # @return [Types::CreateRecordingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
813
811
  #
814
812
  # * {Types::CreateRecordingConfigurationResponse#recording_configuration #recording_configuration} => Types::RecordingConfiguration
@@ -816,45 +814,45 @@ module Aws::IVS
816
814
  # @example Request syntax with placeholder values
817
815
  #
818
816
  # resp = client.create_recording_configuration({
819
- # name: "RecordingConfigurationName",
820
817
  # destination_configuration: { # required
821
818
  # s3: {
822
819
  # bucket_name: "S3DestinationBucketName", # required
823
820
  # },
824
821
  # },
822
+ # name: "RecordingConfigurationName",
823
+ # recording_reconnect_window_seconds: 1,
824
+ # rendition_configuration: {
825
+ # rendition_selection: "ALL", # accepts ALL, NONE, CUSTOM
826
+ # renditions: ["SD"], # accepts SD, HD, FULL_HD, LOWEST_RESOLUTION
827
+ # },
825
828
  # tags: {
826
829
  # "TagKey" => "TagValue",
827
830
  # },
828
831
  # thumbnail_configuration: {
829
832
  # recording_mode: "DISABLED", # accepts DISABLED, INTERVAL
830
- # target_interval_seconds: 1,
831
833
  # resolution: "SD", # accepts SD, HD, FULL_HD, LOWEST_RESOLUTION
832
834
  # storage: ["SEQUENTIAL"], # accepts SEQUENTIAL, LATEST
833
- # },
834
- # recording_reconnect_window_seconds: 1,
835
- # rendition_configuration: {
836
- # rendition_selection: "ALL", # accepts ALL, NONE, CUSTOM
837
- # renditions: ["SD"], # accepts SD, HD, FULL_HD, LOWEST_RESOLUTION
835
+ # target_interval_seconds: 1,
838
836
  # },
839
837
  # })
840
838
  #
841
839
  # @example Response structure
842
840
  #
843
841
  # resp.recording_configuration.arn #=> String
844
- # resp.recording_configuration.name #=> String
845
842
  # resp.recording_configuration.destination_configuration.s3.bucket_name #=> String
843
+ # resp.recording_configuration.name #=> String
844
+ # resp.recording_configuration.recording_reconnect_window_seconds #=> Integer
845
+ # resp.recording_configuration.rendition_configuration.rendition_selection #=> String, one of "ALL", "NONE", "CUSTOM"
846
+ # resp.recording_configuration.rendition_configuration.renditions #=> Array
847
+ # resp.recording_configuration.rendition_configuration.renditions[0] #=> String, one of "SD", "HD", "FULL_HD", "LOWEST_RESOLUTION"
846
848
  # resp.recording_configuration.state #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE"
847
849
  # resp.recording_configuration.tags #=> Hash
848
850
  # resp.recording_configuration.tags["TagKey"] #=> String
849
851
  # resp.recording_configuration.thumbnail_configuration.recording_mode #=> String, one of "DISABLED", "INTERVAL"
850
- # resp.recording_configuration.thumbnail_configuration.target_interval_seconds #=> Integer
851
852
  # resp.recording_configuration.thumbnail_configuration.resolution #=> String, one of "SD", "HD", "FULL_HD", "LOWEST_RESOLUTION"
852
853
  # resp.recording_configuration.thumbnail_configuration.storage #=> Array
853
854
  # resp.recording_configuration.thumbnail_configuration.storage[0] #=> String, one of "SEQUENTIAL", "LATEST"
854
- # resp.recording_configuration.recording_reconnect_window_seconds #=> Integer
855
- # resp.recording_configuration.rendition_configuration.rendition_selection #=> String, one of "ALL", "NONE", "CUSTOM"
856
- # resp.recording_configuration.rendition_configuration.renditions #=> Array
857
- # resp.recording_configuration.rendition_configuration.renditions[0] #=> String, one of "SD", "HD", "FULL_HD", "LOWEST_RESOLUTION"
855
+ # resp.recording_configuration.thumbnail_configuration.target_interval_seconds #=> Integer
858
856
  #
859
857
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateRecordingConfiguration AWS API Documentation
860
858
  #
@@ -904,10 +902,10 @@ module Aws::IVS
904
902
  # @example Response structure
905
903
  #
906
904
  # resp.stream_key.arn #=> String
907
- # resp.stream_key.value #=> String
908
905
  # resp.stream_key.channel_arn #=> String
909
906
  # resp.stream_key.tags #=> Hash
910
907
  # resp.stream_key.tags["TagKey"] #=> String
908
+ # resp.stream_key.value #=> String
911
909
  #
912
910
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateStreamKey AWS API Documentation
913
911
  #
@@ -1071,20 +1069,20 @@ module Aws::IVS
1071
1069
  # @example Response structure
1072
1070
  #
1073
1071
  # resp.channel.arn #=> String
1074
- # resp.channel.name #=> String
1075
- # resp.channel.latency_mode #=> String, one of "NORMAL", "LOW"
1076
- # resp.channel.type #=> String, one of "BASIC", "STANDARD", "ADVANCED_SD", "ADVANCED_HD"
1077
- # resp.channel.recording_configuration_arn #=> String
1078
- # resp.channel.ingest_endpoint #=> String
1079
- # resp.channel.playback_url #=> String
1080
1072
  # resp.channel.authorized #=> Boolean
1081
- # resp.channel.tags #=> Hash
1082
- # resp.channel.tags["TagKey"] #=> String
1073
+ # resp.channel.ingest_endpoint #=> String
1083
1074
  # resp.channel.insecure_ingest #=> Boolean
1075
+ # resp.channel.latency_mode #=> String, one of "NORMAL", "LOW"
1076
+ # resp.channel.name #=> String
1077
+ # resp.channel.playback_restriction_policy_arn #=> String
1078
+ # resp.channel.playback_url #=> String
1084
1079
  # resp.channel.preset #=> String, one of "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY"
1080
+ # resp.channel.recording_configuration_arn #=> String
1085
1081
  # resp.channel.srt.endpoint #=> String
1086
1082
  # resp.channel.srt.passphrase #=> String
1087
- # resp.channel.playback_restriction_policy_arn #=> String
1083
+ # resp.channel.tags #=> Hash
1084
+ # resp.channel.tags["TagKey"] #=> String
1085
+ # resp.channel.type #=> String, one of "BASIC", "STANDARD", "ADVANCED_SD", "ADVANCED_HD"
1088
1086
  #
1089
1087
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetChannel AWS API Documentation
1090
1088
  #
@@ -1121,8 +1119,8 @@ module Aws::IVS
1121
1119
  # @example Response structure
1122
1120
  #
1123
1121
  # resp.key_pair.arn #=> String
1124
- # resp.key_pair.name #=> String
1125
1122
  # resp.key_pair.fingerprint #=> String
1123
+ # resp.key_pair.name #=> String
1126
1124
  # resp.key_pair.tags #=> Hash
1127
1125
  # resp.key_pair.tags["TagKey"] #=> String
1128
1126
  #
@@ -1152,11 +1150,11 @@ module Aws::IVS
1152
1150
  #
1153
1151
  # @example Response structure
1154
1152
  #
1155
- # resp.playback_restriction_policy.arn #=> String
1156
1153
  # resp.playback_restriction_policy.allowed_countries #=> Array
1157
1154
  # resp.playback_restriction_policy.allowed_countries[0] #=> String
1158
1155
  # resp.playback_restriction_policy.allowed_origins #=> Array
1159
1156
  # resp.playback_restriction_policy.allowed_origins[0] #=> String
1157
+ # resp.playback_restriction_policy.arn #=> String
1160
1158
  # resp.playback_restriction_policy.enable_strict_origin_enforcement #=> Boolean
1161
1159
  # resp.playback_restriction_policy.name #=> String
1162
1160
  # resp.playback_restriction_policy.tags #=> Hash
@@ -1189,20 +1187,20 @@ module Aws::IVS
1189
1187
  # @example Response structure
1190
1188
  #
1191
1189
  # resp.recording_configuration.arn #=> String
1192
- # resp.recording_configuration.name #=> String
1193
1190
  # resp.recording_configuration.destination_configuration.s3.bucket_name #=> String
1191
+ # resp.recording_configuration.name #=> String
1192
+ # resp.recording_configuration.recording_reconnect_window_seconds #=> Integer
1193
+ # resp.recording_configuration.rendition_configuration.rendition_selection #=> String, one of "ALL", "NONE", "CUSTOM"
1194
+ # resp.recording_configuration.rendition_configuration.renditions #=> Array
1195
+ # resp.recording_configuration.rendition_configuration.renditions[0] #=> String, one of "SD", "HD", "FULL_HD", "LOWEST_RESOLUTION"
1194
1196
  # resp.recording_configuration.state #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE"
1195
1197
  # resp.recording_configuration.tags #=> Hash
1196
1198
  # resp.recording_configuration.tags["TagKey"] #=> String
1197
1199
  # resp.recording_configuration.thumbnail_configuration.recording_mode #=> String, one of "DISABLED", "INTERVAL"
1198
- # resp.recording_configuration.thumbnail_configuration.target_interval_seconds #=> Integer
1199
1200
  # resp.recording_configuration.thumbnail_configuration.resolution #=> String, one of "SD", "HD", "FULL_HD", "LOWEST_RESOLUTION"
1200
1201
  # resp.recording_configuration.thumbnail_configuration.storage #=> Array
1201
1202
  # resp.recording_configuration.thumbnail_configuration.storage[0] #=> String, one of "SEQUENTIAL", "LATEST"
1202
- # resp.recording_configuration.recording_reconnect_window_seconds #=> Integer
1203
- # resp.recording_configuration.rendition_configuration.rendition_selection #=> String, one of "ALL", "NONE", "CUSTOM"
1204
- # resp.recording_configuration.rendition_configuration.renditions #=> Array
1205
- # resp.recording_configuration.rendition_configuration.renditions[0] #=> String, one of "SD", "HD", "FULL_HD", "LOWEST_RESOLUTION"
1203
+ # resp.recording_configuration.thumbnail_configuration.target_interval_seconds #=> Integer
1206
1204
  #
1207
1205
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetRecordingConfiguration AWS API Documentation
1208
1206
  #
@@ -1232,11 +1230,11 @@ module Aws::IVS
1232
1230
  # @example Response structure
1233
1231
  #
1234
1232
  # resp.stream.channel_arn #=> String
1235
- # resp.stream.stream_id #=> String
1233
+ # resp.stream.health #=> String, one of "HEALTHY", "STARVING", "UNKNOWN"
1236
1234
  # resp.stream.playback_url #=> String
1237
1235
  # resp.stream.start_time #=> Time
1238
1236
  # resp.stream.state #=> String, one of "LIVE", "OFFLINE"
1239
- # resp.stream.health #=> String, one of "HEALTHY", "STARVING", "UNKNOWN"
1237
+ # resp.stream.stream_id #=> String
1240
1238
  # resp.stream.viewer_count #=> Integer
1241
1239
  #
1242
1240
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetStream AWS API Documentation
@@ -1266,10 +1264,10 @@ module Aws::IVS
1266
1264
  # @example Response structure
1267
1265
  #
1268
1266
  # resp.stream_key.arn #=> String
1269
- # resp.stream_key.value #=> String
1270
1267
  # resp.stream_key.channel_arn #=> String
1271
1268
  # resp.stream_key.tags #=> Hash
1272
1269
  # resp.stream_key.tags["TagKey"] #=> String
1270
+ # resp.stream_key.value #=> String
1273
1271
  #
1274
1272
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetStreamKey AWS API Documentation
1275
1273
  #
@@ -1303,55 +1301,56 @@ module Aws::IVS
1303
1301
  #
1304
1302
  # @example Response structure
1305
1303
  #
1306
- # resp.stream_session.stream_id #=> String
1307
- # resp.stream_session.start_time #=> Time
1308
- # resp.stream_session.end_time #=> Time
1309
1304
  # resp.stream_session.channel.arn #=> String
1310
- # resp.stream_session.channel.name #=> String
1311
- # resp.stream_session.channel.latency_mode #=> String, one of "NORMAL", "LOW"
1312
- # resp.stream_session.channel.type #=> String, one of "BASIC", "STANDARD", "ADVANCED_SD", "ADVANCED_HD"
1313
- # resp.stream_session.channel.recording_configuration_arn #=> String
1314
- # resp.stream_session.channel.ingest_endpoint #=> String
1315
- # resp.stream_session.channel.playback_url #=> String
1316
1305
  # resp.stream_session.channel.authorized #=> Boolean
1317
- # resp.stream_session.channel.tags #=> Hash
1318
- # resp.stream_session.channel.tags["TagKey"] #=> String
1306
+ # resp.stream_session.channel.ingest_endpoint #=> String
1319
1307
  # resp.stream_session.channel.insecure_ingest #=> Boolean
1308
+ # resp.stream_session.channel.latency_mode #=> String, one of "NORMAL", "LOW"
1309
+ # resp.stream_session.channel.name #=> String
1310
+ # resp.stream_session.channel.playback_restriction_policy_arn #=> String
1311
+ # resp.stream_session.channel.playback_url #=> String
1320
1312
  # resp.stream_session.channel.preset #=> String, one of "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY"
1313
+ # resp.stream_session.channel.recording_configuration_arn #=> String
1321
1314
  # resp.stream_session.channel.srt.endpoint #=> String
1322
1315
  # resp.stream_session.channel.srt.passphrase #=> String
1323
- # resp.stream_session.channel.playback_restriction_policy_arn #=> String
1324
- # resp.stream_session.ingest_configuration.video.avc_profile #=> String
1316
+ # resp.stream_session.channel.tags #=> Hash
1317
+ # resp.stream_session.channel.tags["TagKey"] #=> String
1318
+ # resp.stream_session.channel.type #=> String, one of "BASIC", "STANDARD", "ADVANCED_SD", "ADVANCED_HD"
1319
+ # resp.stream_session.end_time #=> Time
1320
+ # resp.stream_session.ingest_configuration.audio.channels #=> Integer
1321
+ # resp.stream_session.ingest_configuration.audio.codec #=> String
1322
+ # resp.stream_session.ingest_configuration.audio.sample_rate #=> Integer
1323
+ # resp.stream_session.ingest_configuration.audio.target_bitrate #=> Integer
1325
1324
  # resp.stream_session.ingest_configuration.video.avc_level #=> String
1325
+ # resp.stream_session.ingest_configuration.video.avc_profile #=> String
1326
1326
  # resp.stream_session.ingest_configuration.video.codec #=> String
1327
1327
  # resp.stream_session.ingest_configuration.video.encoder #=> String
1328
1328
  # resp.stream_session.ingest_configuration.video.target_bitrate #=> Integer
1329
1329
  # resp.stream_session.ingest_configuration.video.target_framerate #=> Integer
1330
1330
  # resp.stream_session.ingest_configuration.video.video_height #=> Integer
1331
1331
  # resp.stream_session.ingest_configuration.video.video_width #=> Integer
1332
- # resp.stream_session.ingest_configuration.audio.codec #=> String
1333
- # resp.stream_session.ingest_configuration.audio.target_bitrate #=> Integer
1334
- # resp.stream_session.ingest_configuration.audio.sample_rate #=> Integer
1335
- # resp.stream_session.ingest_configuration.audio.channels #=> Integer
1336
1332
  # resp.stream_session.recording_configuration.arn #=> String
1337
- # resp.stream_session.recording_configuration.name #=> String
1338
1333
  # resp.stream_session.recording_configuration.destination_configuration.s3.bucket_name #=> String
1334
+ # resp.stream_session.recording_configuration.name #=> String
1335
+ # resp.stream_session.recording_configuration.recording_reconnect_window_seconds #=> Integer
1336
+ # resp.stream_session.recording_configuration.rendition_configuration.rendition_selection #=> String, one of "ALL", "NONE", "CUSTOM"
1337
+ # resp.stream_session.recording_configuration.rendition_configuration.renditions #=> Array
1338
+ # resp.stream_session.recording_configuration.rendition_configuration.renditions[0] #=> String, one of "SD", "HD", "FULL_HD", "LOWEST_RESOLUTION"
1339
1339
  # resp.stream_session.recording_configuration.state #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE"
1340
1340
  # resp.stream_session.recording_configuration.tags #=> Hash
1341
1341
  # resp.stream_session.recording_configuration.tags["TagKey"] #=> String
1342
1342
  # resp.stream_session.recording_configuration.thumbnail_configuration.recording_mode #=> String, one of "DISABLED", "INTERVAL"
1343
- # resp.stream_session.recording_configuration.thumbnail_configuration.target_interval_seconds #=> Integer
1344
1343
  # resp.stream_session.recording_configuration.thumbnail_configuration.resolution #=> String, one of "SD", "HD", "FULL_HD", "LOWEST_RESOLUTION"
1345
1344
  # resp.stream_session.recording_configuration.thumbnail_configuration.storage #=> Array
1346
1345
  # resp.stream_session.recording_configuration.thumbnail_configuration.storage[0] #=> String, one of "SEQUENTIAL", "LATEST"
1347
- # resp.stream_session.recording_configuration.recording_reconnect_window_seconds #=> Integer
1348
- # resp.stream_session.recording_configuration.rendition_configuration.rendition_selection #=> String, one of "ALL", "NONE", "CUSTOM"
1349
- # resp.stream_session.recording_configuration.rendition_configuration.renditions #=> Array
1350
- # resp.stream_session.recording_configuration.rendition_configuration.renditions[0] #=> String, one of "SD", "HD", "FULL_HD", "LOWEST_RESOLUTION"
1346
+ # resp.stream_session.recording_configuration.thumbnail_configuration.target_interval_seconds #=> Integer
1347
+ # resp.stream_session.start_time #=> Time
1348
+ # resp.stream_session.stream_id #=> String
1351
1349
  # resp.stream_session.truncated_events #=> Array
1350
+ # resp.stream_session.truncated_events[0].code #=> String
1351
+ # resp.stream_session.truncated_events[0].event_time #=> Time
1352
1352
  # resp.stream_session.truncated_events[0].name #=> String
1353
1353
  # resp.stream_session.truncated_events[0].type #=> String
1354
- # resp.stream_session.truncated_events[0].event_time #=> Time
1355
1354
  #
1356
1355
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetStreamSession AWS API Documentation
1357
1356
  #
@@ -1372,12 +1371,12 @@ module Aws::IVS
1372
1371
  #
1373
1372
  # [1]: https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html
1374
1373
  #
1375
- # @option params [required, String] :public_key_material
1376
- # The public portion of a customer-generated key pair.
1377
- #
1378
1374
  # @option params [String] :name
1379
1375
  # Playback-key-pair name. The value does not need to be unique.
1380
1376
  #
1377
+ # @option params [required, String] :public_key_material
1378
+ # The public portion of a customer-generated key pair.
1379
+ #
1381
1380
  # @option params [Hash<String,String>] :tags
1382
1381
  # Any tags provided with the request are added to the playback key pair
1383
1382
  # tags. See [Best practices and strategies][1] in *Tagging Amazon Web
@@ -1397,8 +1396,8 @@ module Aws::IVS
1397
1396
  # @example Request syntax with placeholder values
1398
1397
  #
1399
1398
  # resp = client.import_playback_key_pair({
1400
- # public_key_material: "PlaybackPublicKeyMaterial", # required
1401
1399
  # name: "PlaybackKeyPairName",
1400
+ # public_key_material: "PlaybackPublicKeyMaterial", # required
1402
1401
  # tags: {
1403
1402
  # "TagKey" => "TagValue",
1404
1403
  # },
@@ -1407,8 +1406,8 @@ module Aws::IVS
1407
1406
  # @example Response structure
1408
1407
  #
1409
1408
  # resp.key_pair.arn #=> String
1410
- # resp.key_pair.name #=> String
1411
1409
  # resp.key_pair.fingerprint #=> String
1410
+ # resp.key_pair.name #=> String
1412
1411
  # resp.key_pair.tags #=> Hash
1413
1412
  # resp.key_pair.tags["TagKey"] #=> String
1414
1413
  #
@@ -1431,20 +1430,20 @@ module Aws::IVS
1431
1430
  # @option params [String] :filter_by_name
1432
1431
  # Filters the channel list to match the specified name.
1433
1432
  #
1433
+ # @option params [String] :filter_by_playback_restriction_policy_arn
1434
+ # Filters the channel list to match the specified policy.
1435
+ #
1434
1436
  # @option params [String] :filter_by_recording_configuration_arn
1435
1437
  # Filters the channel list to match the specified
1436
1438
  # recording-configuration ARN.
1437
1439
  #
1438
- # @option params [String] :filter_by_playback_restriction_policy_arn
1439
- # Filters the channel list to match the specified policy.
1440
+ # @option params [Integer] :max_results
1441
+ # Maximum number of channels to return. Default: 100.
1440
1442
  #
1441
1443
  # @option params [String] :next_token
1442
1444
  # The first channel to retrieve. This is used for pagination; see the
1443
1445
  # `nextToken` response field.
1444
1446
  #
1445
- # @option params [Integer] :max_results
1446
- # Maximum number of channels to return. Default: 100.
1447
- #
1448
1447
  # @return [Types::ListChannelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1449
1448
  #
1450
1449
  # * {Types::ListChannelsResponse#channels #channels} => Array&lt;Types::ChannelSummary&gt;
@@ -1456,26 +1455,26 @@ module Aws::IVS
1456
1455
  #
1457
1456
  # resp = client.list_channels({
1458
1457
  # filter_by_name: "ChannelName",
1459
- # filter_by_recording_configuration_arn: "ChannelRecordingConfigurationArn",
1460
1458
  # filter_by_playback_restriction_policy_arn: "ChannelPlaybackRestrictionPolicyArn",
1461
- # next_token: "PaginationToken",
1459
+ # filter_by_recording_configuration_arn: "ChannelRecordingConfigurationArn",
1462
1460
  # max_results: 1,
1461
+ # next_token: "PaginationToken",
1463
1462
  # })
1464
1463
  #
1465
1464
  # @example Response structure
1466
1465
  #
1467
1466
  # resp.channels #=> Array
1468
1467
  # resp.channels[0].arn #=> String
1469
- # resp.channels[0].name #=> String
1470
- # resp.channels[0].latency_mode #=> String, one of "NORMAL", "LOW"
1471
1468
  # resp.channels[0].authorized #=> Boolean
1469
+ # resp.channels[0].insecure_ingest #=> Boolean
1470
+ # resp.channels[0].latency_mode #=> String, one of "NORMAL", "LOW"
1471
+ # resp.channels[0].name #=> String
1472
+ # resp.channels[0].playback_restriction_policy_arn #=> String
1473
+ # resp.channels[0].preset #=> String, one of "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY"
1472
1474
  # resp.channels[0].recording_configuration_arn #=> String
1473
1475
  # resp.channels[0].tags #=> Hash
1474
1476
  # resp.channels[0].tags["TagKey"] #=> String
1475
- # resp.channels[0].insecure_ingest #=> Boolean
1476
1477
  # resp.channels[0].type #=> String, one of "BASIC", "STANDARD", "ADVANCED_SD", "ADVANCED_HD"
1477
- # resp.channels[0].preset #=> String, one of "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY"
1478
- # resp.channels[0].playback_restriction_policy_arn #=> String
1479
1478
  # resp.next_token #=> String
1480
1479
  #
1481
1480
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListChannels AWS API Documentation
@@ -1495,14 +1494,14 @@ module Aws::IVS
1495
1494
  #
1496
1495
  # [1]: https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html
1497
1496
  #
1498
- # @option params [String] :next_token
1499
- # The first key pair to retrieve. This is used for pagination; see the
1500
- # `nextToken` response field.
1501
- #
1502
1497
  # @option params [Integer] :max_results
1503
1498
  # Maximum number of key pairs to return. Default: your service quota or
1504
1499
  # 100, whichever is smaller.
1505
1500
  #
1501
+ # @option params [String] :next_token
1502
+ # The first key pair to retrieve. This is used for pagination; see the
1503
+ # `nextToken` response field.
1504
+ #
1506
1505
  # @return [Types::ListPlaybackKeyPairsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1507
1506
  #
1508
1507
  # * {Types::ListPlaybackKeyPairsResponse#key_pairs #key_pairs} => Array&lt;Types::PlaybackKeyPairSummary&gt;
@@ -1513,8 +1512,8 @@ module Aws::IVS
1513
1512
  # @example Request syntax with placeholder values
1514
1513
  #
1515
1514
  # resp = client.list_playback_key_pairs({
1516
- # next_token: "PaginationToken",
1517
1515
  # max_results: 1,
1516
+ # next_token: "PaginationToken",
1518
1517
  # })
1519
1518
  #
1520
1519
  # @example Response structure
@@ -1537,40 +1536,40 @@ module Aws::IVS
1537
1536
 
1538
1537
  # Gets summary information about playback restriction policies.
1539
1538
  #
1539
+ # @option params [Integer] :max_results
1540
+ # Maximum number of policies to return. Default: 1.
1541
+ #
1540
1542
  # @option params [String] :next_token
1541
1543
  # The first policy to retrieve. This is used for pagination; see the
1542
1544
  # `nextToken` response field.
1543
1545
  #
1544
- # @option params [Integer] :max_results
1545
- # Maximum number of policies to return. Default: 1.
1546
- #
1547
1546
  # @return [Types::ListPlaybackRestrictionPoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1548
1547
  #
1549
- # * {Types::ListPlaybackRestrictionPoliciesResponse#playback_restriction_policies #playback_restriction_policies} => Array&lt;Types::PlaybackRestrictionPolicySummary&gt;
1550
1548
  # * {Types::ListPlaybackRestrictionPoliciesResponse#next_token #next_token} => String
1549
+ # * {Types::ListPlaybackRestrictionPoliciesResponse#playback_restriction_policies #playback_restriction_policies} => Array&lt;Types::PlaybackRestrictionPolicySummary&gt;
1551
1550
  #
1552
1551
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1553
1552
  #
1554
1553
  # @example Request syntax with placeholder values
1555
1554
  #
1556
1555
  # resp = client.list_playback_restriction_policies({
1557
- # next_token: "PaginationToken",
1558
1556
  # max_results: 1,
1557
+ # next_token: "PaginationToken",
1559
1558
  # })
1560
1559
  #
1561
1560
  # @example Response structure
1562
1561
  #
1562
+ # resp.next_token #=> String
1563
1563
  # resp.playback_restriction_policies #=> Array
1564
- # resp.playback_restriction_policies[0].arn #=> String
1565
1564
  # resp.playback_restriction_policies[0].allowed_countries #=> Array
1566
1565
  # resp.playback_restriction_policies[0].allowed_countries[0] #=> String
1567
1566
  # resp.playback_restriction_policies[0].allowed_origins #=> Array
1568
1567
  # resp.playback_restriction_policies[0].allowed_origins[0] #=> String
1568
+ # resp.playback_restriction_policies[0].arn #=> String
1569
1569
  # resp.playback_restriction_policies[0].enable_strict_origin_enforcement #=> Boolean
1570
1570
  # resp.playback_restriction_policies[0].name #=> String
1571
1571
  # resp.playback_restriction_policies[0].tags #=> Hash
1572
1572
  # resp.playback_restriction_policies[0].tags["TagKey"] #=> String
1573
- # resp.next_token #=> String
1574
1573
  #
1575
1574
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListPlaybackRestrictionPolicies AWS API Documentation
1576
1575
  #
@@ -1585,38 +1584,38 @@ module Aws::IVS
1585
1584
  # account, in the Amazon Web Services region where the API request is
1586
1585
  # processed.
1587
1586
  #
1588
- # @option params [String] :next_token
1589
- # The first recording configuration to retrieve. This is used for
1590
- # pagination; see the `nextToken` response field.
1591
- #
1592
1587
  # @option params [Integer] :max_results
1593
1588
  # Maximum number of recording configurations to return. Default: your
1594
1589
  # service quota or 100, whichever is smaller.
1595
1590
  #
1591
+ # @option params [String] :next_token
1592
+ # The first recording configuration to retrieve. This is used for
1593
+ # pagination; see the `nextToken` response field.
1594
+ #
1596
1595
  # @return [Types::ListRecordingConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1597
1596
  #
1598
- # * {Types::ListRecordingConfigurationsResponse#recording_configurations #recording_configurations} => Array&lt;Types::RecordingConfigurationSummary&gt;
1599
1597
  # * {Types::ListRecordingConfigurationsResponse#next_token #next_token} => String
1598
+ # * {Types::ListRecordingConfigurationsResponse#recording_configurations #recording_configurations} => Array&lt;Types::RecordingConfigurationSummary&gt;
1600
1599
  #
1601
1600
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1602
1601
  #
1603
1602
  # @example Request syntax with placeholder values
1604
1603
  #
1605
1604
  # resp = client.list_recording_configurations({
1606
- # next_token: "PaginationToken",
1607
1605
  # max_results: 1,
1606
+ # next_token: "PaginationToken",
1608
1607
  # })
1609
1608
  #
1610
1609
  # @example Response structure
1611
1610
  #
1611
+ # resp.next_token #=> String
1612
1612
  # resp.recording_configurations #=> Array
1613
1613
  # resp.recording_configurations[0].arn #=> String
1614
- # resp.recording_configurations[0].name #=> String
1615
1614
  # resp.recording_configurations[0].destination_configuration.s3.bucket_name #=> String
1615
+ # resp.recording_configurations[0].name #=> String
1616
1616
  # resp.recording_configurations[0].state #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE"
1617
1617
  # resp.recording_configurations[0].tags #=> Hash
1618
1618
  # resp.recording_configurations[0].tags["TagKey"] #=> String
1619
- # resp.next_token #=> String
1620
1619
  #
1621
1620
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListRecordingConfigurations AWS API Documentation
1622
1621
  #
@@ -1632,17 +1631,17 @@ module Aws::IVS
1632
1631
  # @option params [required, String] :channel_arn
1633
1632
  # Channel ARN used to filter the list.
1634
1633
  #
1634
+ # @option params [Integer] :max_results
1635
+ # Maximum number of streamKeys to return. Default: 1.
1636
+ #
1635
1637
  # @option params [String] :next_token
1636
1638
  # The first stream key to retrieve. This is used for pagination; see the
1637
1639
  # `nextToken` response field.
1638
1640
  #
1639
- # @option params [Integer] :max_results
1640
- # Maximum number of streamKeys to return. Default: 1.
1641
- #
1642
1641
  # @return [Types::ListStreamKeysResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1643
1642
  #
1644
- # * {Types::ListStreamKeysResponse#stream_keys #stream_keys} => Array&lt;Types::StreamKeySummary&gt;
1645
1643
  # * {Types::ListStreamKeysResponse#next_token #next_token} => String
1644
+ # * {Types::ListStreamKeysResponse#stream_keys #stream_keys} => Array&lt;Types::StreamKeySummary&gt;
1646
1645
  #
1647
1646
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1648
1647
  #
@@ -1650,18 +1649,18 @@ module Aws::IVS
1650
1649
  #
1651
1650
  # resp = client.list_stream_keys({
1652
1651
  # channel_arn: "ChannelArn", # required
1653
- # next_token: "PaginationToken",
1654
1652
  # max_results: 1,
1653
+ # next_token: "PaginationToken",
1655
1654
  # })
1656
1655
  #
1657
1656
  # @example Response structure
1658
1657
  #
1658
+ # resp.next_token #=> String
1659
1659
  # resp.stream_keys #=> Array
1660
1660
  # resp.stream_keys[0].arn #=> String
1661
1661
  # resp.stream_keys[0].channel_arn #=> String
1662
1662
  # resp.stream_keys[0].tags #=> Hash
1663
1663
  # resp.stream_keys[0].tags["TagKey"] #=> String
1664
- # resp.next_token #=> String
1665
1664
  #
1666
1665
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListStreamKeys AWS API Documentation
1667
1666
  #
@@ -1678,17 +1677,17 @@ module Aws::IVS
1678
1677
  # @option params [required, String] :channel_arn
1679
1678
  # Channel ARN used to filter the list.
1680
1679
  #
1680
+ # @option params [Integer] :max_results
1681
+ # Maximum number of streams to return. Default: 100.
1682
+ #
1681
1683
  # @option params [String] :next_token
1682
1684
  # The first stream to retrieve. This is used for pagination; see the
1683
1685
  # `nextToken` response field.
1684
1686
  #
1685
- # @option params [Integer] :max_results
1686
- # Maximum number of streams to return. Default: 100.
1687
- #
1688
1687
  # @return [Types::ListStreamSessionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1689
1688
  #
1690
- # * {Types::ListStreamSessionsResponse#stream_sessions #stream_sessions} => Array&lt;Types::StreamSessionSummary&gt;
1691
1689
  # * {Types::ListStreamSessionsResponse#next_token #next_token} => String
1690
+ # * {Types::ListStreamSessionsResponse#stream_sessions #stream_sessions} => Array&lt;Types::StreamSessionSummary&gt;
1692
1691
  #
1693
1692
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1694
1693
  #
@@ -1696,18 +1695,18 @@ module Aws::IVS
1696
1695
  #
1697
1696
  # resp = client.list_stream_sessions({
1698
1697
  # channel_arn: "ChannelArn", # required
1699
- # next_token: "PaginationToken",
1700
1698
  # max_results: 1,
1699
+ # next_token: "PaginationToken",
1701
1700
  # })
1702
1701
  #
1703
1702
  # @example Response structure
1704
1703
  #
1704
+ # resp.next_token #=> String
1705
1705
  # resp.stream_sessions #=> Array
1706
- # resp.stream_sessions[0].stream_id #=> String
1707
- # resp.stream_sessions[0].start_time #=> Time
1708
1706
  # resp.stream_sessions[0].end_time #=> Time
1709
1707
  # resp.stream_sessions[0].has_error_event #=> Boolean
1710
- # resp.next_token #=> String
1708
+ # resp.stream_sessions[0].start_time #=> Time
1709
+ # resp.stream_sessions[0].stream_id #=> String
1711
1710
  #
1712
1711
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListStreamSessions AWS API Documentation
1713
1712
  #
@@ -1724,17 +1723,17 @@ module Aws::IVS
1724
1723
  # @option params [Types::StreamFilters] :filter_by
1725
1724
  # Filters the stream list to match the specified criterion.
1726
1725
  #
1726
+ # @option params [Integer] :max_results
1727
+ # Maximum number of streams to return. Default: 100.
1728
+ #
1727
1729
  # @option params [String] :next_token
1728
1730
  # The first stream to retrieve. This is used for pagination; see the
1729
1731
  # `nextToken` response field.
1730
1732
  #
1731
- # @option params [Integer] :max_results
1732
- # Maximum number of streams to return. Default: 100.
1733
- #
1734
1733
  # @return [Types::ListStreamsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1735
1734
  #
1736
- # * {Types::ListStreamsResponse#streams #streams} => Array&lt;Types::StreamSummary&gt;
1737
1735
  # * {Types::ListStreamsResponse#next_token #next_token} => String
1736
+ # * {Types::ListStreamsResponse#streams #streams} => Array&lt;Types::StreamSummary&gt;
1738
1737
  #
1739
1738
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1740
1739
  #
@@ -1744,20 +1743,20 @@ module Aws::IVS
1744
1743
  # filter_by: {
1745
1744
  # health: "HEALTHY", # accepts HEALTHY, STARVING, UNKNOWN
1746
1745
  # },
1747
- # next_token: "PaginationToken",
1748
1746
  # max_results: 1,
1747
+ # next_token: "PaginationToken",
1749
1748
  # })
1750
1749
  #
1751
1750
  # @example Response structure
1752
1751
  #
1752
+ # resp.next_token #=> String
1753
1753
  # resp.streams #=> Array
1754
1754
  # resp.streams[0].channel_arn #=> String
1755
- # resp.streams[0].stream_id #=> String
1756
- # resp.streams[0].state #=> String, one of "LIVE", "OFFLINE"
1757
1755
  # resp.streams[0].health #=> String, one of "HEALTHY", "STARVING", "UNKNOWN"
1758
- # resp.streams[0].viewer_count #=> Integer
1759
1756
  # resp.streams[0].start_time #=> Time
1760
- # resp.next_token #=> String
1757
+ # resp.streams[0].state #=> String, one of "LIVE", "OFFLINE"
1758
+ # resp.streams[0].stream_id #=> String
1759
+ # resp.streams[0].viewer_count #=> Integer
1761
1760
  #
1762
1761
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListStreams AWS API Documentation
1763
1762
  #
@@ -1987,46 +1986,46 @@ module Aws::IVS
1987
1986
  # @option params [required, String] :arn
1988
1987
  # ARN of the channel to be updated.
1989
1988
  #
1990
- # @option params [String] :name
1991
- # Channel name.
1989
+ # @option params [Boolean] :authorized
1990
+ # Whether the channel is private (enabled for playback authorization).
1991
+ #
1992
+ # @option params [Boolean] :insecure_ingest
1993
+ # Whether the channel allows insecure RTMP and SRT ingest. Default:
1994
+ # `false`.
1992
1995
  #
1993
1996
  # @option params [String] :latency_mode
1994
1997
  # Channel latency mode. Use `NORMAL` to broadcast and deliver live video
1995
1998
  # up to Full HD. Use `LOW` for near-real-time interaction with viewers.
1996
1999
  #
1997
- # @option params [String] :type
1998
- # Channel type, which determines the allowable resolution and bitrate.
1999
- # *If you exceed the allowable input resolution or bitrate, the stream
2000
- # probably will disconnect immediately.* Default: `STANDARD`. For
2001
- # details, see [Channel Types][1].
2002
- #
2003
- #
2000
+ # @option params [String] :name
2001
+ # Channel name.
2004
2002
  #
2005
- # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html
2003
+ # @option params [String] :playback_restriction_policy_arn
2004
+ # Playback-restriction-policy ARN. A valid ARN value here both specifies
2005
+ # the ARN and enables playback restriction. If this is set to an empty
2006
+ # string, playback restriction policy is disabled.
2006
2007
  #
2007
- # @option params [Boolean] :authorized
2008
- # Whether the channel is private (enabled for playback authorization).
2008
+ # @option params [String] :preset
2009
+ # Optional transcode preset for the channel. This is selectable only for
2010
+ # `ADVANCED_HD` and `ADVANCED_SD` channel types. For those channel
2011
+ # types, the default `preset` is `HIGHER_BANDWIDTH_DELIVERY`. For other
2012
+ # channel types (`BASIC` and `STANDARD`), `preset` is the empty string
2013
+ # (`""`).
2009
2014
  #
2010
2015
  # @option params [String] :recording_configuration_arn
2011
2016
  # Recording-configuration ARN. A valid ARN value here both specifies the
2012
2017
  # ARN and enables recording. If this is set to an empty string,
2013
2018
  # recording is disabled.
2014
2019
  #
2015
- # @option params [Boolean] :insecure_ingest
2016
- # Whether the channel allows insecure RTMP and SRT ingest. Default:
2017
- # `false`.
2020
+ # @option params [String] :type
2021
+ # Channel type, which determines the allowable resolution and bitrate.
2022
+ # *If you exceed the allowable input resolution or bitrate, the stream
2023
+ # probably will disconnect immediately.* Default: `STANDARD`. For
2024
+ # details, see [Channel Types][1].
2018
2025
  #
2019
- # @option params [String] :preset
2020
- # Optional transcode preset for the channel. This is selectable only for
2021
- # `ADVANCED_HD` and `ADVANCED_SD` channel types. For those channel
2022
- # types, the default `preset` is `HIGHER_BANDWIDTH_DELIVERY`. For other
2023
- # channel types (`BASIC` and `STANDARD`), `preset` is the empty string
2024
- # (`""`).
2025
2026
  #
2026
- # @option params [String] :playback_restriction_policy_arn
2027
- # Playback-restriction-policy ARN. A valid ARN value here both specifies
2028
- # the ARN and enables playback restriction. If this is set to an empty
2029
- # string, playback restriction policy is disabled.
2027
+ #
2028
+ # [1]: https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html
2030
2029
  #
2031
2030
  # @return [Types::UpdateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2032
2031
  #
@@ -2036,33 +2035,33 @@ module Aws::IVS
2036
2035
  #
2037
2036
  # resp = client.update_channel({
2038
2037
  # arn: "ChannelArn", # required
2039
- # name: "ChannelName",
2040
- # latency_mode: "NORMAL", # accepts NORMAL, LOW
2041
- # type: "BASIC", # accepts BASIC, STANDARD, ADVANCED_SD, ADVANCED_HD
2042
2038
  # authorized: false,
2043
- # recording_configuration_arn: "ChannelRecordingConfigurationArn",
2044
2039
  # insecure_ingest: false,
2045
- # preset: "HIGHER_BANDWIDTH_DELIVERY", # accepts HIGHER_BANDWIDTH_DELIVERY, CONSTRAINED_BANDWIDTH_DELIVERY
2040
+ # latency_mode: "NORMAL", # accepts NORMAL, LOW
2041
+ # name: "ChannelName",
2046
2042
  # playback_restriction_policy_arn: "ChannelPlaybackRestrictionPolicyArn",
2043
+ # preset: "HIGHER_BANDWIDTH_DELIVERY", # accepts HIGHER_BANDWIDTH_DELIVERY, CONSTRAINED_BANDWIDTH_DELIVERY
2044
+ # recording_configuration_arn: "ChannelRecordingConfigurationArn",
2045
+ # type: "BASIC", # accepts BASIC, STANDARD, ADVANCED_SD, ADVANCED_HD
2047
2046
  # })
2048
2047
  #
2049
2048
  # @example Response structure
2050
2049
  #
2051
2050
  # resp.channel.arn #=> String
2052
- # resp.channel.name #=> String
2053
- # resp.channel.latency_mode #=> String, one of "NORMAL", "LOW"
2054
- # resp.channel.type #=> String, one of "BASIC", "STANDARD", "ADVANCED_SD", "ADVANCED_HD"
2055
- # resp.channel.recording_configuration_arn #=> String
2056
- # resp.channel.ingest_endpoint #=> String
2057
- # resp.channel.playback_url #=> String
2058
2051
  # resp.channel.authorized #=> Boolean
2059
- # resp.channel.tags #=> Hash
2060
- # resp.channel.tags["TagKey"] #=> String
2052
+ # resp.channel.ingest_endpoint #=> String
2061
2053
  # resp.channel.insecure_ingest #=> Boolean
2054
+ # resp.channel.latency_mode #=> String, one of "NORMAL", "LOW"
2055
+ # resp.channel.name #=> String
2056
+ # resp.channel.playback_restriction_policy_arn #=> String
2057
+ # resp.channel.playback_url #=> String
2062
2058
  # resp.channel.preset #=> String, one of "HIGHER_BANDWIDTH_DELIVERY", "CONSTRAINED_BANDWIDTH_DELIVERY"
2059
+ # resp.channel.recording_configuration_arn #=> String
2063
2060
  # resp.channel.srt.endpoint #=> String
2064
2061
  # resp.channel.srt.passphrase #=> String
2065
- # resp.channel.playback_restriction_policy_arn #=> String
2062
+ # resp.channel.tags #=> Hash
2063
+ # resp.channel.tags["TagKey"] #=> String
2064
+ # resp.channel.type #=> String, one of "BASIC", "STANDARD", "ADVANCED_SD", "ADVANCED_HD"
2066
2065
  #
2067
2066
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UpdateChannel AWS API Documentation
2068
2067
  #
@@ -2075,9 +2074,6 @@ module Aws::IVS
2075
2074
 
2076
2075
  # Updates a specified playback restriction policy.
2077
2076
  #
2078
- # @option params [required, String] :arn
2079
- # ARN of the playback-restriction-policy to be updated.
2080
- #
2081
2077
  # @option params [Array<String>] :allowed_countries
2082
2078
  # A list of country codes that control geoblocking restriction. Allowed
2083
2079
  # values are the officially assigned [ISO 3166-1 alpha-2][1] codes.
@@ -2097,6 +2093,9 @@ module Aws::IVS
2097
2093
  #
2098
2094
  # [1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin
2099
2095
  #
2096
+ # @option params [required, String] :arn
2097
+ # ARN of the playback-restriction-policy to be updated.
2098
+ #
2100
2099
  # @option params [Boolean] :enable_strict_origin_enforcement
2101
2100
  # Whether channel playback is constrained by origin site. Default:
2102
2101
  # `false`.
@@ -2112,20 +2111,20 @@ module Aws::IVS
2112
2111
  # @example Request syntax with placeholder values
2113
2112
  #
2114
2113
  # resp = client.update_playback_restriction_policy({
2115
- # arn: "PlaybackRestrictionPolicyArn", # required
2116
2114
  # allowed_countries: ["PlaybackRestrictionPolicyAllowedCountry"],
2117
2115
  # allowed_origins: ["PlaybackRestrictionPolicyAllowedOrigin"],
2116
+ # arn: "PlaybackRestrictionPolicyArn", # required
2118
2117
  # enable_strict_origin_enforcement: false,
2119
2118
  # name: "PlaybackRestrictionPolicyName",
2120
2119
  # })
2121
2120
  #
2122
2121
  # @example Response structure
2123
2122
  #
2124
- # resp.playback_restriction_policy.arn #=> String
2125
2123
  # resp.playback_restriction_policy.allowed_countries #=> Array
2126
2124
  # resp.playback_restriction_policy.allowed_countries[0] #=> String
2127
2125
  # resp.playback_restriction_policy.allowed_origins #=> Array
2128
2126
  # resp.playback_restriction_policy.allowed_origins[0] #=> String
2127
+ # resp.playback_restriction_policy.arn #=> String
2129
2128
  # resp.playback_restriction_policy.enable_strict_origin_enforcement #=> Boolean
2130
2129
  # resp.playback_restriction_policy.name #=> String
2131
2130
  # resp.playback_restriction_policy.tags #=> Hash
@@ -2158,7 +2157,7 @@ module Aws::IVS
2158
2157
  tracer: tracer
2159
2158
  )
2160
2159
  context[:gem_name] = 'aws-sdk-ivs'
2161
- context[:gem_version] = '1.60.0'
2160
+ context[:gem_version] = '1.62.0'
2162
2161
  Seahorse::Client::Request.new(handlers, context)
2163
2162
  end
2164
2163