aws-sdk-ivs 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ivs.rb +1 -1
- data/lib/aws-sdk-ivs/client.rb +160 -1
- data/lib/aws-sdk-ivs/client_api.rb +114 -0
- data/lib/aws-sdk-ivs/types.rb +224 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cb435a3631d1efc4a7052147cf168aaabaa812fc7771e01f43bc713c68b3f72
|
4
|
+
data.tar.gz: b70a8ddfe7967d6c1b1eb86bf2d19884e75fec7395ac7af6cdbbdc987f157d39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec6cfc96b634c0acb8097d6c0daa9cf69b5eb37d2add6f9a84e95668f4d3fbc457294c73816c4e07dfb8a3082f23498a00fa92e5078f5a6689f63c1deee46c75
|
7
|
+
data.tar.gz: fad0ef12a18910cc9b2cce9fd9c5eaebf2c49c7fd7315e54c22c6b428f369fe9a59f830f3ca7800351ca19769f336403a008683287b1db20a5e82886a9229e97
|
data/lib/aws-sdk-ivs.rb
CHANGED
data/lib/aws-sdk-ivs/client.rb
CHANGED
@@ -337,6 +337,7 @@ module Aws::IVS
|
|
337
337
|
# resp.channels[0].type #=> String, one of "BASIC", "STANDARD"
|
338
338
|
# resp.channels[0].ingest_endpoint #=> String
|
339
339
|
# resp.channels[0].playback_url #=> String
|
340
|
+
# resp.channels[0].authorized #=> Boolean
|
340
341
|
# resp.channels[0].tags #=> Hash
|
341
342
|
# resp.channels[0].tags["TagKey"] #=> String
|
342
343
|
# resp.errors #=> Array
|
@@ -416,6 +417,9 @@ module Aws::IVS
|
|
416
417
|
#
|
417
418
|
# Default: `STANDARD`.
|
418
419
|
#
|
420
|
+
# @option params [Boolean] :authorized
|
421
|
+
# Whether the channel is authorized. Default: `false`.
|
422
|
+
#
|
419
423
|
# @option params [Hash<String,String>] :tags
|
420
424
|
# See Channel$tags.
|
421
425
|
#
|
@@ -430,6 +434,7 @@ module Aws::IVS
|
|
430
434
|
# name: "ChannelName",
|
431
435
|
# latency_mode: "NORMAL", # accepts NORMAL, LOW
|
432
436
|
# type: "BASIC", # accepts BASIC, STANDARD
|
437
|
+
# authorized: false,
|
433
438
|
# tags: {
|
434
439
|
# "TagKey" => "TagValue",
|
435
440
|
# },
|
@@ -443,6 +448,7 @@ module Aws::IVS
|
|
443
448
|
# resp.channel.type #=> String, one of "BASIC", "STANDARD"
|
444
449
|
# resp.channel.ingest_endpoint #=> String
|
445
450
|
# resp.channel.playback_url #=> String
|
451
|
+
# resp.channel.authorized #=> Boolean
|
446
452
|
# resp.channel.tags #=> Hash
|
447
453
|
# resp.channel.tags["TagKey"] #=> String
|
448
454
|
# resp.stream_key.arn #=> String
|
@@ -527,6 +533,29 @@ module Aws::IVS
|
|
527
533
|
req.send_request(options)
|
528
534
|
end
|
529
535
|
|
536
|
+
# Deletes a specified authorization key pair. This invalidates future
|
537
|
+
# viewer tokens generated using the key pair’s `privateKey`.
|
538
|
+
#
|
539
|
+
# @option params [required, String] :arn
|
540
|
+
# ARN of the key pair to be deleted.
|
541
|
+
#
|
542
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
543
|
+
#
|
544
|
+
# @example Request syntax with placeholder values
|
545
|
+
#
|
546
|
+
# resp = client.delete_playback_key_pair({
|
547
|
+
# arn: "PlaybackKeyPairArn", # required
|
548
|
+
# })
|
549
|
+
#
|
550
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeletePlaybackKeyPair AWS API Documentation
|
551
|
+
#
|
552
|
+
# @overload delete_playback_key_pair(params = {})
|
553
|
+
# @param [Hash] params ({})
|
554
|
+
def delete_playback_key_pair(params = {}, options = {})
|
555
|
+
req = build_request(:delete_playback_key_pair, params)
|
556
|
+
req.send_request(options)
|
557
|
+
end
|
558
|
+
|
530
559
|
# Deletes the stream key for the specified ARN, so it can no longer be
|
531
560
|
# used to stream.
|
532
561
|
#
|
@@ -574,6 +603,7 @@ module Aws::IVS
|
|
574
603
|
# resp.channel.type #=> String, one of "BASIC", "STANDARD"
|
575
604
|
# resp.channel.ingest_endpoint #=> String
|
576
605
|
# resp.channel.playback_url #=> String
|
606
|
+
# resp.channel.authorized #=> Boolean
|
577
607
|
# resp.channel.tags #=> Hash
|
578
608
|
# resp.channel.tags["TagKey"] #=> String
|
579
609
|
#
|
@@ -586,6 +616,41 @@ module Aws::IVS
|
|
586
616
|
req.send_request(options)
|
587
617
|
end
|
588
618
|
|
619
|
+
# Gets a specified playback authorization key pair and returns the `arn`
|
620
|
+
# and `fingerprint`. The `privateKey` held by the caller can be used to
|
621
|
+
# generate viewer authorization tokens, to grant viewers access to
|
622
|
+
# authorized channels.
|
623
|
+
#
|
624
|
+
# @option params [required, String] :arn
|
625
|
+
# ARN of the key pair to be returned.
|
626
|
+
#
|
627
|
+
# @return [Types::GetPlaybackKeyPairResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
628
|
+
#
|
629
|
+
# * {Types::GetPlaybackKeyPairResponse#key_pair #key_pair} => Types::PlaybackKeyPair
|
630
|
+
#
|
631
|
+
# @example Request syntax with placeholder values
|
632
|
+
#
|
633
|
+
# resp = client.get_playback_key_pair({
|
634
|
+
# arn: "PlaybackKeyPairArn", # required
|
635
|
+
# })
|
636
|
+
#
|
637
|
+
# @example Response structure
|
638
|
+
#
|
639
|
+
# resp.key_pair.arn #=> String
|
640
|
+
# resp.key_pair.name #=> String
|
641
|
+
# resp.key_pair.fingerprint #=> String
|
642
|
+
# resp.key_pair.tags #=> Hash
|
643
|
+
# resp.key_pair.tags["TagKey"] #=> String
|
644
|
+
#
|
645
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetPlaybackKeyPair AWS API Documentation
|
646
|
+
#
|
647
|
+
# @overload get_playback_key_pair(params = {})
|
648
|
+
# @param [Hash] params ({})
|
649
|
+
def get_playback_key_pair(params = {}, options = {})
|
650
|
+
req = build_request(:get_playback_key_pair, params)
|
651
|
+
req.send_request(options)
|
652
|
+
end
|
653
|
+
|
589
654
|
# Gets information about the active (live) stream on a specified
|
590
655
|
# channel.
|
591
656
|
#
|
@@ -652,6 +717,53 @@ module Aws::IVS
|
|
652
717
|
req.send_request(options)
|
653
718
|
end
|
654
719
|
|
720
|
+
# Imports the public portion of a new key pair and returns its `arn` and
|
721
|
+
# `fingerprint`. The `privateKey` can then be used to generate viewer
|
722
|
+
# authorization tokens, to grant viewers access to authorized channels.
|
723
|
+
#
|
724
|
+
# @option params [required, String] :public_key_material
|
725
|
+
# The public portion of a customer-generated key pair.
|
726
|
+
#
|
727
|
+
# @option params [String] :name
|
728
|
+
# An arbitrary string (a nickname) assigned to a playback key pair that
|
729
|
+
# helps the customer identify that resource. The value does not need to
|
730
|
+
# be unique.
|
731
|
+
#
|
732
|
+
# @option params [Hash<String,String>] :tags
|
733
|
+
# Any tags provided with the request are added to the playback key pair
|
734
|
+
# tags.
|
735
|
+
#
|
736
|
+
# @return [Types::ImportPlaybackKeyPairResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
737
|
+
#
|
738
|
+
# * {Types::ImportPlaybackKeyPairResponse#key_pair #key_pair} => Types::PlaybackKeyPair
|
739
|
+
#
|
740
|
+
# @example Request syntax with placeholder values
|
741
|
+
#
|
742
|
+
# resp = client.import_playback_key_pair({
|
743
|
+
# public_key_material: "PlaybackPublicKeyMaterial", # required
|
744
|
+
# name: "PlaybackKeyPairName",
|
745
|
+
# tags: {
|
746
|
+
# "TagKey" => "TagValue",
|
747
|
+
# },
|
748
|
+
# })
|
749
|
+
#
|
750
|
+
# @example Response structure
|
751
|
+
#
|
752
|
+
# resp.key_pair.arn #=> String
|
753
|
+
# resp.key_pair.name #=> String
|
754
|
+
# resp.key_pair.fingerprint #=> String
|
755
|
+
# resp.key_pair.tags #=> Hash
|
756
|
+
# resp.key_pair.tags["TagKey"] #=> String
|
757
|
+
#
|
758
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ImportPlaybackKeyPair AWS API Documentation
|
759
|
+
#
|
760
|
+
# @overload import_playback_key_pair(params = {})
|
761
|
+
# @param [Hash] params ({})
|
762
|
+
def import_playback_key_pair(params = {}, options = {})
|
763
|
+
req = build_request(:import_playback_key_pair, params)
|
764
|
+
req.send_request(options)
|
765
|
+
end
|
766
|
+
|
655
767
|
# Gets summary information about all channels in your account, in the
|
656
768
|
# AWS region where the API request is processed. This list can be
|
657
769
|
# filtered to match a specified string.
|
@@ -687,6 +799,7 @@ module Aws::IVS
|
|
687
799
|
# resp.channels[0].arn #=> String
|
688
800
|
# resp.channels[0].name #=> String
|
689
801
|
# resp.channels[0].latency_mode #=> String, one of "NORMAL", "LOW"
|
802
|
+
# resp.channels[0].authorized #=> Boolean
|
690
803
|
# resp.channels[0].tags #=> Hash
|
691
804
|
# resp.channels[0].tags["TagKey"] #=> String
|
692
805
|
# resp.next_token #=> String
|
@@ -700,6 +813,47 @@ module Aws::IVS
|
|
700
813
|
req.send_request(options)
|
701
814
|
end
|
702
815
|
|
816
|
+
# Gets summary information about playback key pairs.
|
817
|
+
#
|
818
|
+
# @option params [String] :next_token
|
819
|
+
# Maximum number of key pairs to return.
|
820
|
+
#
|
821
|
+
# @option params [Integer] :max_results
|
822
|
+
# The first key pair to retrieve. This is used for pagination; see the
|
823
|
+
# `nextToken` response field.
|
824
|
+
#
|
825
|
+
# @return [Types::ListPlaybackKeyPairsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
826
|
+
#
|
827
|
+
# * {Types::ListPlaybackKeyPairsResponse#key_pairs #key_pairs} => Array<Types::PlaybackKeyPairSummary>
|
828
|
+
# * {Types::ListPlaybackKeyPairsResponse#next_token #next_token} => String
|
829
|
+
#
|
830
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
831
|
+
#
|
832
|
+
# @example Request syntax with placeholder values
|
833
|
+
#
|
834
|
+
# resp = client.list_playback_key_pairs({
|
835
|
+
# next_token: "PaginationToken",
|
836
|
+
# max_results: 1,
|
837
|
+
# })
|
838
|
+
#
|
839
|
+
# @example Response structure
|
840
|
+
#
|
841
|
+
# resp.key_pairs #=> Array
|
842
|
+
# resp.key_pairs[0].arn #=> String
|
843
|
+
# resp.key_pairs[0].name #=> String
|
844
|
+
# resp.key_pairs[0].tags #=> Hash
|
845
|
+
# resp.key_pairs[0].tags["TagKey"] #=> String
|
846
|
+
# resp.next_token #=> String
|
847
|
+
#
|
848
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListPlaybackKeyPairs AWS API Documentation
|
849
|
+
#
|
850
|
+
# @overload list_playback_key_pairs(params = {})
|
851
|
+
# @param [Hash] params ({})
|
852
|
+
def list_playback_key_pairs(params = {}, options = {})
|
853
|
+
req = build_request(:list_playback_key_pairs, params)
|
854
|
+
req.send_request(options)
|
855
|
+
end
|
856
|
+
|
703
857
|
# Gets summary information about stream keys for the specified channel.
|
704
858
|
#
|
705
859
|
# @option params [required, String] :channel_arn
|
@@ -973,6 +1127,9 @@ module Aws::IVS
|
|
973
1127
|
#
|
974
1128
|
# Default: `STANDARD`.
|
975
1129
|
#
|
1130
|
+
# @option params [Boolean] :authorized
|
1131
|
+
# Whether the channel is authorized. Default: `false`.
|
1132
|
+
#
|
976
1133
|
# @return [Types::UpdateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
977
1134
|
#
|
978
1135
|
# * {Types::UpdateChannelResponse#channel #channel} => Types::Channel
|
@@ -984,6 +1141,7 @@ module Aws::IVS
|
|
984
1141
|
# name: "ChannelName",
|
985
1142
|
# latency_mode: "NORMAL", # accepts NORMAL, LOW
|
986
1143
|
# type: "BASIC", # accepts BASIC, STANDARD
|
1144
|
+
# authorized: false,
|
987
1145
|
# })
|
988
1146
|
#
|
989
1147
|
# @example Response structure
|
@@ -994,6 +1152,7 @@ module Aws::IVS
|
|
994
1152
|
# resp.channel.type #=> String, one of "BASIC", "STANDARD"
|
995
1153
|
# resp.channel.ingest_endpoint #=> String
|
996
1154
|
# resp.channel.playback_url #=> String
|
1155
|
+
# resp.channel.authorized #=> Boolean
|
997
1156
|
# resp.channel.tags #=> Hash
|
998
1157
|
# resp.channel.tags["TagKey"] #=> String
|
999
1158
|
#
|
@@ -1019,7 +1178,7 @@ module Aws::IVS
|
|
1019
1178
|
params: params,
|
1020
1179
|
config: config)
|
1021
1180
|
context[:gem_name] = 'aws-sdk-ivs'
|
1022
|
-
context[:gem_version] = '1.
|
1181
|
+
context[:gem_version] = '1.2.0'
|
1023
1182
|
Seahorse::Client::Request.new(handlers, context)
|
1024
1183
|
end
|
1025
1184
|
|
@@ -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,11 +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')
|
61
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')
|
62
80
|
PlaybackURL = Shapes::StringShape.new(name: 'PlaybackURL')
|
63
81
|
PutMetadataRequest = Shapes::StructureShape.new(name: 'PutMetadataRequest')
|
64
82
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
@@ -128,6 +146,7 @@ module Aws::IVS
|
|
128
146
|
Channel.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "type"))
|
129
147
|
Channel.add_member(:ingest_endpoint, Shapes::ShapeRef.new(shape: IngestEndpoint, location_name: "ingestEndpoint"))
|
130
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"))
|
131
150
|
Channel.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
132
151
|
Channel.struct_class = Types::Channel
|
133
152
|
|
@@ -141,6 +160,7 @@ module Aws::IVS
|
|
141
160
|
ChannelSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "arn"))
|
142
161
|
ChannelSummary.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
|
143
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"))
|
144
164
|
ChannelSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
145
165
|
ChannelSummary.struct_class = Types::ChannelSummary
|
146
166
|
|
@@ -152,6 +172,7 @@ module Aws::IVS
|
|
152
172
|
CreateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
|
153
173
|
CreateChannelRequest.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
|
154
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"))
|
155
176
|
CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
156
177
|
CreateChannelRequest.struct_class = Types::CreateChannelRequest
|
157
178
|
|
@@ -169,6 +190,11 @@ module Aws::IVS
|
|
169
190
|
DeleteChannelRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "arn"))
|
170
191
|
DeleteChannelRequest.struct_class = Types::DeleteChannelRequest
|
171
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
|
+
|
172
198
|
DeleteStreamKeyRequest.add_member(:arn, Shapes::ShapeRef.new(shape: StreamKeyArn, required: true, location_name: "arn"))
|
173
199
|
DeleteStreamKeyRequest.struct_class = Types::DeleteStreamKeyRequest
|
174
200
|
|
@@ -178,6 +204,12 @@ module Aws::IVS
|
|
178
204
|
GetChannelResponse.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "channel"))
|
179
205
|
GetChannelResponse.struct_class = Types::GetChannelResponse
|
180
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
|
+
|
181
213
|
GetStreamKeyRequest.add_member(:arn, Shapes::ShapeRef.new(shape: StreamKeyArn, required: true, location_name: "arn"))
|
182
214
|
GetStreamKeyRequest.struct_class = Types::GetStreamKeyRequest
|
183
215
|
|
@@ -190,6 +222,14 @@ module Aws::IVS
|
|
190
222
|
GetStreamResponse.add_member(:stream, Shapes::ShapeRef.new(shape: Stream, location_name: "stream"))
|
191
223
|
GetStreamResponse.struct_class = Types::GetStreamResponse
|
192
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
|
+
|
193
233
|
InternalServerException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
|
194
234
|
InternalServerException.struct_class = Types::InternalServerException
|
195
235
|
|
@@ -202,6 +242,14 @@ module Aws::IVS
|
|
202
242
|
ListChannelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
203
243
|
ListChannelsResponse.struct_class = Types::ListChannelsResponse
|
204
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
|
+
|
205
253
|
ListStreamKeysRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
|
206
254
|
ListStreamKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
207
255
|
ListStreamKeysRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxStreamKeyResults, location_name: "maxResults"))
|
@@ -231,6 +279,19 @@ module Aws::IVS
|
|
231
279
|
PendingVerification.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
|
232
280
|
PendingVerification.struct_class = Types::PendingVerification
|
233
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
|
+
|
234
295
|
PutMetadataRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
|
235
296
|
PutMetadataRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: StreamMetadata, required: true, location_name: "metadata"))
|
236
297
|
PutMetadataRequest.struct_class = Types::PutMetadataRequest
|
@@ -307,6 +368,7 @@ module Aws::IVS
|
|
307
368
|
UpdateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
|
308
369
|
UpdateChannelRequest.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
|
309
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"))
|
310
372
|
UpdateChannelRequest.struct_class = Types::UpdateChannelRequest
|
311
373
|
|
312
374
|
UpdateChannelResponse.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "channel"))
|
@@ -387,6 +449,18 @@ module Aws::IVS
|
|
387
449
|
o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
|
388
450
|
end)
|
389
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)
|
462
|
+
end)
|
463
|
+
|
390
464
|
api.add_operation(:delete_stream_key, Seahorse::Model::Operation.new.tap do |o|
|
391
465
|
o.name = "DeleteStreamKey"
|
392
466
|
o.http_method = "POST"
|
@@ -410,6 +484,17 @@ module Aws::IVS
|
|
410
484
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
411
485
|
end)
|
412
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
|
+
|
413
498
|
api.add_operation(:get_stream, Seahorse::Model::Operation.new.tap do |o|
|
414
499
|
o.name = "GetStream"
|
415
500
|
o.http_method = "POST"
|
@@ -433,6 +518,19 @@ module Aws::IVS
|
|
433
518
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
434
519
|
end)
|
435
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
|
+
|
436
534
|
api.add_operation(:list_channels, Seahorse::Model::Operation.new.tap do |o|
|
437
535
|
o.name = "ListChannels"
|
438
536
|
o.http_method = "POST"
|
@@ -449,6 +547,22 @@ module Aws::IVS
|
|
449
547
|
)
|
450
548
|
end)
|
451
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
|
+
|
452
566
|
api.add_operation(:list_stream_keys, Seahorse::Model::Operation.new.tap do |o|
|
453
567
|
o.name = "ListStreamKeys"
|
454
568
|
o.http_method = "POST"
|
data/lib/aws-sdk-ivs/types.rb
CHANGED
@@ -156,6 +156,10 @@ module Aws::IVS
|
|
156
156
|
# Channel playback URL.
|
157
157
|
# @return [String]
|
158
158
|
#
|
159
|
+
# @!attribute [rw] authorized
|
160
|
+
# Whether the channel is authorized.
|
161
|
+
# @return [Boolean]
|
162
|
+
#
|
159
163
|
# @!attribute [rw] tags
|
160
164
|
# Array of 1-50 maps, each of the form `string:string (key:value)`.
|
161
165
|
# @return [Hash<String,String>]
|
@@ -169,6 +173,7 @@ module Aws::IVS
|
|
169
173
|
:type,
|
170
174
|
:ingest_endpoint,
|
171
175
|
:playback_url,
|
176
|
+
:authorized,
|
172
177
|
:tags)
|
173
178
|
SENSITIVE = []
|
174
179
|
include Aws::Structure
|
@@ -200,6 +205,10 @@ module Aws::IVS
|
|
200
205
|
# Channel latency mode. Default: `LOW`.
|
201
206
|
# @return [String]
|
202
207
|
#
|
208
|
+
# @!attribute [rw] authorized
|
209
|
+
# Whether the channel is authorized.
|
210
|
+
# @return [Boolean]
|
211
|
+
#
|
203
212
|
# @!attribute [rw] tags
|
204
213
|
# Array of 1-50 maps, each of the form `string:string (key:value)`.
|
205
214
|
# @return [Hash<String,String>]
|
@@ -210,6 +219,7 @@ module Aws::IVS
|
|
210
219
|
:arn,
|
211
220
|
:name,
|
212
221
|
:latency_mode,
|
222
|
+
:authorized,
|
213
223
|
:tags)
|
214
224
|
SENSITIVE = []
|
215
225
|
include Aws::Structure
|
@@ -234,6 +244,7 @@ module Aws::IVS
|
|
234
244
|
# name: "ChannelName",
|
235
245
|
# latency_mode: "NORMAL", # accepts NORMAL, LOW
|
236
246
|
# type: "BASIC", # accepts BASIC, STANDARD
|
247
|
+
# authorized: false,
|
237
248
|
# tags: {
|
238
249
|
# "TagKey" => "TagValue",
|
239
250
|
# },
|
@@ -265,6 +276,10 @@ module Aws::IVS
|
|
265
276
|
# Default: `STANDARD`.
|
266
277
|
# @return [String]
|
267
278
|
#
|
279
|
+
# @!attribute [rw] authorized
|
280
|
+
# Whether the channel is authorized. Default: `false`.
|
281
|
+
# @return [Boolean]
|
282
|
+
#
|
268
283
|
# @!attribute [rw] tags
|
269
284
|
# See Channel$tags.
|
270
285
|
# @return [Hash<String,String>]
|
@@ -275,6 +290,7 @@ module Aws::IVS
|
|
275
290
|
:name,
|
276
291
|
:latency_mode,
|
277
292
|
:type,
|
293
|
+
:authorized,
|
278
294
|
:tags)
|
279
295
|
SENSITIVE = []
|
280
296
|
include Aws::Structure
|
@@ -355,6 +371,29 @@ module Aws::IVS
|
|
355
371
|
include Aws::Structure
|
356
372
|
end
|
357
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
|
+
|
358
397
|
# @note When making an API call, you may pass DeleteStreamKeyRequest
|
359
398
|
# data as a hash:
|
360
399
|
#
|
@@ -405,6 +444,37 @@ module Aws::IVS
|
|
405
444
|
include Aws::Structure
|
406
445
|
end
|
407
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
|
+
|
408
478
|
# @note When making an API call, you may pass GetStreamKeyRequest
|
409
479
|
# data as a hash:
|
410
480
|
#
|
@@ -468,6 +538,54 @@ module Aws::IVS
|
|
468
538
|
include Aws::Structure
|
469
539
|
end
|
470
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
|
+
|
471
589
|
# @!attribute [rw] exception_message
|
472
590
|
# Unexpected error during processing of request.
|
473
591
|
# @return [String]
|
@@ -530,6 +648,50 @@ module Aws::IVS
|
|
530
648
|
include Aws::Structure
|
531
649
|
end
|
532
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
|
+
|
533
695
|
# @note When making an API call, you may pass ListStreamKeysRequest
|
534
696
|
# data as a hash:
|
535
697
|
#
|
@@ -685,6 +847,59 @@ module Aws::IVS
|
|
685
847
|
include Aws::Structure
|
686
848
|
end
|
687
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
|
+
|
688
903
|
# @note When making an API call, you may pass PutMetadataRequest
|
689
904
|
# data as a hash:
|
690
905
|
#
|
@@ -813,7 +1028,7 @@ module Aws::IVS
|
|
813
1028
|
# @return [String]
|
814
1029
|
#
|
815
1030
|
# @!attribute [rw] tags
|
816
|
-
# 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)`.
|
817
1032
|
# @return [Hash<String,String>]
|
818
1033
|
#
|
819
1034
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/StreamKey AWS API Documentation
|
@@ -838,7 +1053,7 @@ module Aws::IVS
|
|
838
1053
|
# @return [String]
|
839
1054
|
#
|
840
1055
|
# @!attribute [rw] tags
|
841
|
-
# 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)`.
|
842
1057
|
# @return [Hash<String,String>]
|
843
1058
|
#
|
844
1059
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/StreamKeySummary AWS API Documentation
|
@@ -977,6 +1192,7 @@ module Aws::IVS
|
|
977
1192
|
# name: "ChannelName",
|
978
1193
|
# latency_mode: "NORMAL", # accepts NORMAL, LOW
|
979
1194
|
# type: "BASIC", # accepts BASIC, STANDARD
|
1195
|
+
# authorized: false,
|
980
1196
|
# }
|
981
1197
|
#
|
982
1198
|
# @!attribute [rw] arn
|
@@ -1009,13 +1225,18 @@ module Aws::IVS
|
|
1009
1225
|
# Default: `STANDARD`.
|
1010
1226
|
# @return [String]
|
1011
1227
|
#
|
1228
|
+
# @!attribute [rw] authorized
|
1229
|
+
# Whether the channel is authorized. Default: `false`.
|
1230
|
+
# @return [Boolean]
|
1231
|
+
#
|
1012
1232
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UpdateChannelRequest AWS API Documentation
|
1013
1233
|
#
|
1014
1234
|
class UpdateChannelRequest < Struct.new(
|
1015
1235
|
:arn,
|
1016
1236
|
:name,
|
1017
1237
|
:latency_mode,
|
1018
|
-
:type
|
1238
|
+
:type,
|
1239
|
+
:authorized)
|
1019
1240
|
SENSITIVE = []
|
1020
1241
|
include Aws::Structure
|
1021
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.
|
4
|
+
version: 1.2.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-
|
11
|
+
date: 2020-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|