aws-sdk-ivs 1.0.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3474e7e70733685e7e03e1028cf18b8f08a04a5da2b23b72cf08534955467a6
4
- data.tar.gz: 3006859dd98bc3c8c9f7fdd1d3760b721b3b6228ae46364d3d5a48a3ae4201cc
3
+ metadata.gz: 5337f6300a7795790d6f780ec02bed56b7977e2bafa28594a5620bc3e04778fe
4
+ data.tar.gz: 2da20e26bf0504d4bf2698e5bdfb3ed80564fbeca726d673fbca4b1f9072f6a9
5
5
  SHA512:
6
- metadata.gz: 175103c40cea849aedd0b0f1fee3d11fa20add7f8edd47032bb797c19432c7d8ee23ff08fe046bd708e74297700a2b50e253f9d29366d7f160b0cde5dc65d63e
7
- data.tar.gz: ee74e51a6478d5cddb177d3f9598ab8efb8ebd61d2d9539571d8962be0f7ce1734ad73e3836542c5b6c669013ca2f0c90f60db57cb34afd163407be2242c6008
6
+ metadata.gz: 71054ed1738966306e9790d472ce129d771e156d7861cc1dcbac0bc0108e591431df724c0e55fb499666c5c705a4fe5a293f940242192d57825a197cec92afab
7
+ data.tar.gz: 06e1da429af0790947156dedd15743296748cc0dcf558134f9487a654d605066d86aa9a912b4dac3e6ec19ead9dbfe542f9af025be5c8df7cf2a854d164b5e52
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-ivs/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::IVS
49
50
 
50
- GEM_VERSION = '1.0.0'
51
+ GEM_VERSION = '1.5.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::IVS
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::IVS
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -337,6 +352,7 @@ module Aws::IVS
337
352
  # resp.channels[0].type #=> String, one of "BASIC", "STANDARD"
338
353
  # resp.channels[0].ingest_endpoint #=> String
339
354
  # resp.channels[0].playback_url #=> String
355
+ # resp.channels[0].authorized #=> Boolean
340
356
  # resp.channels[0].tags #=> Hash
341
357
  # resp.channels[0].tags["TagKey"] #=> String
342
358
  # resp.errors #=> Array
@@ -401,11 +417,23 @@ module Aws::IVS
401
417
  #
402
418
  # @option params [String] :type
403
419
  # Channel type, which determines the allowable resolution and bitrate.
404
- # `STANDARD`\: The stream is transcoded; resolution (width, in landscape
405
- # orientation) can be up to 1080p or the input source resolution,
406
- # whichever is lower; and bitrate can be up to 8.5 Mbps. `BASIC`\: The
407
- # stream is transfixed; resolution can be up to 480p; and bitrate can be
408
- # up to 1.5 Mbps. Default: `STANDARD`.
420
+ # *If you exceed the allowable resolution or bitrate, the stream
421
+ # probably will disconnect immediately.* Valid values:
422
+ #
423
+ # * `STANDARD`\: Multiple qualities are generated from the original
424
+ # input, to automatically give viewers the best experience for their
425
+ # devices and network conditions. Vertical resolution can be up to
426
+ # 1080 and bitrate can be up to 8.5 Mbps.
427
+ #
428
+ # * `BASIC`\: Amazon IVS delivers the original input to viewers. The
429
+ # viewer’s video-quality choice is limited to the original input.
430
+ # Vertical resolution can be up to 480 and bitrate can be up to 1.5
431
+ # Mbps.
432
+ #
433
+ # Default: `STANDARD`.
434
+ #
435
+ # @option params [Boolean] :authorized
436
+ # Whether the channel is authorized. Default: `false`.
409
437
  #
410
438
  # @option params [Hash<String,String>] :tags
411
439
  # See Channel$tags.
@@ -421,6 +449,7 @@ module Aws::IVS
421
449
  # name: "ChannelName",
422
450
  # latency_mode: "NORMAL", # accepts NORMAL, LOW
423
451
  # type: "BASIC", # accepts BASIC, STANDARD
452
+ # authorized: false,
424
453
  # tags: {
425
454
  # "TagKey" => "TagValue",
426
455
  # },
@@ -434,6 +463,7 @@ module Aws::IVS
434
463
  # resp.channel.type #=> String, one of "BASIC", "STANDARD"
435
464
  # resp.channel.ingest_endpoint #=> String
436
465
  # resp.channel.playback_url #=> String
466
+ # resp.channel.authorized #=> Boolean
437
467
  # resp.channel.tags #=> Hash
438
468
  # resp.channel.tags["TagKey"] #=> String
439
469
  # resp.stream_key.arn #=> String
@@ -451,7 +481,7 @@ module Aws::IVS
451
481
  req.send_request(options)
452
482
  end
453
483
 
454
- # Creates a stream key, used to initiate a stream, for a specified
484
+ # Creates a stream key, used to initiate a stream, for the specified
455
485
  # channel ARN.
456
486
  #
457
487
  # Note that CreateChannel creates a stream key. If you subsequently use
@@ -496,7 +526,7 @@ module Aws::IVS
496
526
  req.send_request(options)
497
527
  end
498
528
 
499
- # Deletes a specified channel and its associated stream keys.
529
+ # Deletes the specified channel and its associated stream keys.
500
530
  #
501
531
  # @option params [required, String] :arn
502
532
  # ARN of the channel to be deleted.
@@ -518,7 +548,30 @@ module Aws::IVS
518
548
  req.send_request(options)
519
549
  end
520
550
 
521
- # Deletes the stream key for a specified ARN, so it can no longer be
551
+ # Deletes a specified authorization key pair. This invalidates future
552
+ # viewer tokens generated using the key pair’s `privateKey`.
553
+ #
554
+ # @option params [required, String] :arn
555
+ # ARN of the key pair to be deleted.
556
+ #
557
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
558
+ #
559
+ # @example Request syntax with placeholder values
560
+ #
561
+ # resp = client.delete_playback_key_pair({
562
+ # arn: "PlaybackKeyPairArn", # required
563
+ # })
564
+ #
565
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeletePlaybackKeyPair AWS API Documentation
566
+ #
567
+ # @overload delete_playback_key_pair(params = {})
568
+ # @param [Hash] params ({})
569
+ def delete_playback_key_pair(params = {}, options = {})
570
+ req = build_request(:delete_playback_key_pair, params)
571
+ req.send_request(options)
572
+ end
573
+
574
+ # Deletes the stream key for the specified ARN, so it can no longer be
522
575
  # used to stream.
523
576
  #
524
577
  # @option params [required, String] :arn
@@ -541,7 +594,7 @@ module Aws::IVS
541
594
  req.send_request(options)
542
595
  end
543
596
 
544
- # Gets the channel configuration for a specified channel ARN. See also
597
+ # Gets the channel configuration for the specified channel ARN. See also
545
598
  # BatchGetChannel.
546
599
  #
547
600
  # @option params [required, String] :arn
@@ -565,6 +618,7 @@ module Aws::IVS
565
618
  # resp.channel.type #=> String, one of "BASIC", "STANDARD"
566
619
  # resp.channel.ingest_endpoint #=> String
567
620
  # resp.channel.playback_url #=> String
621
+ # resp.channel.authorized #=> Boolean
568
622
  # resp.channel.tags #=> Hash
569
623
  # resp.channel.tags["TagKey"] #=> String
570
624
  #
@@ -577,6 +631,41 @@ module Aws::IVS
577
631
  req.send_request(options)
578
632
  end
579
633
 
634
+ # Gets a specified playback authorization key pair and returns the `arn`
635
+ # and `fingerprint`. The `privateKey` held by the caller can be used to
636
+ # generate viewer authorization tokens, to grant viewers access to
637
+ # authorized channels.
638
+ #
639
+ # @option params [required, String] :arn
640
+ # ARN of the key pair to be returned.
641
+ #
642
+ # @return [Types::GetPlaybackKeyPairResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
643
+ #
644
+ # * {Types::GetPlaybackKeyPairResponse#key_pair #key_pair} => Types::PlaybackKeyPair
645
+ #
646
+ # @example Request syntax with placeholder values
647
+ #
648
+ # resp = client.get_playback_key_pair({
649
+ # arn: "PlaybackKeyPairArn", # required
650
+ # })
651
+ #
652
+ # @example Response structure
653
+ #
654
+ # resp.key_pair.arn #=> String
655
+ # resp.key_pair.name #=> String
656
+ # resp.key_pair.fingerprint #=> String
657
+ # resp.key_pair.tags #=> Hash
658
+ # resp.key_pair.tags["TagKey"] #=> String
659
+ #
660
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetPlaybackKeyPair AWS API Documentation
661
+ #
662
+ # @overload get_playback_key_pair(params = {})
663
+ # @param [Hash] params ({})
664
+ def get_playback_key_pair(params = {}, options = {})
665
+ req = build_request(:get_playback_key_pair, params)
666
+ req.send_request(options)
667
+ end
668
+
580
669
  # Gets information about the active (live) stream on a specified
581
670
  # channel.
582
671
  #
@@ -643,8 +732,56 @@ module Aws::IVS
643
732
  req.send_request(options)
644
733
  end
645
734
 
646
- # Gets summary information about channels. This list can be filtered to
647
- # match a specified string.
735
+ # Imports the public portion of a new key pair and returns its `arn` and
736
+ # `fingerprint`. The `privateKey` can then be used to generate viewer
737
+ # authorization tokens, to grant viewers access to authorized channels.
738
+ #
739
+ # @option params [required, String] :public_key_material
740
+ # The public portion of a customer-generated key pair.
741
+ #
742
+ # @option params [String] :name
743
+ # An arbitrary string (a nickname) assigned to a playback key pair that
744
+ # helps the customer identify that resource. The value does not need to
745
+ # be unique.
746
+ #
747
+ # @option params [Hash<String,String>] :tags
748
+ # Any tags provided with the request are added to the playback key pair
749
+ # tags.
750
+ #
751
+ # @return [Types::ImportPlaybackKeyPairResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
752
+ #
753
+ # * {Types::ImportPlaybackKeyPairResponse#key_pair #key_pair} => Types::PlaybackKeyPair
754
+ #
755
+ # @example Request syntax with placeholder values
756
+ #
757
+ # resp = client.import_playback_key_pair({
758
+ # public_key_material: "PlaybackPublicKeyMaterial", # required
759
+ # name: "PlaybackKeyPairName",
760
+ # tags: {
761
+ # "TagKey" => "TagValue",
762
+ # },
763
+ # })
764
+ #
765
+ # @example Response structure
766
+ #
767
+ # resp.key_pair.arn #=> String
768
+ # resp.key_pair.name #=> String
769
+ # resp.key_pair.fingerprint #=> String
770
+ # resp.key_pair.tags #=> Hash
771
+ # resp.key_pair.tags["TagKey"] #=> String
772
+ #
773
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ImportPlaybackKeyPair AWS API Documentation
774
+ #
775
+ # @overload import_playback_key_pair(params = {})
776
+ # @param [Hash] params ({})
777
+ def import_playback_key_pair(params = {}, options = {})
778
+ req = build_request(:import_playback_key_pair, params)
779
+ req.send_request(options)
780
+ end
781
+
782
+ # Gets summary information about all channels in your account, in the
783
+ # AWS region where the API request is processed. This list can be
784
+ # filtered to match a specified string.
648
785
  #
649
786
  # @option params [String] :filter_by_name
650
787
  # Filters the channel list to match the specified name.
@@ -677,6 +814,7 @@ module Aws::IVS
677
814
  # resp.channels[0].arn #=> String
678
815
  # resp.channels[0].name #=> String
679
816
  # resp.channels[0].latency_mode #=> String, one of "NORMAL", "LOW"
817
+ # resp.channels[0].authorized #=> Boolean
680
818
  # resp.channels[0].tags #=> Hash
681
819
  # resp.channels[0].tags["TagKey"] #=> String
682
820
  # resp.next_token #=> String
@@ -690,8 +828,48 @@ module Aws::IVS
690
828
  req.send_request(options)
691
829
  end
692
830
 
693
- # Gets summary information about stream keys. The list can be filtered
694
- # to a particular channel.
831
+ # Gets summary information about playback key pairs.
832
+ #
833
+ # @option params [String] :next_token
834
+ # Maximum number of key pairs to return.
835
+ #
836
+ # @option params [Integer] :max_results
837
+ # The first key pair to retrieve. This is used for pagination; see the
838
+ # `nextToken` response field.
839
+ #
840
+ # @return [Types::ListPlaybackKeyPairsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
841
+ #
842
+ # * {Types::ListPlaybackKeyPairsResponse#key_pairs #key_pairs} => Array&lt;Types::PlaybackKeyPairSummary&gt;
843
+ # * {Types::ListPlaybackKeyPairsResponse#next_token #next_token} => String
844
+ #
845
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
846
+ #
847
+ # @example Request syntax with placeholder values
848
+ #
849
+ # resp = client.list_playback_key_pairs({
850
+ # next_token: "PaginationToken",
851
+ # max_results: 1,
852
+ # })
853
+ #
854
+ # @example Response structure
855
+ #
856
+ # resp.key_pairs #=> Array
857
+ # resp.key_pairs[0].arn #=> String
858
+ # resp.key_pairs[0].name #=> String
859
+ # resp.key_pairs[0].tags #=> Hash
860
+ # resp.key_pairs[0].tags["TagKey"] #=> String
861
+ # resp.next_token #=> String
862
+ #
863
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListPlaybackKeyPairs AWS API Documentation
864
+ #
865
+ # @overload list_playback_key_pairs(params = {})
866
+ # @param [Hash] params ({})
867
+ def list_playback_key_pairs(params = {}, options = {})
868
+ req = build_request(:list_playback_key_pairs, params)
869
+ req.send_request(options)
870
+ end
871
+
872
+ # Gets summary information about stream keys for the specified channel.
695
873
  #
696
874
  # @option params [required, String] :channel_arn
697
875
  # Channel ARN used to filter the list.
@@ -736,7 +914,8 @@ module Aws::IVS
736
914
  req.send_request(options)
737
915
  end
738
916
 
739
- # Gets summary information about live streams.
917
+ # Gets summary information about live streams in your account, in the
918
+ # AWS region where the API request is processed.
740
919
  #
741
920
  # @option params [String] :next_token
742
921
  # The first stream to retrieve. This is used for pagination; see the
@@ -778,7 +957,7 @@ module Aws::IVS
778
957
  req.send_request(options)
779
958
  end
780
959
 
781
- # Gets information about the tags for a specified ARN.
960
+ # Gets information about AWS tags for the specified ARN.
782
961
  #
783
962
  # @option params [required, String] :resource_arn
784
963
  # The ARN of the resource to be retrieved.
@@ -820,7 +999,7 @@ module Aws::IVS
820
999
  req.send_request(options)
821
1000
  end
822
1001
 
823
- # Inserts metadata into an RTMP stream for a specified channel. A
1002
+ # Inserts metadata into an RTMPS stream for the specified channel. A
824
1003
  # maximum of 5 requests per second per channel is allowed, each with a
825
1004
  # maximum 1KB payload.
826
1005
  #
@@ -849,12 +1028,12 @@ module Aws::IVS
849
1028
  req.send_request(options)
850
1029
  end
851
1030
 
852
- # Disconnects the stream for the specified channel. This disconnects the
853
- # incoming RTMP stream from the client. Can be used in conjunction with
854
- # DeleteStreamKey to prevent further streaming to a channel.
1031
+ # Disconnects the incoming RTMPS stream for the specified channel. Can
1032
+ # be used in conjunction with DeleteStreamKey to prevent further
1033
+ # streaming to a channel.
855
1034
  #
856
1035
  # <note markdown="1"> Many streaming client-software libraries automatically reconnect a
857
- # dropped RTMP session, so to stop the stream permanently, you may want
1036
+ # dropped RTMPS session, so to stop the stream permanently, you may want
858
1037
  # to first revoke the `streamKey` attached to the channel.
859
1038
  #
860
1039
  # </note>
@@ -879,7 +1058,7 @@ module Aws::IVS
879
1058
  req.send_request(options)
880
1059
  end
881
1060
 
882
- # Adds or updates tags for a resource with a specified ARN.
1061
+ # Adds or updates tags for the AWS resource with the specified ARN.
883
1062
  #
884
1063
  # @option params [required, String] :resource_arn
885
1064
  # ARN of the resource for which tags are to be added or updated.
@@ -907,7 +1086,7 @@ module Aws::IVS
907
1086
  req.send_request(options)
908
1087
  end
909
1088
 
910
- # Removes tags for a resource with a specified ARN.
1089
+ # Removes tags from the resource with the specified ARN.
911
1090
  #
912
1091
  # @option params [required, String] :resource_arn
913
1092
  # ARN of the resource for which tags are to be removed.
@@ -948,11 +1127,23 @@ module Aws::IVS
948
1127
  #
949
1128
  # @option params [String] :type
950
1129
  # Channel type, which determines the allowable resolution and bitrate.
951
- # `STANDARD`\: The stream is transcoded; resolution (width, in landscape
952
- # orientation) can be up to 1080p or the input source resolution,
953
- # whichever is lower; and bitrate can be up to 8.5 Mbps. `BASIC`\: The
954
- # stream is transfixed; resolution can be up to 480p; and bitrate can be
955
- # up to 1.5 Mbps. Default `STANDARD`.
1130
+ # *If you exceed the allowable resolution or bitrate, the stream
1131
+ # probably will disconnect immediately.* Valid values:
1132
+ #
1133
+ # * `STANDARD`\: Multiple qualities are generated from the original
1134
+ # input, to automatically give viewers the best experience for their
1135
+ # devices and network conditions. Vertical resolution can be up to
1136
+ # 1080 and bitrate can be up to 8.5 Mbps.
1137
+ #
1138
+ # * `BASIC`\: Amazon IVS delivers the original input to viewers. The
1139
+ # viewer’s video-quality choice is limited to the original input.
1140
+ # Vertical resolution can be up to 480 and bitrate can be up to 1.5
1141
+ # Mbps.
1142
+ #
1143
+ # Default: `STANDARD`.
1144
+ #
1145
+ # @option params [Boolean] :authorized
1146
+ # Whether the channel is authorized. Default: `false`.
956
1147
  #
957
1148
  # @return [Types::UpdateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
958
1149
  #
@@ -965,6 +1156,7 @@ module Aws::IVS
965
1156
  # name: "ChannelName",
966
1157
  # latency_mode: "NORMAL", # accepts NORMAL, LOW
967
1158
  # type: "BASIC", # accepts BASIC, STANDARD
1159
+ # authorized: false,
968
1160
  # })
969
1161
  #
970
1162
  # @example Response structure
@@ -975,6 +1167,7 @@ module Aws::IVS
975
1167
  # resp.channel.type #=> String, one of "BASIC", "STANDARD"
976
1168
  # resp.channel.ingest_endpoint #=> String
977
1169
  # resp.channel.playback_url #=> String
1170
+ # resp.channel.authorized #=> Boolean
978
1171
  # resp.channel.tags #=> Hash
979
1172
  # resp.channel.tags["TagKey"] #=> String
980
1173
  #
@@ -1000,7 +1193,7 @@ module Aws::IVS
1000
1193
  params: params,
1001
1194
  config: config)
1002
1195
  context[:gem_name] = 'aws-sdk-ivs'
1003
- context[:gem_version] = '1.0.0'
1196
+ context[:gem_version] = '1.5.0'
1004
1197
  Seahorse::Client::Request.new(handlers, context)
1005
1198
  end
1006
1199
 
@@ -20,6 +20,7 @@ module Aws::IVS
20
20
  BatchGetChannelResponse = Shapes::StructureShape.new(name: 'BatchGetChannelResponse')
21
21
  BatchGetStreamKeyRequest = Shapes::StructureShape.new(name: 'BatchGetStreamKeyRequest')
22
22
  BatchGetStreamKeyResponse = Shapes::StructureShape.new(name: 'BatchGetStreamKeyResponse')
23
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
23
24
  Channel = Shapes::StructureShape.new(name: 'Channel')
24
25
  ChannelArn = Shapes::StringShape.new(name: 'ChannelArn')
25
26
  ChannelArnList = Shapes::ListShape.new(name: 'ChannelArnList')
@@ -36,17 +37,26 @@ module Aws::IVS
36
37
  CreateStreamKeyRequest = Shapes::StructureShape.new(name: 'CreateStreamKeyRequest')
37
38
  CreateStreamKeyResponse = Shapes::StructureShape.new(name: 'CreateStreamKeyResponse')
38
39
  DeleteChannelRequest = Shapes::StructureShape.new(name: 'DeleteChannelRequest')
40
+ DeletePlaybackKeyPairRequest = Shapes::StructureShape.new(name: 'DeletePlaybackKeyPairRequest')
41
+ DeletePlaybackKeyPairResponse = Shapes::StructureShape.new(name: 'DeletePlaybackKeyPairResponse')
39
42
  DeleteStreamKeyRequest = Shapes::StructureShape.new(name: 'DeleteStreamKeyRequest')
40
43
  GetChannelRequest = Shapes::StructureShape.new(name: 'GetChannelRequest')
41
44
  GetChannelResponse = Shapes::StructureShape.new(name: 'GetChannelResponse')
45
+ GetPlaybackKeyPairRequest = Shapes::StructureShape.new(name: 'GetPlaybackKeyPairRequest')
46
+ GetPlaybackKeyPairResponse = Shapes::StructureShape.new(name: 'GetPlaybackKeyPairResponse')
42
47
  GetStreamKeyRequest = Shapes::StructureShape.new(name: 'GetStreamKeyRequest')
43
48
  GetStreamKeyResponse = Shapes::StructureShape.new(name: 'GetStreamKeyResponse')
44
49
  GetStreamRequest = Shapes::StructureShape.new(name: 'GetStreamRequest')
45
50
  GetStreamResponse = Shapes::StructureShape.new(name: 'GetStreamResponse')
51
+ ImportPlaybackKeyPairRequest = Shapes::StructureShape.new(name: 'ImportPlaybackKeyPairRequest')
52
+ ImportPlaybackKeyPairResponse = Shapes::StructureShape.new(name: 'ImportPlaybackKeyPairResponse')
46
53
  IngestEndpoint = Shapes::StringShape.new(name: 'IngestEndpoint')
47
54
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
55
+ IsAuthorized = Shapes::BooleanShape.new(name: 'IsAuthorized')
48
56
  ListChannelsRequest = Shapes::StructureShape.new(name: 'ListChannelsRequest')
49
57
  ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
58
+ ListPlaybackKeyPairsRequest = Shapes::StructureShape.new(name: 'ListPlaybackKeyPairsRequest')
59
+ ListPlaybackKeyPairsResponse = Shapes::StructureShape.new(name: 'ListPlaybackKeyPairsResponse')
50
60
  ListStreamKeysRequest = Shapes::StructureShape.new(name: 'ListStreamKeysRequest')
51
61
  ListStreamKeysResponse = Shapes::StructureShape.new(name: 'ListStreamKeysResponse')
52
62
  ListStreamsRequest = Shapes::StructureShape.new(name: 'ListStreamsRequest')
@@ -54,10 +64,19 @@ module Aws::IVS
54
64
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
55
65
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
56
66
  MaxChannelResults = Shapes::IntegerShape.new(name: 'MaxChannelResults')
67
+ MaxPlaybackKeyPairResults = Shapes::IntegerShape.new(name: 'MaxPlaybackKeyPairResults')
57
68
  MaxStreamKeyResults = Shapes::IntegerShape.new(name: 'MaxStreamKeyResults')
58
69
  MaxStreamResults = Shapes::IntegerShape.new(name: 'MaxStreamResults')
59
70
  MaxTagResults = Shapes::IntegerShape.new(name: 'MaxTagResults')
60
71
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
72
+ PendingVerification = Shapes::StructureShape.new(name: 'PendingVerification')
73
+ PlaybackKeyPair = Shapes::StructureShape.new(name: 'PlaybackKeyPair')
74
+ PlaybackKeyPairArn = Shapes::StringShape.new(name: 'PlaybackKeyPairArn')
75
+ PlaybackKeyPairFingerprint = Shapes::StringShape.new(name: 'PlaybackKeyPairFingerprint')
76
+ PlaybackKeyPairList = Shapes::ListShape.new(name: 'PlaybackKeyPairList')
77
+ PlaybackKeyPairName = Shapes::StringShape.new(name: 'PlaybackKeyPairName')
78
+ PlaybackKeyPairSummary = Shapes::StructureShape.new(name: 'PlaybackKeyPairSummary')
79
+ PlaybackPublicKeyMaterial = Shapes::StringShape.new(name: 'PlaybackPublicKeyMaterial')
61
80
  PlaybackURL = Shapes::StringShape.new(name: 'PlaybackURL')
62
81
  PutMetadataRequest = Shapes::StructureShape.new(name: 'PutMetadataRequest')
63
82
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
@@ -127,6 +146,7 @@ module Aws::IVS
127
146
  Channel.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "type"))
128
147
  Channel.add_member(:ingest_endpoint, Shapes::ShapeRef.new(shape: IngestEndpoint, location_name: "ingestEndpoint"))
129
148
  Channel.add_member(:playback_url, Shapes::ShapeRef.new(shape: PlaybackURL, location_name: "playbackUrl"))
149
+ Channel.add_member(:authorized, Shapes::ShapeRef.new(shape: IsAuthorized, location_name: "authorized"))
130
150
  Channel.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
131
151
  Channel.struct_class = Types::Channel
132
152
 
@@ -140,6 +160,7 @@ module Aws::IVS
140
160
  ChannelSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "arn"))
141
161
  ChannelSummary.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
142
162
  ChannelSummary.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
163
+ ChannelSummary.add_member(:authorized, Shapes::ShapeRef.new(shape: IsAuthorized, location_name: "authorized"))
143
164
  ChannelSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
144
165
  ChannelSummary.struct_class = Types::ChannelSummary
145
166
 
@@ -151,6 +172,7 @@ module Aws::IVS
151
172
  CreateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
152
173
  CreateChannelRequest.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
153
174
  CreateChannelRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "type"))
175
+ CreateChannelRequest.add_member(:authorized, Shapes::ShapeRef.new(shape: Boolean, location_name: "authorized"))
154
176
  CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
155
177
  CreateChannelRequest.struct_class = Types::CreateChannelRequest
156
178
 
@@ -168,6 +190,11 @@ module Aws::IVS
168
190
  DeleteChannelRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "arn"))
169
191
  DeleteChannelRequest.struct_class = Types::DeleteChannelRequest
170
192
 
193
+ DeletePlaybackKeyPairRequest.add_member(:arn, Shapes::ShapeRef.new(shape: PlaybackKeyPairArn, required: true, location_name: "arn"))
194
+ DeletePlaybackKeyPairRequest.struct_class = Types::DeletePlaybackKeyPairRequest
195
+
196
+ DeletePlaybackKeyPairResponse.struct_class = Types::DeletePlaybackKeyPairResponse
197
+
171
198
  DeleteStreamKeyRequest.add_member(:arn, Shapes::ShapeRef.new(shape: StreamKeyArn, required: true, location_name: "arn"))
172
199
  DeleteStreamKeyRequest.struct_class = Types::DeleteStreamKeyRequest
173
200
 
@@ -177,6 +204,12 @@ module Aws::IVS
177
204
  GetChannelResponse.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "channel"))
178
205
  GetChannelResponse.struct_class = Types::GetChannelResponse
179
206
 
207
+ GetPlaybackKeyPairRequest.add_member(:arn, Shapes::ShapeRef.new(shape: PlaybackKeyPairArn, required: true, location_name: "arn"))
208
+ GetPlaybackKeyPairRequest.struct_class = Types::GetPlaybackKeyPairRequest
209
+
210
+ GetPlaybackKeyPairResponse.add_member(:key_pair, Shapes::ShapeRef.new(shape: PlaybackKeyPair, location_name: "keyPair"))
211
+ GetPlaybackKeyPairResponse.struct_class = Types::GetPlaybackKeyPairResponse
212
+
180
213
  GetStreamKeyRequest.add_member(:arn, Shapes::ShapeRef.new(shape: StreamKeyArn, required: true, location_name: "arn"))
181
214
  GetStreamKeyRequest.struct_class = Types::GetStreamKeyRequest
182
215
 
@@ -189,6 +222,14 @@ module Aws::IVS
189
222
  GetStreamResponse.add_member(:stream, Shapes::ShapeRef.new(shape: Stream, location_name: "stream"))
190
223
  GetStreamResponse.struct_class = Types::GetStreamResponse
191
224
 
225
+ ImportPlaybackKeyPairRequest.add_member(:public_key_material, Shapes::ShapeRef.new(shape: PlaybackPublicKeyMaterial, required: true, location_name: "publicKeyMaterial"))
226
+ ImportPlaybackKeyPairRequest.add_member(:name, Shapes::ShapeRef.new(shape: PlaybackKeyPairName, location_name: "name"))
227
+ ImportPlaybackKeyPairRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
228
+ ImportPlaybackKeyPairRequest.struct_class = Types::ImportPlaybackKeyPairRequest
229
+
230
+ ImportPlaybackKeyPairResponse.add_member(:key_pair, Shapes::ShapeRef.new(shape: PlaybackKeyPair, location_name: "keyPair"))
231
+ ImportPlaybackKeyPairResponse.struct_class = Types::ImportPlaybackKeyPairResponse
232
+
192
233
  InternalServerException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
193
234
  InternalServerException.struct_class = Types::InternalServerException
194
235
 
@@ -201,6 +242,14 @@ module Aws::IVS
201
242
  ListChannelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
202
243
  ListChannelsResponse.struct_class = Types::ListChannelsResponse
203
244
 
245
+ ListPlaybackKeyPairsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
246
+ ListPlaybackKeyPairsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxPlaybackKeyPairResults, location_name: "maxResults"))
247
+ ListPlaybackKeyPairsRequest.struct_class = Types::ListPlaybackKeyPairsRequest
248
+
249
+ ListPlaybackKeyPairsResponse.add_member(:key_pairs, Shapes::ShapeRef.new(shape: PlaybackKeyPairList, required: true, location_name: "keyPairs"))
250
+ ListPlaybackKeyPairsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
251
+ ListPlaybackKeyPairsResponse.struct_class = Types::ListPlaybackKeyPairsResponse
252
+
204
253
  ListStreamKeysRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
205
254
  ListStreamKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
206
255
  ListStreamKeysRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxStreamKeyResults, location_name: "maxResults"))
@@ -227,6 +276,22 @@ module Aws::IVS
227
276
  ListTagsForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
228
277
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
229
278
 
279
+ PendingVerification.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
280
+ PendingVerification.struct_class = Types::PendingVerification
281
+
282
+ PlaybackKeyPair.add_member(:arn, Shapes::ShapeRef.new(shape: PlaybackKeyPairArn, location_name: "arn"))
283
+ PlaybackKeyPair.add_member(:name, Shapes::ShapeRef.new(shape: PlaybackKeyPairName, location_name: "name"))
284
+ PlaybackKeyPair.add_member(:fingerprint, Shapes::ShapeRef.new(shape: PlaybackKeyPairFingerprint, location_name: "fingerprint"))
285
+ PlaybackKeyPair.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
286
+ PlaybackKeyPair.struct_class = Types::PlaybackKeyPair
287
+
288
+ PlaybackKeyPairList.member = Shapes::ShapeRef.new(shape: PlaybackKeyPairSummary)
289
+
290
+ PlaybackKeyPairSummary.add_member(:arn, Shapes::ShapeRef.new(shape: PlaybackKeyPairArn, location_name: "arn"))
291
+ PlaybackKeyPairSummary.add_member(:name, Shapes::ShapeRef.new(shape: PlaybackKeyPairName, location_name: "name"))
292
+ PlaybackKeyPairSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
293
+ PlaybackKeyPairSummary.struct_class = Types::PlaybackKeyPairSummary
294
+
230
295
  PutMetadataRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
231
296
  PutMetadataRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: StreamMetadata, required: true, location_name: "metadata"))
232
297
  PutMetadataRequest.struct_class = Types::PutMetadataRequest
@@ -303,6 +368,7 @@ module Aws::IVS
303
368
  UpdateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
304
369
  UpdateChannelRequest.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
305
370
  UpdateChannelRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "type"))
371
+ UpdateChannelRequest.add_member(:authorized, Shapes::ShapeRef.new(shape: Boolean, location_name: "authorized"))
306
372
  UpdateChannelRequest.struct_class = Types::UpdateChannelRequest
307
373
 
308
374
  UpdateChannelResponse.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "channel"))
@@ -354,6 +420,7 @@ module Aws::IVS
354
420
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
355
421
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
356
422
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
423
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
357
424
  end)
358
425
 
359
426
  api.add_operation(:create_stream_key, Seahorse::Model::Operation.new.tap do |o|
@@ -366,6 +433,7 @@ module Aws::IVS
366
433
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
367
434
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
368
435
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
436
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
369
437
  end)
370
438
 
371
439
  api.add_operation(:delete_channel, Seahorse::Model::Operation.new.tap do |o|
@@ -378,6 +446,19 @@ module Aws::IVS
378
446
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
379
447
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
380
448
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
449
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
450
+ end)
451
+
452
+ api.add_operation(:delete_playback_key_pair, Seahorse::Model::Operation.new.tap do |o|
453
+ o.name = "DeletePlaybackKeyPair"
454
+ o.http_method = "POST"
455
+ o.http_request_uri = "/DeletePlaybackKeyPair"
456
+ o.input = Shapes::ShapeRef.new(shape: DeletePlaybackKeyPairRequest)
457
+ o.output = Shapes::ShapeRef.new(shape: DeletePlaybackKeyPairResponse)
458
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
459
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
460
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
461
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
381
462
  end)
382
463
 
383
464
  api.add_operation(:delete_stream_key, Seahorse::Model::Operation.new.tap do |o|
@@ -389,6 +470,7 @@ module Aws::IVS
389
470
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
390
471
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
391
472
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
473
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
392
474
  end)
393
475
 
394
476
  api.add_operation(:get_channel, Seahorse::Model::Operation.new.tap do |o|
@@ -402,6 +484,17 @@ module Aws::IVS
402
484
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
403
485
  end)
404
486
 
487
+ api.add_operation(:get_playback_key_pair, Seahorse::Model::Operation.new.tap do |o|
488
+ o.name = "GetPlaybackKeyPair"
489
+ o.http_method = "POST"
490
+ o.http_request_uri = "/GetPlaybackKeyPair"
491
+ o.input = Shapes::ShapeRef.new(shape: GetPlaybackKeyPairRequest)
492
+ o.output = Shapes::ShapeRef.new(shape: GetPlaybackKeyPairResponse)
493
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
494
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
495
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
496
+ end)
497
+
405
498
  api.add_operation(:get_stream, Seahorse::Model::Operation.new.tap do |o|
406
499
  o.name = "GetStream"
407
500
  o.http_method = "POST"
@@ -425,6 +518,19 @@ module Aws::IVS
425
518
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
426
519
  end)
427
520
 
521
+ api.add_operation(:import_playback_key_pair, Seahorse::Model::Operation.new.tap do |o|
522
+ o.name = "ImportPlaybackKeyPair"
523
+ o.http_method = "POST"
524
+ o.http_request_uri = "/ImportPlaybackKeyPair"
525
+ o.input = Shapes::ShapeRef.new(shape: ImportPlaybackKeyPairRequest)
526
+ o.output = Shapes::ShapeRef.new(shape: ImportPlaybackKeyPairResponse)
527
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
528
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
529
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
530
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
531
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
532
+ end)
533
+
428
534
  api.add_operation(:list_channels, Seahorse::Model::Operation.new.tap do |o|
429
535
  o.name = "ListChannels"
430
536
  o.http_method = "POST"
@@ -441,6 +547,22 @@ module Aws::IVS
441
547
  )
442
548
  end)
443
549
 
550
+ api.add_operation(:list_playback_key_pairs, Seahorse::Model::Operation.new.tap do |o|
551
+ o.name = "ListPlaybackKeyPairs"
552
+ o.http_method = "POST"
553
+ o.http_request_uri = "/ListPlaybackKeyPairs"
554
+ o.input = Shapes::ShapeRef.new(shape: ListPlaybackKeyPairsRequest)
555
+ o.output = Shapes::ShapeRef.new(shape: ListPlaybackKeyPairsResponse)
556
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
557
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
558
+ o[:pager] = Aws::Pager.new(
559
+ limit_key: "max_results",
560
+ tokens: {
561
+ "next_token" => "next_token"
562
+ }
563
+ )
564
+ end)
565
+
444
566
  api.add_operation(:list_stream_keys, Seahorse::Model::Operation.new.tap do |o|
445
567
  o.name = "ListStreamKeys"
446
568
  o.http_method = "POST"
@@ -548,6 +670,7 @@ module Aws::IVS
548
670
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
549
671
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
550
672
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
673
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
551
674
  end)
552
675
  end
553
676
 
@@ -31,6 +31,7 @@ module Aws::IVS
31
31
  # * {ChannelNotBroadcasting}
32
32
  # * {ConflictException}
33
33
  # * {InternalServerException}
34
+ # * {PendingVerification}
34
35
  # * {ResourceNotFoundException}
35
36
  # * {ServiceQuotaExceededException}
36
37
  # * {StreamUnavailable}
@@ -103,6 +104,21 @@ module Aws::IVS
103
104
  end
104
105
  end
105
106
 
107
+ class PendingVerification < ServiceError
108
+
109
+ # @param [Seahorse::Client::RequestContext] context
110
+ # @param [String] message
111
+ # @param [Aws::IVS::Types::PendingVerification] data
112
+ def initialize(context, message, data = Aws::EmptyStructure.new)
113
+ super(context, message, data)
114
+ end
115
+
116
+ # @return [String]
117
+ def exception_message
118
+ @data[:exception_message]
119
+ end
120
+ end
121
+
106
122
  class ResourceNotFoundException < ServiceError
107
123
 
108
124
  # @param [Seahorse::Client::RequestContext] context
@@ -131,11 +131,20 @@ module Aws::IVS
131
131
  #
132
132
  # @!attribute [rw] type
133
133
  # Channel type, which determines the allowable resolution and bitrate.
134
- # STANDARD: The stream is transcoded; resolution (width, in landscape
135
- # orientation) can be up to 1080p or the input source resolution,
136
- # whichever is lower; and bitrate can be up to 8.5 Mbps. BASIC: The
137
- # stream is transfixed; resolution can be up to 480p; and bitrate can
138
- # be up to 1.5 Mbps. Default STANDARD.
134
+ # *If you exceed the allowable resolution or bitrate, the stream
135
+ # probably will disconnect immediately.* Valid values:
136
+ #
137
+ # * `STANDARD`\: Multiple qualities are generated from the original
138
+ # input, to automatically give viewers the best experience for their
139
+ # devices and network conditions. Vertical resolution can be up to
140
+ # 1080 and bitrate can be up to 8.5 Mbps.
141
+ #
142
+ # * `BASIC`\: Amazon IVS delivers the original input to viewers. The
143
+ # viewer’s video-quality choice is limited to the original input.
144
+ # Vertical resolution can be up to 480 and bitrate can be up to 1.5
145
+ # Mbps.
146
+ #
147
+ # Default: `STANDARD`.
139
148
  # @return [String]
140
149
  #
141
150
  # @!attribute [rw] ingest_endpoint
@@ -147,6 +156,10 @@ module Aws::IVS
147
156
  # Channel playback URL.
148
157
  # @return [String]
149
158
  #
159
+ # @!attribute [rw] authorized
160
+ # Whether the channel is authorized.
161
+ # @return [Boolean]
162
+ #
150
163
  # @!attribute [rw] tags
151
164
  # Array of 1-50 maps, each of the form `string:string (key:value)`.
152
165
  # @return [Hash<String,String>]
@@ -160,6 +173,7 @@ module Aws::IVS
160
173
  :type,
161
174
  :ingest_endpoint,
162
175
  :playback_url,
176
+ :authorized,
163
177
  :tags)
164
178
  SENSITIVE = []
165
179
  include Aws::Structure
@@ -191,6 +205,10 @@ module Aws::IVS
191
205
  # Channel latency mode. Default: `LOW`.
192
206
  # @return [String]
193
207
  #
208
+ # @!attribute [rw] authorized
209
+ # Whether the channel is authorized.
210
+ # @return [Boolean]
211
+ #
194
212
  # @!attribute [rw] tags
195
213
  # Array of 1-50 maps, each of the form `string:string (key:value)`.
196
214
  # @return [Hash<String,String>]
@@ -201,6 +219,7 @@ module Aws::IVS
201
219
  :arn,
202
220
  :name,
203
221
  :latency_mode,
222
+ :authorized,
204
223
  :tags)
205
224
  SENSITIVE = []
206
225
  include Aws::Structure
@@ -225,6 +244,7 @@ module Aws::IVS
225
244
  # name: "ChannelName",
226
245
  # latency_mode: "NORMAL", # accepts NORMAL, LOW
227
246
  # type: "BASIC", # accepts BASIC, STANDARD
247
+ # authorized: false,
228
248
  # tags: {
229
249
  # "TagKey" => "TagValue",
230
250
  # },
@@ -240,13 +260,26 @@ module Aws::IVS
240
260
  #
241
261
  # @!attribute [rw] type
242
262
  # Channel type, which determines the allowable resolution and bitrate.
243
- # `STANDARD`\: The stream is transcoded; resolution (width, in
244
- # landscape orientation) can be up to 1080p or the input source
245
- # resolution, whichever is lower; and bitrate can be up to 8.5 Mbps.
246
- # `BASIC`\: The stream is transfixed; resolution can be up to 480p;
247
- # and bitrate can be up to 1.5 Mbps. Default: `STANDARD`.
263
+ # *If you exceed the allowable resolution or bitrate, the stream
264
+ # probably will disconnect immediately.* Valid values:
265
+ #
266
+ # * `STANDARD`\: Multiple qualities are generated from the original
267
+ # input, to automatically give viewers the best experience for their
268
+ # devices and network conditions. Vertical resolution can be up to
269
+ # 1080 and bitrate can be up to 8.5 Mbps.
270
+ #
271
+ # * `BASIC`\: Amazon IVS delivers the original input to viewers. The
272
+ # viewer’s video-quality choice is limited to the original input.
273
+ # Vertical resolution can be up to 480 and bitrate can be up to 1.5
274
+ # Mbps.
275
+ #
276
+ # Default: `STANDARD`.
248
277
  # @return [String]
249
278
  #
279
+ # @!attribute [rw] authorized
280
+ # Whether the channel is authorized. Default: `false`.
281
+ # @return [Boolean]
282
+ #
250
283
  # @!attribute [rw] tags
251
284
  # See Channel$tags.
252
285
  # @return [Hash<String,String>]
@@ -257,6 +290,7 @@ module Aws::IVS
257
290
  :name,
258
291
  :latency_mode,
259
292
  :type,
293
+ :authorized,
260
294
  :tags)
261
295
  SENSITIVE = []
262
296
  include Aws::Structure
@@ -307,7 +341,7 @@ module Aws::IVS
307
341
  end
308
342
 
309
343
  # @!attribute [rw] stream_key
310
- # Stream key used to authenticate an RTMP stream for ingestion.
344
+ # Stream key used to authenticate an RTMPS stream for ingestion.
311
345
  # @return [Types::StreamKey]
312
346
  #
313
347
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateStreamKeyResponse AWS API Documentation
@@ -337,6 +371,29 @@ module Aws::IVS
337
371
  include Aws::Structure
338
372
  end
339
373
 
374
+ # @note When making an API call, you may pass DeletePlaybackKeyPairRequest
375
+ # data as a hash:
376
+ #
377
+ # {
378
+ # arn: "PlaybackKeyPairArn", # required
379
+ # }
380
+ #
381
+ # @!attribute [rw] arn
382
+ # ARN of the key pair to be deleted.
383
+ # @return [String]
384
+ #
385
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeletePlaybackKeyPairRequest AWS API Documentation
386
+ #
387
+ class DeletePlaybackKeyPairRequest < Struct.new(
388
+ :arn)
389
+ SENSITIVE = []
390
+ include Aws::Structure
391
+ end
392
+
393
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeletePlaybackKeyPairResponse AWS API Documentation
394
+ #
395
+ class DeletePlaybackKeyPairResponse < Aws::EmptyStructure; end
396
+
340
397
  # @note When making an API call, you may pass DeleteStreamKeyRequest
341
398
  # data as a hash:
342
399
  #
@@ -387,6 +444,37 @@ module Aws::IVS
387
444
  include Aws::Structure
388
445
  end
389
446
 
447
+ # @note When making an API call, you may pass GetPlaybackKeyPairRequest
448
+ # data as a hash:
449
+ #
450
+ # {
451
+ # arn: "PlaybackKeyPairArn", # required
452
+ # }
453
+ #
454
+ # @!attribute [rw] arn
455
+ # ARN of the key pair to be returned.
456
+ # @return [String]
457
+ #
458
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetPlaybackKeyPairRequest AWS API Documentation
459
+ #
460
+ class GetPlaybackKeyPairRequest < Struct.new(
461
+ :arn)
462
+ SENSITIVE = []
463
+ include Aws::Structure
464
+ end
465
+
466
+ # @!attribute [rw] key_pair
467
+ # A key pair used to sign and validate a playback authorization token.
468
+ # @return [Types::PlaybackKeyPair]
469
+ #
470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetPlaybackKeyPairResponse AWS API Documentation
471
+ #
472
+ class GetPlaybackKeyPairResponse < Struct.new(
473
+ :key_pair)
474
+ SENSITIVE = []
475
+ include Aws::Structure
476
+ end
477
+
390
478
  # @note When making an API call, you may pass GetStreamKeyRequest
391
479
  # data as a hash:
392
480
  #
@@ -450,6 +538,54 @@ module Aws::IVS
450
538
  include Aws::Structure
451
539
  end
452
540
 
541
+ # @note When making an API call, you may pass ImportPlaybackKeyPairRequest
542
+ # data as a hash:
543
+ #
544
+ # {
545
+ # public_key_material: "PlaybackPublicKeyMaterial", # required
546
+ # name: "PlaybackKeyPairName",
547
+ # tags: {
548
+ # "TagKey" => "TagValue",
549
+ # },
550
+ # }
551
+ #
552
+ # @!attribute [rw] public_key_material
553
+ # The public portion of a customer-generated key pair.
554
+ # @return [String]
555
+ #
556
+ # @!attribute [rw] name
557
+ # An arbitrary string (a nickname) assigned to a playback key pair
558
+ # that helps the customer identify that resource. The value does not
559
+ # need to be unique.
560
+ # @return [String]
561
+ #
562
+ # @!attribute [rw] tags
563
+ # Any tags provided with the request are added to the playback key
564
+ # pair tags.
565
+ # @return [Hash<String,String>]
566
+ #
567
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ImportPlaybackKeyPairRequest AWS API Documentation
568
+ #
569
+ class ImportPlaybackKeyPairRequest < Struct.new(
570
+ :public_key_material,
571
+ :name,
572
+ :tags)
573
+ SENSITIVE = []
574
+ include Aws::Structure
575
+ end
576
+
577
+ # @!attribute [rw] key_pair
578
+ # A key pair used to sign and validate a playback authorization token.
579
+ # @return [Types::PlaybackKeyPair]
580
+ #
581
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ImportPlaybackKeyPairResponse AWS API Documentation
582
+ #
583
+ class ImportPlaybackKeyPairResponse < Struct.new(
584
+ :key_pair)
585
+ SENSITIVE = []
586
+ include Aws::Structure
587
+ end
588
+
453
589
  # @!attribute [rw] exception_message
454
590
  # Unexpected error during processing of request.
455
591
  # @return [String]
@@ -512,6 +648,50 @@ module Aws::IVS
512
648
  include Aws::Structure
513
649
  end
514
650
 
651
+ # @note When making an API call, you may pass ListPlaybackKeyPairsRequest
652
+ # data as a hash:
653
+ #
654
+ # {
655
+ # next_token: "PaginationToken",
656
+ # max_results: 1,
657
+ # }
658
+ #
659
+ # @!attribute [rw] next_token
660
+ # Maximum number of key pairs to return.
661
+ # @return [String]
662
+ #
663
+ # @!attribute [rw] max_results
664
+ # The first key pair to retrieve. This is used for pagination; see the
665
+ # `nextToken` response field.
666
+ # @return [Integer]
667
+ #
668
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListPlaybackKeyPairsRequest AWS API Documentation
669
+ #
670
+ class ListPlaybackKeyPairsRequest < Struct.new(
671
+ :next_token,
672
+ :max_results)
673
+ SENSITIVE = []
674
+ include Aws::Structure
675
+ end
676
+
677
+ # @!attribute [rw] key_pairs
678
+ # List of key pairs.
679
+ # @return [Array<Types::PlaybackKeyPairSummary>]
680
+ #
681
+ # @!attribute [rw] next_token
682
+ # If there are more key pairs than `maxResults`, use `nextToken` in
683
+ # the request to get the next set.
684
+ # @return [String]
685
+ #
686
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListPlaybackKeyPairsResponse AWS API Documentation
687
+ #
688
+ class ListPlaybackKeyPairsResponse < Struct.new(
689
+ :key_pairs,
690
+ :next_token)
691
+ SENSITIVE = []
692
+ include Aws::Structure
693
+ end
694
+
515
695
  # @note When making an API call, you may pass ListStreamKeysRequest
516
696
  # data as a hash:
517
697
  #
@@ -655,6 +835,71 @@ module Aws::IVS
655
835
  include Aws::Structure
656
836
  end
657
837
 
838
+ # @!attribute [rw] exception_message
839
+ # Your account is pending verification.
840
+ # @return [String]
841
+ #
842
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/PendingVerification AWS API Documentation
843
+ #
844
+ class PendingVerification < Struct.new(
845
+ :exception_message)
846
+ SENSITIVE = []
847
+ include Aws::Structure
848
+ end
849
+
850
+ # A key pair used to sign and validate a playback authorization token.
851
+ #
852
+ # @!attribute [rw] arn
853
+ # Key-pair ARN.
854
+ # @return [String]
855
+ #
856
+ # @!attribute [rw] name
857
+ # Key-pair name.
858
+ # @return [String]
859
+ #
860
+ # @!attribute [rw] fingerprint
861
+ # Key-pair identifier.
862
+ # @return [String]
863
+ #
864
+ # @!attribute [rw] tags
865
+ # Array of 1-50 maps, each of the form `string:string (key:value)`.
866
+ # @return [Hash<String,String>]
867
+ #
868
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/PlaybackKeyPair AWS API Documentation
869
+ #
870
+ class PlaybackKeyPair < Struct.new(
871
+ :arn,
872
+ :name,
873
+ :fingerprint,
874
+ :tags)
875
+ SENSITIVE = []
876
+ include Aws::Structure
877
+ end
878
+
879
+ # Summary information about a playback key pair.
880
+ #
881
+ # @!attribute [rw] arn
882
+ # Key-pair ARN.
883
+ # @return [String]
884
+ #
885
+ # @!attribute [rw] name
886
+ # Key-pair name.
887
+ # @return [String]
888
+ #
889
+ # @!attribute [rw] tags
890
+ # Array of 1-50 maps, each of the form `string:string (key:value)`
891
+ # @return [Hash<String,String>]
892
+ #
893
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/PlaybackKeyPairSummary AWS API Documentation
894
+ #
895
+ class PlaybackKeyPairSummary < Struct.new(
896
+ :arn,
897
+ :name,
898
+ :tags)
899
+ SENSITIVE = []
900
+ include Aws::Structure
901
+ end
902
+
658
903
  # @note When making an API call, you may pass PutMetadataRequest
659
904
  # data as a hash:
660
905
  #
@@ -783,7 +1028,7 @@ module Aws::IVS
783
1028
  # @return [String]
784
1029
  #
785
1030
  # @!attribute [rw] tags
786
- # Array of 1-50 maps, each of the form `string:string (key:value)`
1031
+ # Array of 1-50 maps, each of the form `string:string (key:value)`.
787
1032
  # @return [Hash<String,String>]
788
1033
  #
789
1034
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/StreamKey AWS API Documentation
@@ -808,7 +1053,7 @@ module Aws::IVS
808
1053
  # @return [String]
809
1054
  #
810
1055
  # @!attribute [rw] tags
811
- # Array of 1-50 maps, each of the form `string:string (key:value)`
1056
+ # Array of 1-50 maps, each of the form `string:string (key:value)`.
812
1057
  # @return [Hash<String,String>]
813
1058
  #
814
1059
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/StreamKeySummary AWS API Documentation
@@ -947,6 +1192,7 @@ module Aws::IVS
947
1192
  # name: "ChannelName",
948
1193
  # latency_mode: "NORMAL", # accepts NORMAL, LOW
949
1194
  # type: "BASIC", # accepts BASIC, STANDARD
1195
+ # authorized: false,
950
1196
  # }
951
1197
  #
952
1198
  # @!attribute [rw] arn
@@ -963,20 +1209,34 @@ module Aws::IVS
963
1209
  #
964
1210
  # @!attribute [rw] type
965
1211
  # Channel type, which determines the allowable resolution and bitrate.
966
- # `STANDARD`\: The stream is transcoded; resolution (width, in
967
- # landscape orientation) can be up to 1080p or the input source
968
- # resolution, whichever is lower; and bitrate can be up to 8.5 Mbps.
969
- # `BASIC`\: The stream is transfixed; resolution can be up to 480p;
970
- # and bitrate can be up to 1.5 Mbps. Default `STANDARD`.
1212
+ # *If you exceed the allowable resolution or bitrate, the stream
1213
+ # probably will disconnect immediately.* Valid values:
1214
+ #
1215
+ # * `STANDARD`\: Multiple qualities are generated from the original
1216
+ # input, to automatically give viewers the best experience for their
1217
+ # devices and network conditions. Vertical resolution can be up to
1218
+ # 1080 and bitrate can be up to 8.5 Mbps.
1219
+ #
1220
+ # * `BASIC`\: Amazon IVS delivers the original input to viewers. The
1221
+ # viewer’s video-quality choice is limited to the original input.
1222
+ # Vertical resolution can be up to 480 and bitrate can be up to 1.5
1223
+ # Mbps.
1224
+ #
1225
+ # Default: `STANDARD`.
971
1226
  # @return [String]
972
1227
  #
1228
+ # @!attribute [rw] authorized
1229
+ # Whether the channel is authorized. Default: `false`.
1230
+ # @return [Boolean]
1231
+ #
973
1232
  # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UpdateChannelRequest AWS API Documentation
974
1233
  #
975
1234
  class UpdateChannelRequest < Struct.new(
976
1235
  :arn,
977
1236
  :name,
978
1237
  :latency_mode,
979
- :type)
1238
+ :type,
1239
+ :authorized)
980
1240
  SENSITIVE = []
981
1241
  include Aws::Structure
982
1242
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ivs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-15 00:00:00.000000000 Z
11
+ date: 2020-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.109.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement