aws-sdk-ivs 1.1.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ivs.rb +3 -2
- data/lib/aws-sdk-ivs/client.rb +182 -8
- data/lib/aws-sdk-ivs/client_api.rb +114 -0
- data/lib/aws-sdk-ivs/types.rb +224 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 515561c0c928698c4aaef0ef5443c65884b890d058fc58955ae08a43e413347c
|
4
|
+
data.tar.gz: efc6ae18bba963b52afac4b3725a27513bcb444251aa478ec903e50eedeef031
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c38e788c807b8d8d908c7f73703efd5ec47eb752a825b91cde84da43297b5d7349d1feb532d2d300ea3c1de58e73dc799c94b7586acd9fb8550f72440fb66e5
|
7
|
+
data.tar.gz: 9db61671b5a2cfbf28765eff40e8f2b26a1a854bbd99b8ef9f65767503184be461e131b183a986193654f16b211f47faaf3ee26897976e452398fe88900cccec
|
data/lib/aws-sdk-ivs.rb
CHANGED
@@ -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
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::IVS
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.6.0'
|
51
52
|
|
52
53
|
end
|
data/lib/aws-sdk-ivs/client.rb
CHANGED
@@ -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::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
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
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
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
|
@@ -416,6 +432,9 @@ module Aws::IVS
|
|
416
432
|
#
|
417
433
|
# Default: `STANDARD`.
|
418
434
|
#
|
435
|
+
# @option params [Boolean] :authorized
|
436
|
+
# Whether the channel is authorized. Default: `false`.
|
437
|
+
#
|
419
438
|
# @option params [Hash<String,String>] :tags
|
420
439
|
# See Channel$tags.
|
421
440
|
#
|
@@ -430,6 +449,7 @@ module Aws::IVS
|
|
430
449
|
# name: "ChannelName",
|
431
450
|
# latency_mode: "NORMAL", # accepts NORMAL, LOW
|
432
451
|
# type: "BASIC", # accepts BASIC, STANDARD
|
452
|
+
# authorized: false,
|
433
453
|
# tags: {
|
434
454
|
# "TagKey" => "TagValue",
|
435
455
|
# },
|
@@ -443,6 +463,7 @@ module Aws::IVS
|
|
443
463
|
# resp.channel.type #=> String, one of "BASIC", "STANDARD"
|
444
464
|
# resp.channel.ingest_endpoint #=> String
|
445
465
|
# resp.channel.playback_url #=> String
|
466
|
+
# resp.channel.authorized #=> Boolean
|
446
467
|
# resp.channel.tags #=> Hash
|
447
468
|
# resp.channel.tags["TagKey"] #=> String
|
448
469
|
# resp.stream_key.arn #=> String
|
@@ -527,6 +548,29 @@ module Aws::IVS
|
|
527
548
|
req.send_request(options)
|
528
549
|
end
|
529
550
|
|
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
|
+
|
530
574
|
# Deletes the stream key for the specified ARN, so it can no longer be
|
531
575
|
# used to stream.
|
532
576
|
#
|
@@ -574,6 +618,7 @@ module Aws::IVS
|
|
574
618
|
# resp.channel.type #=> String, one of "BASIC", "STANDARD"
|
575
619
|
# resp.channel.ingest_endpoint #=> String
|
576
620
|
# resp.channel.playback_url #=> String
|
621
|
+
# resp.channel.authorized #=> Boolean
|
577
622
|
# resp.channel.tags #=> Hash
|
578
623
|
# resp.channel.tags["TagKey"] #=> String
|
579
624
|
#
|
@@ -586,6 +631,41 @@ module Aws::IVS
|
|
586
631
|
req.send_request(options)
|
587
632
|
end
|
588
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
|
+
|
589
669
|
# Gets information about the active (live) stream on a specified
|
590
670
|
# channel.
|
591
671
|
#
|
@@ -652,6 +732,53 @@ module Aws::IVS
|
|
652
732
|
req.send_request(options)
|
653
733
|
end
|
654
734
|
|
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
|
+
|
655
782
|
# Gets summary information about all channels in your account, in the
|
656
783
|
# AWS region where the API request is processed. This list can be
|
657
784
|
# filtered to match a specified string.
|
@@ -687,6 +814,7 @@ module Aws::IVS
|
|
687
814
|
# resp.channels[0].arn #=> String
|
688
815
|
# resp.channels[0].name #=> String
|
689
816
|
# resp.channels[0].latency_mode #=> String, one of "NORMAL", "LOW"
|
817
|
+
# resp.channels[0].authorized #=> Boolean
|
690
818
|
# resp.channels[0].tags #=> Hash
|
691
819
|
# resp.channels[0].tags["TagKey"] #=> String
|
692
820
|
# resp.next_token #=> String
|
@@ -700,6 +828,47 @@ module Aws::IVS
|
|
700
828
|
req.send_request(options)
|
701
829
|
end
|
702
830
|
|
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<Types::PlaybackKeyPairSummary>
|
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
|
+
|
703
872
|
# Gets summary information about stream keys for the specified channel.
|
704
873
|
#
|
705
874
|
# @option params [required, String] :channel_arn
|
@@ -973,6 +1142,9 @@ module Aws::IVS
|
|
973
1142
|
#
|
974
1143
|
# Default: `STANDARD`.
|
975
1144
|
#
|
1145
|
+
# @option params [Boolean] :authorized
|
1146
|
+
# Whether the channel is authorized. Default: `false`.
|
1147
|
+
#
|
976
1148
|
# @return [Types::UpdateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
977
1149
|
#
|
978
1150
|
# * {Types::UpdateChannelResponse#channel #channel} => Types::Channel
|
@@ -984,6 +1156,7 @@ module Aws::IVS
|
|
984
1156
|
# name: "ChannelName",
|
985
1157
|
# latency_mode: "NORMAL", # accepts NORMAL, LOW
|
986
1158
|
# type: "BASIC", # accepts BASIC, STANDARD
|
1159
|
+
# authorized: false,
|
987
1160
|
# })
|
988
1161
|
#
|
989
1162
|
# @example Response structure
|
@@ -994,6 +1167,7 @@ module Aws::IVS
|
|
994
1167
|
# resp.channel.type #=> String, one of "BASIC", "STANDARD"
|
995
1168
|
# resp.channel.ingest_endpoint #=> String
|
996
1169
|
# resp.channel.playback_url #=> String
|
1170
|
+
# resp.channel.authorized #=> Boolean
|
997
1171
|
# resp.channel.tags #=> Hash
|
998
1172
|
# resp.channel.tags["TagKey"] #=> String
|
999
1173
|
#
|
@@ -1019,7 +1193,7 @@ module Aws::IVS
|
|
1019
1193
|
params: params,
|
1020
1194
|
config: config)
|
1021
1195
|
context[:gem_name] = 'aws-sdk-ivs'
|
1022
|
-
context[:gem_version] = '1.
|
1196
|
+
context[:gem_version] = '1.6.0'
|
1023
1197
|
Seahorse::Client::Request.new(handlers, context)
|
1024
1198
|
end
|
1025
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,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.6.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:
|
11
|
+
date: 2021-02-02 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.
|
22
|
+
version: 3.112.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.
|
32
|
+
version: 3.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|