aws-sdk-ivs 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-ivs.rb +52 -0
- data/lib/aws-sdk-ivs/client.rb +1025 -0
- data/lib/aws-sdk-ivs/client_api.rb +555 -0
- data/lib/aws-sdk-ivs/customizations.rb +0 -0
- data/lib/aws-sdk-ivs/errors.rb +182 -0
- data/lib/aws-sdk-ivs/resource.rb +26 -0
- data/lib/aws-sdk-ivs/types.rb +1010 -0
- metadata +88 -0
@@ -0,0 +1,555 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::IVS
|
11
|
+
# @api private
|
12
|
+
module ClientApi
|
13
|
+
|
14
|
+
include Seahorse::Model
|
15
|
+
|
16
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
|
+
BatchError = Shapes::StructureShape.new(name: 'BatchError')
|
18
|
+
BatchErrors = Shapes::ListShape.new(name: 'BatchErrors')
|
19
|
+
BatchGetChannelRequest = Shapes::StructureShape.new(name: 'BatchGetChannelRequest')
|
20
|
+
BatchGetChannelResponse = Shapes::StructureShape.new(name: 'BatchGetChannelResponse')
|
21
|
+
BatchGetStreamKeyRequest = Shapes::StructureShape.new(name: 'BatchGetStreamKeyRequest')
|
22
|
+
BatchGetStreamKeyResponse = Shapes::StructureShape.new(name: 'BatchGetStreamKeyResponse')
|
23
|
+
Channel = Shapes::StructureShape.new(name: 'Channel')
|
24
|
+
ChannelArn = Shapes::StringShape.new(name: 'ChannelArn')
|
25
|
+
ChannelArnList = Shapes::ListShape.new(name: 'ChannelArnList')
|
26
|
+
ChannelLatencyMode = Shapes::StringShape.new(name: 'ChannelLatencyMode')
|
27
|
+
ChannelList = Shapes::ListShape.new(name: 'ChannelList')
|
28
|
+
ChannelName = Shapes::StringShape.new(name: 'ChannelName')
|
29
|
+
ChannelNotBroadcasting = Shapes::StructureShape.new(name: 'ChannelNotBroadcasting')
|
30
|
+
ChannelSummary = Shapes::StructureShape.new(name: 'ChannelSummary')
|
31
|
+
ChannelType = Shapes::StringShape.new(name: 'ChannelType')
|
32
|
+
Channels = Shapes::ListShape.new(name: 'Channels')
|
33
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
34
|
+
CreateChannelRequest = Shapes::StructureShape.new(name: 'CreateChannelRequest')
|
35
|
+
CreateChannelResponse = Shapes::StructureShape.new(name: 'CreateChannelResponse')
|
36
|
+
CreateStreamKeyRequest = Shapes::StructureShape.new(name: 'CreateStreamKeyRequest')
|
37
|
+
CreateStreamKeyResponse = Shapes::StructureShape.new(name: 'CreateStreamKeyResponse')
|
38
|
+
DeleteChannelRequest = Shapes::StructureShape.new(name: 'DeleteChannelRequest')
|
39
|
+
DeleteStreamKeyRequest = Shapes::StructureShape.new(name: 'DeleteStreamKeyRequest')
|
40
|
+
GetChannelRequest = Shapes::StructureShape.new(name: 'GetChannelRequest')
|
41
|
+
GetChannelResponse = Shapes::StructureShape.new(name: 'GetChannelResponse')
|
42
|
+
GetStreamKeyRequest = Shapes::StructureShape.new(name: 'GetStreamKeyRequest')
|
43
|
+
GetStreamKeyResponse = Shapes::StructureShape.new(name: 'GetStreamKeyResponse')
|
44
|
+
GetStreamRequest = Shapes::StructureShape.new(name: 'GetStreamRequest')
|
45
|
+
GetStreamResponse = Shapes::StructureShape.new(name: 'GetStreamResponse')
|
46
|
+
IngestEndpoint = Shapes::StringShape.new(name: 'IngestEndpoint')
|
47
|
+
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
48
|
+
ListChannelsRequest = Shapes::StructureShape.new(name: 'ListChannelsRequest')
|
49
|
+
ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
|
50
|
+
ListStreamKeysRequest = Shapes::StructureShape.new(name: 'ListStreamKeysRequest')
|
51
|
+
ListStreamKeysResponse = Shapes::StructureShape.new(name: 'ListStreamKeysResponse')
|
52
|
+
ListStreamsRequest = Shapes::StructureShape.new(name: 'ListStreamsRequest')
|
53
|
+
ListStreamsResponse = Shapes::StructureShape.new(name: 'ListStreamsResponse')
|
54
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
55
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
56
|
+
MaxChannelResults = Shapes::IntegerShape.new(name: 'MaxChannelResults')
|
57
|
+
MaxStreamKeyResults = Shapes::IntegerShape.new(name: 'MaxStreamKeyResults')
|
58
|
+
MaxStreamResults = Shapes::IntegerShape.new(name: 'MaxStreamResults')
|
59
|
+
MaxTagResults = Shapes::IntegerShape.new(name: 'MaxTagResults')
|
60
|
+
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
61
|
+
PlaybackURL = Shapes::StringShape.new(name: 'PlaybackURL')
|
62
|
+
PutMetadataRequest = Shapes::StructureShape.new(name: 'PutMetadataRequest')
|
63
|
+
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
64
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
65
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
66
|
+
StopStreamRequest = Shapes::StructureShape.new(name: 'StopStreamRequest')
|
67
|
+
StopStreamResponse = Shapes::StructureShape.new(name: 'StopStreamResponse')
|
68
|
+
Stream = Shapes::StructureShape.new(name: 'Stream')
|
69
|
+
StreamHealth = Shapes::StringShape.new(name: 'StreamHealth')
|
70
|
+
StreamKey = Shapes::StructureShape.new(name: 'StreamKey')
|
71
|
+
StreamKeyArn = Shapes::StringShape.new(name: 'StreamKeyArn')
|
72
|
+
StreamKeyArnList = Shapes::ListShape.new(name: 'StreamKeyArnList')
|
73
|
+
StreamKeyList = Shapes::ListShape.new(name: 'StreamKeyList')
|
74
|
+
StreamKeySummary = Shapes::StructureShape.new(name: 'StreamKeySummary')
|
75
|
+
StreamKeyValue = Shapes::StringShape.new(name: 'StreamKeyValue')
|
76
|
+
StreamKeys = Shapes::ListShape.new(name: 'StreamKeys')
|
77
|
+
StreamList = Shapes::ListShape.new(name: 'StreamList')
|
78
|
+
StreamMetadata = Shapes::StringShape.new(name: 'StreamMetadata')
|
79
|
+
StreamStartTime = Shapes::TimestampShape.new(name: 'StreamStartTime')
|
80
|
+
StreamState = Shapes::StringShape.new(name: 'StreamState')
|
81
|
+
StreamSummary = Shapes::StructureShape.new(name: 'StreamSummary')
|
82
|
+
StreamUnavailable = Shapes::StructureShape.new(name: 'StreamUnavailable')
|
83
|
+
StreamViewerCount = Shapes::IntegerShape.new(name: 'StreamViewerCount')
|
84
|
+
String = Shapes::StringShape.new(name: 'String')
|
85
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
86
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
87
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
88
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
89
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
90
|
+
Tags = Shapes::MapShape.new(name: 'Tags')
|
91
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
92
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
93
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
94
|
+
UpdateChannelRequest = Shapes::StructureShape.new(name: 'UpdateChannelRequest')
|
95
|
+
UpdateChannelResponse = Shapes::StructureShape.new(name: 'UpdateChannelResponse')
|
96
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
97
|
+
errorCode = Shapes::StringShape.new(name: 'errorCode')
|
98
|
+
errorMessage = Shapes::StringShape.new(name: 'errorMessage')
|
99
|
+
|
100
|
+
AccessDeniedException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
|
101
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
102
|
+
|
103
|
+
BatchError.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "arn"))
|
104
|
+
BatchError.add_member(:code, Shapes::ShapeRef.new(shape: errorCode, location_name: "code"))
|
105
|
+
BatchError.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
106
|
+
BatchError.struct_class = Types::BatchError
|
107
|
+
|
108
|
+
BatchErrors.member = Shapes::ShapeRef.new(shape: BatchError)
|
109
|
+
|
110
|
+
BatchGetChannelRequest.add_member(:arns, Shapes::ShapeRef.new(shape: ChannelArnList, required: true, location_name: "arns"))
|
111
|
+
BatchGetChannelRequest.struct_class = Types::BatchGetChannelRequest
|
112
|
+
|
113
|
+
BatchGetChannelResponse.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "channels"))
|
114
|
+
BatchGetChannelResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchErrors, location_name: "errors"))
|
115
|
+
BatchGetChannelResponse.struct_class = Types::BatchGetChannelResponse
|
116
|
+
|
117
|
+
BatchGetStreamKeyRequest.add_member(:arns, Shapes::ShapeRef.new(shape: StreamKeyArnList, required: true, location_name: "arns"))
|
118
|
+
BatchGetStreamKeyRequest.struct_class = Types::BatchGetStreamKeyRequest
|
119
|
+
|
120
|
+
BatchGetStreamKeyResponse.add_member(:stream_keys, Shapes::ShapeRef.new(shape: StreamKeys, location_name: "streamKeys"))
|
121
|
+
BatchGetStreamKeyResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchErrors, location_name: "errors"))
|
122
|
+
BatchGetStreamKeyResponse.struct_class = Types::BatchGetStreamKeyResponse
|
123
|
+
|
124
|
+
Channel.add_member(:arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "arn"))
|
125
|
+
Channel.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
|
126
|
+
Channel.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
|
127
|
+
Channel.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "type"))
|
128
|
+
Channel.add_member(:ingest_endpoint, Shapes::ShapeRef.new(shape: IngestEndpoint, location_name: "ingestEndpoint"))
|
129
|
+
Channel.add_member(:playback_url, Shapes::ShapeRef.new(shape: PlaybackURL, location_name: "playbackUrl"))
|
130
|
+
Channel.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
131
|
+
Channel.struct_class = Types::Channel
|
132
|
+
|
133
|
+
ChannelArnList.member = Shapes::ShapeRef.new(shape: ChannelArn)
|
134
|
+
|
135
|
+
ChannelList.member = Shapes::ShapeRef.new(shape: ChannelSummary)
|
136
|
+
|
137
|
+
ChannelNotBroadcasting.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
|
138
|
+
ChannelNotBroadcasting.struct_class = Types::ChannelNotBroadcasting
|
139
|
+
|
140
|
+
ChannelSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "arn"))
|
141
|
+
ChannelSummary.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
|
142
|
+
ChannelSummary.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
|
143
|
+
ChannelSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
144
|
+
ChannelSummary.struct_class = Types::ChannelSummary
|
145
|
+
|
146
|
+
Channels.member = Shapes::ShapeRef.new(shape: Channel)
|
147
|
+
|
148
|
+
ConflictException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
|
149
|
+
ConflictException.struct_class = Types::ConflictException
|
150
|
+
|
151
|
+
CreateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
|
152
|
+
CreateChannelRequest.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
|
153
|
+
CreateChannelRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "type"))
|
154
|
+
CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
155
|
+
CreateChannelRequest.struct_class = Types::CreateChannelRequest
|
156
|
+
|
157
|
+
CreateChannelResponse.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "channel"))
|
158
|
+
CreateChannelResponse.add_member(:stream_key, Shapes::ShapeRef.new(shape: StreamKey, location_name: "streamKey"))
|
159
|
+
CreateChannelResponse.struct_class = Types::CreateChannelResponse
|
160
|
+
|
161
|
+
CreateStreamKeyRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
|
162
|
+
CreateStreamKeyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
163
|
+
CreateStreamKeyRequest.struct_class = Types::CreateStreamKeyRequest
|
164
|
+
|
165
|
+
CreateStreamKeyResponse.add_member(:stream_key, Shapes::ShapeRef.new(shape: StreamKey, location_name: "streamKey"))
|
166
|
+
CreateStreamKeyResponse.struct_class = Types::CreateStreamKeyResponse
|
167
|
+
|
168
|
+
DeleteChannelRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "arn"))
|
169
|
+
DeleteChannelRequest.struct_class = Types::DeleteChannelRequest
|
170
|
+
|
171
|
+
DeleteStreamKeyRequest.add_member(:arn, Shapes::ShapeRef.new(shape: StreamKeyArn, required: true, location_name: "arn"))
|
172
|
+
DeleteStreamKeyRequest.struct_class = Types::DeleteStreamKeyRequest
|
173
|
+
|
174
|
+
GetChannelRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "arn"))
|
175
|
+
GetChannelRequest.struct_class = Types::GetChannelRequest
|
176
|
+
|
177
|
+
GetChannelResponse.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "channel"))
|
178
|
+
GetChannelResponse.struct_class = Types::GetChannelResponse
|
179
|
+
|
180
|
+
GetStreamKeyRequest.add_member(:arn, Shapes::ShapeRef.new(shape: StreamKeyArn, required: true, location_name: "arn"))
|
181
|
+
GetStreamKeyRequest.struct_class = Types::GetStreamKeyRequest
|
182
|
+
|
183
|
+
GetStreamKeyResponse.add_member(:stream_key, Shapes::ShapeRef.new(shape: StreamKey, location_name: "streamKey"))
|
184
|
+
GetStreamKeyResponse.struct_class = Types::GetStreamKeyResponse
|
185
|
+
|
186
|
+
GetStreamRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
|
187
|
+
GetStreamRequest.struct_class = Types::GetStreamRequest
|
188
|
+
|
189
|
+
GetStreamResponse.add_member(:stream, Shapes::ShapeRef.new(shape: Stream, location_name: "stream"))
|
190
|
+
GetStreamResponse.struct_class = Types::GetStreamResponse
|
191
|
+
|
192
|
+
InternalServerException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
|
193
|
+
InternalServerException.struct_class = Types::InternalServerException
|
194
|
+
|
195
|
+
ListChannelsRequest.add_member(:filter_by_name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "filterByName"))
|
196
|
+
ListChannelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
197
|
+
ListChannelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxChannelResults, location_name: "maxResults"))
|
198
|
+
ListChannelsRequest.struct_class = Types::ListChannelsRequest
|
199
|
+
|
200
|
+
ListChannelsResponse.add_member(:channels, Shapes::ShapeRef.new(shape: ChannelList, required: true, location_name: "channels"))
|
201
|
+
ListChannelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
202
|
+
ListChannelsResponse.struct_class = Types::ListChannelsResponse
|
203
|
+
|
204
|
+
ListStreamKeysRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
|
205
|
+
ListStreamKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
206
|
+
ListStreamKeysRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxStreamKeyResults, location_name: "maxResults"))
|
207
|
+
ListStreamKeysRequest.struct_class = Types::ListStreamKeysRequest
|
208
|
+
|
209
|
+
ListStreamKeysResponse.add_member(:stream_keys, Shapes::ShapeRef.new(shape: StreamKeyList, required: true, location_name: "streamKeys"))
|
210
|
+
ListStreamKeysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
211
|
+
ListStreamKeysResponse.struct_class = Types::ListStreamKeysResponse
|
212
|
+
|
213
|
+
ListStreamsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
214
|
+
ListStreamsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxStreamResults, location_name: "maxResults"))
|
215
|
+
ListStreamsRequest.struct_class = Types::ListStreamsRequest
|
216
|
+
|
217
|
+
ListStreamsResponse.add_member(:streams, Shapes::ShapeRef.new(shape: StreamList, required: true, location_name: "streams"))
|
218
|
+
ListStreamsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
219
|
+
ListStreamsResponse.struct_class = Types::ListStreamsResponse
|
220
|
+
|
221
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
|
222
|
+
ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
223
|
+
ListTagsForResourceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxTagResults, location_name: "maxResults"))
|
224
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
225
|
+
|
226
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
|
227
|
+
ListTagsForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
228
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
229
|
+
|
230
|
+
PutMetadataRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
|
231
|
+
PutMetadataRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: StreamMetadata, required: true, location_name: "metadata"))
|
232
|
+
PutMetadataRequest.struct_class = Types::PutMetadataRequest
|
233
|
+
|
234
|
+
ResourceNotFoundException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
|
235
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
236
|
+
|
237
|
+
ServiceQuotaExceededException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
|
238
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
239
|
+
|
240
|
+
StopStreamRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
|
241
|
+
StopStreamRequest.struct_class = Types::StopStreamRequest
|
242
|
+
|
243
|
+
StopStreamResponse.struct_class = Types::StopStreamResponse
|
244
|
+
|
245
|
+
Stream.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "channelArn"))
|
246
|
+
Stream.add_member(:playback_url, Shapes::ShapeRef.new(shape: PlaybackURL, location_name: "playbackUrl"))
|
247
|
+
Stream.add_member(:start_time, Shapes::ShapeRef.new(shape: StreamStartTime, location_name: "startTime"))
|
248
|
+
Stream.add_member(:state, Shapes::ShapeRef.new(shape: StreamState, location_name: "state"))
|
249
|
+
Stream.add_member(:health, Shapes::ShapeRef.new(shape: StreamHealth, location_name: "health"))
|
250
|
+
Stream.add_member(:viewer_count, Shapes::ShapeRef.new(shape: StreamViewerCount, location_name: "viewerCount"))
|
251
|
+
Stream.struct_class = Types::Stream
|
252
|
+
|
253
|
+
StreamKey.add_member(:arn, Shapes::ShapeRef.new(shape: StreamKeyArn, location_name: "arn"))
|
254
|
+
StreamKey.add_member(:value, Shapes::ShapeRef.new(shape: StreamKeyValue, location_name: "value"))
|
255
|
+
StreamKey.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "channelArn"))
|
256
|
+
StreamKey.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
257
|
+
StreamKey.struct_class = Types::StreamKey
|
258
|
+
|
259
|
+
StreamKeyArnList.member = Shapes::ShapeRef.new(shape: StreamKeyArn)
|
260
|
+
|
261
|
+
StreamKeyList.member = Shapes::ShapeRef.new(shape: StreamKeySummary)
|
262
|
+
|
263
|
+
StreamKeySummary.add_member(:arn, Shapes::ShapeRef.new(shape: StreamKeyArn, location_name: "arn"))
|
264
|
+
StreamKeySummary.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "channelArn"))
|
265
|
+
StreamKeySummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
266
|
+
StreamKeySummary.struct_class = Types::StreamKeySummary
|
267
|
+
|
268
|
+
StreamKeys.member = Shapes::ShapeRef.new(shape: StreamKey)
|
269
|
+
|
270
|
+
StreamList.member = Shapes::ShapeRef.new(shape: StreamSummary)
|
271
|
+
|
272
|
+
StreamSummary.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "channelArn"))
|
273
|
+
StreamSummary.add_member(:state, Shapes::ShapeRef.new(shape: StreamState, location_name: "state"))
|
274
|
+
StreamSummary.add_member(:health, Shapes::ShapeRef.new(shape: StreamHealth, location_name: "health"))
|
275
|
+
StreamSummary.add_member(:viewer_count, Shapes::ShapeRef.new(shape: StreamViewerCount, location_name: "viewerCount"))
|
276
|
+
StreamSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: StreamStartTime, location_name: "startTime"))
|
277
|
+
StreamSummary.struct_class = Types::StreamSummary
|
278
|
+
|
279
|
+
StreamUnavailable.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
|
280
|
+
StreamUnavailable.struct_class = Types::StreamUnavailable
|
281
|
+
|
282
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
283
|
+
|
284
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
|
285
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
|
286
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
287
|
+
|
288
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
289
|
+
|
290
|
+
Tags.key = Shapes::ShapeRef.new(shape: TagKey)
|
291
|
+
Tags.value = Shapes::ShapeRef.new(shape: TagValue)
|
292
|
+
|
293
|
+
ThrottlingException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
|
294
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
295
|
+
|
296
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
|
297
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
298
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
299
|
+
|
300
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
301
|
+
|
302
|
+
UpdateChannelRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "arn"))
|
303
|
+
UpdateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
|
304
|
+
UpdateChannelRequest.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
|
305
|
+
UpdateChannelRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "type"))
|
306
|
+
UpdateChannelRequest.struct_class = Types::UpdateChannelRequest
|
307
|
+
|
308
|
+
UpdateChannelResponse.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "channel"))
|
309
|
+
UpdateChannelResponse.struct_class = Types::UpdateChannelResponse
|
310
|
+
|
311
|
+
ValidationException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
|
312
|
+
ValidationException.struct_class = Types::ValidationException
|
313
|
+
|
314
|
+
|
315
|
+
# @api private
|
316
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
317
|
+
|
318
|
+
api.version = "2020-07-14"
|
319
|
+
|
320
|
+
api.metadata = {
|
321
|
+
"apiVersion" => "2020-07-14",
|
322
|
+
"endpointPrefix" => "ivs",
|
323
|
+
"protocol" => "rest-json",
|
324
|
+
"serviceAbbreviation" => "Amazon IVS",
|
325
|
+
"serviceFullName" => "Amazon Interactive Video Service",
|
326
|
+
"serviceId" => "ivs",
|
327
|
+
"signatureVersion" => "v4",
|
328
|
+
"signingName" => "ivs",
|
329
|
+
"uid" => "ivs-2020-07-14",
|
330
|
+
}
|
331
|
+
|
332
|
+
api.add_operation(:batch_get_channel, Seahorse::Model::Operation.new.tap do |o|
|
333
|
+
o.name = "BatchGetChannel"
|
334
|
+
o.http_method = "POST"
|
335
|
+
o.http_request_uri = "/BatchGetChannel"
|
336
|
+
o.input = Shapes::ShapeRef.new(shape: BatchGetChannelRequest)
|
337
|
+
o.output = Shapes::ShapeRef.new(shape: BatchGetChannelResponse)
|
338
|
+
end)
|
339
|
+
|
340
|
+
api.add_operation(:batch_get_stream_key, Seahorse::Model::Operation.new.tap do |o|
|
341
|
+
o.name = "BatchGetStreamKey"
|
342
|
+
o.http_method = "POST"
|
343
|
+
o.http_request_uri = "/BatchGetStreamKey"
|
344
|
+
o.input = Shapes::ShapeRef.new(shape: BatchGetStreamKeyRequest)
|
345
|
+
o.output = Shapes::ShapeRef.new(shape: BatchGetStreamKeyResponse)
|
346
|
+
end)
|
347
|
+
|
348
|
+
api.add_operation(:create_channel, Seahorse::Model::Operation.new.tap do |o|
|
349
|
+
o.name = "CreateChannel"
|
350
|
+
o.http_method = "POST"
|
351
|
+
o.http_request_uri = "/CreateChannel"
|
352
|
+
o.input = Shapes::ShapeRef.new(shape: CreateChannelRequest)
|
353
|
+
o.output = Shapes::ShapeRef.new(shape: CreateChannelResponse)
|
354
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
355
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
356
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
357
|
+
end)
|
358
|
+
|
359
|
+
api.add_operation(:create_stream_key, Seahorse::Model::Operation.new.tap do |o|
|
360
|
+
o.name = "CreateStreamKey"
|
361
|
+
o.http_method = "POST"
|
362
|
+
o.http_request_uri = "/CreateStreamKey"
|
363
|
+
o.input = Shapes::ShapeRef.new(shape: CreateStreamKeyRequest)
|
364
|
+
o.output = Shapes::ShapeRef.new(shape: CreateStreamKeyResponse)
|
365
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
366
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
367
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
368
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
369
|
+
end)
|
370
|
+
|
371
|
+
api.add_operation(:delete_channel, Seahorse::Model::Operation.new.tap do |o|
|
372
|
+
o.name = "DeleteChannel"
|
373
|
+
o.http_method = "POST"
|
374
|
+
o.http_request_uri = "/DeleteChannel"
|
375
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteChannelRequest)
|
376
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
377
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
378
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
379
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
381
|
+
end)
|
382
|
+
|
383
|
+
api.add_operation(:delete_stream_key, Seahorse::Model::Operation.new.tap do |o|
|
384
|
+
o.name = "DeleteStreamKey"
|
385
|
+
o.http_method = "POST"
|
386
|
+
o.http_request_uri = "/DeleteStreamKey"
|
387
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteStreamKeyRequest)
|
388
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
389
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
390
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
391
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
392
|
+
end)
|
393
|
+
|
394
|
+
api.add_operation(:get_channel, Seahorse::Model::Operation.new.tap do |o|
|
395
|
+
o.name = "GetChannel"
|
396
|
+
o.http_method = "POST"
|
397
|
+
o.http_request_uri = "/GetChannel"
|
398
|
+
o.input = Shapes::ShapeRef.new(shape: GetChannelRequest)
|
399
|
+
o.output = Shapes::ShapeRef.new(shape: GetChannelResponse)
|
400
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
401
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
402
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
403
|
+
end)
|
404
|
+
|
405
|
+
api.add_operation(:get_stream, Seahorse::Model::Operation.new.tap do |o|
|
406
|
+
o.name = "GetStream"
|
407
|
+
o.http_method = "POST"
|
408
|
+
o.http_request_uri = "/GetStream"
|
409
|
+
o.input = Shapes::ShapeRef.new(shape: GetStreamRequest)
|
410
|
+
o.output = Shapes::ShapeRef.new(shape: GetStreamResponse)
|
411
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
412
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
413
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: ChannelNotBroadcasting)
|
415
|
+
end)
|
416
|
+
|
417
|
+
api.add_operation(:get_stream_key, Seahorse::Model::Operation.new.tap do |o|
|
418
|
+
o.name = "GetStreamKey"
|
419
|
+
o.http_method = "POST"
|
420
|
+
o.http_request_uri = "/GetStreamKey"
|
421
|
+
o.input = Shapes::ShapeRef.new(shape: GetStreamKeyRequest)
|
422
|
+
o.output = Shapes::ShapeRef.new(shape: GetStreamKeyResponse)
|
423
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
424
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
425
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
426
|
+
end)
|
427
|
+
|
428
|
+
api.add_operation(:list_channels, Seahorse::Model::Operation.new.tap do |o|
|
429
|
+
o.name = "ListChannels"
|
430
|
+
o.http_method = "POST"
|
431
|
+
o.http_request_uri = "/ListChannels"
|
432
|
+
o.input = Shapes::ShapeRef.new(shape: ListChannelsRequest)
|
433
|
+
o.output = Shapes::ShapeRef.new(shape: ListChannelsResponse)
|
434
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
435
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
436
|
+
o[:pager] = Aws::Pager.new(
|
437
|
+
limit_key: "max_results",
|
438
|
+
tokens: {
|
439
|
+
"next_token" => "next_token"
|
440
|
+
}
|
441
|
+
)
|
442
|
+
end)
|
443
|
+
|
444
|
+
api.add_operation(:list_stream_keys, Seahorse::Model::Operation.new.tap do |o|
|
445
|
+
o.name = "ListStreamKeys"
|
446
|
+
o.http_method = "POST"
|
447
|
+
o.http_request_uri = "/ListStreamKeys"
|
448
|
+
o.input = Shapes::ShapeRef.new(shape: ListStreamKeysRequest)
|
449
|
+
o.output = Shapes::ShapeRef.new(shape: ListStreamKeysResponse)
|
450
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
451
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
452
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
453
|
+
o[:pager] = Aws::Pager.new(
|
454
|
+
limit_key: "max_results",
|
455
|
+
tokens: {
|
456
|
+
"next_token" => "next_token"
|
457
|
+
}
|
458
|
+
)
|
459
|
+
end)
|
460
|
+
|
461
|
+
api.add_operation(:list_streams, Seahorse::Model::Operation.new.tap do |o|
|
462
|
+
o.name = "ListStreams"
|
463
|
+
o.http_method = "POST"
|
464
|
+
o.http_request_uri = "/ListStreams"
|
465
|
+
o.input = Shapes::ShapeRef.new(shape: ListStreamsRequest)
|
466
|
+
o.output = Shapes::ShapeRef.new(shape: ListStreamsResponse)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
468
|
+
o[:pager] = Aws::Pager.new(
|
469
|
+
limit_key: "max_results",
|
470
|
+
tokens: {
|
471
|
+
"next_token" => "next_token"
|
472
|
+
}
|
473
|
+
)
|
474
|
+
end)
|
475
|
+
|
476
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
477
|
+
o.name = "ListTagsForResource"
|
478
|
+
o.http_method = "GET"
|
479
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
480
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
481
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
482
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
483
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
484
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
485
|
+
o[:pager] = Aws::Pager.new(
|
486
|
+
limit_key: "max_results",
|
487
|
+
tokens: {
|
488
|
+
"next_token" => "next_token"
|
489
|
+
}
|
490
|
+
)
|
491
|
+
end)
|
492
|
+
|
493
|
+
api.add_operation(:put_metadata, Seahorse::Model::Operation.new.tap do |o|
|
494
|
+
o.name = "PutMetadata"
|
495
|
+
o.http_method = "POST"
|
496
|
+
o.http_request_uri = "/PutMetadata"
|
497
|
+
o.input = Shapes::ShapeRef.new(shape: PutMetadataRequest)
|
498
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
499
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
500
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
501
|
+
o.errors << Shapes::ShapeRef.new(shape: ChannelNotBroadcasting)
|
502
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
503
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
504
|
+
end)
|
505
|
+
|
506
|
+
api.add_operation(:stop_stream, Seahorse::Model::Operation.new.tap do |o|
|
507
|
+
o.name = "StopStream"
|
508
|
+
o.http_method = "POST"
|
509
|
+
o.http_request_uri = "/StopStream"
|
510
|
+
o.input = Shapes::ShapeRef.new(shape: StopStreamRequest)
|
511
|
+
o.output = Shapes::ShapeRef.new(shape: StopStreamResponse)
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
513
|
+
o.errors << Shapes::ShapeRef.new(shape: ChannelNotBroadcasting)
|
514
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
515
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
516
|
+
o.errors << Shapes::ShapeRef.new(shape: StreamUnavailable)
|
517
|
+
end)
|
518
|
+
|
519
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
520
|
+
o.name = "TagResource"
|
521
|
+
o.http_method = "POST"
|
522
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
523
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
524
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
525
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
526
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
527
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
528
|
+
end)
|
529
|
+
|
530
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
531
|
+
o.name = "UntagResource"
|
532
|
+
o.http_method = "DELETE"
|
533
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
534
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
535
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
539
|
+
end)
|
540
|
+
|
541
|
+
api.add_operation(:update_channel, Seahorse::Model::Operation.new.tap do |o|
|
542
|
+
o.name = "UpdateChannel"
|
543
|
+
o.http_method = "POST"
|
544
|
+
o.http_request_uri = "/UpdateChannel"
|
545
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateChannelRequest)
|
546
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateChannelResponse)
|
547
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
548
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
551
|
+
end)
|
552
|
+
end
|
553
|
+
|
554
|
+
end
|
555
|
+
end
|