aws-sdk-ivs 1.11.0 → 1.15.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.
@@ -14,6 +14,7 @@ module Aws::IVS
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AudioConfiguration = Shapes::StructureShape.new(name: 'AudioConfiguration')
17
18
  BatchError = Shapes::StructureShape.new(name: 'BatchError')
18
19
  BatchErrors = Shapes::ListShape.new(name: 'BatchErrors')
19
20
  BatchGetChannelRequest = Shapes::StructureShape.new(name: 'BatchGetChannelRequest')
@@ -55,9 +56,13 @@ module Aws::IVS
55
56
  GetStreamKeyResponse = Shapes::StructureShape.new(name: 'GetStreamKeyResponse')
56
57
  GetStreamRequest = Shapes::StructureShape.new(name: 'GetStreamRequest')
57
58
  GetStreamResponse = Shapes::StructureShape.new(name: 'GetStreamResponse')
59
+ GetStreamSessionRequest = Shapes::StructureShape.new(name: 'GetStreamSessionRequest')
60
+ GetStreamSessionResponse = Shapes::StructureShape.new(name: 'GetStreamSessionResponse')
58
61
  ImportPlaybackKeyPairRequest = Shapes::StructureShape.new(name: 'ImportPlaybackKeyPairRequest')
59
62
  ImportPlaybackKeyPairResponse = Shapes::StructureShape.new(name: 'ImportPlaybackKeyPairResponse')
63
+ IngestConfiguration = Shapes::StructureShape.new(name: 'IngestConfiguration')
60
64
  IngestEndpoint = Shapes::StringShape.new(name: 'IngestEndpoint')
65
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
61
66
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
62
67
  IsAuthorized = Shapes::BooleanShape.new(name: 'IsAuthorized')
63
68
  ListChannelsRequest = Shapes::StructureShape.new(name: 'ListChannelsRequest')
@@ -68,6 +73,8 @@ module Aws::IVS
68
73
  ListRecordingConfigurationsResponse = Shapes::StructureShape.new(name: 'ListRecordingConfigurationsResponse')
69
74
  ListStreamKeysRequest = Shapes::StructureShape.new(name: 'ListStreamKeysRequest')
70
75
  ListStreamKeysResponse = Shapes::StructureShape.new(name: 'ListStreamKeysResponse')
76
+ ListStreamSessionsRequest = Shapes::StructureShape.new(name: 'ListStreamSessionsRequest')
77
+ ListStreamSessionsResponse = Shapes::StructureShape.new(name: 'ListStreamSessionsResponse')
71
78
  ListStreamsRequest = Shapes::StructureShape.new(name: 'ListStreamsRequest')
72
79
  ListStreamsResponse = Shapes::StructureShape.new(name: 'ListStreamsResponse')
73
80
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -77,7 +84,6 @@ module Aws::IVS
77
84
  MaxRecordingConfigurationResults = Shapes::IntegerShape.new(name: 'MaxRecordingConfigurationResults')
78
85
  MaxStreamKeyResults = Shapes::IntegerShape.new(name: 'MaxStreamKeyResults')
79
86
  MaxStreamResults = Shapes::IntegerShape.new(name: 'MaxStreamResults')
80
- MaxTagResults = Shapes::IntegerShape.new(name: 'MaxTagResults')
81
87
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
82
88
  PendingVerification = Shapes::StructureShape.new(name: 'PendingVerification')
83
89
  PlaybackKeyPair = Shapes::StructureShape.new(name: 'PlaybackKeyPair')
@@ -103,7 +109,11 @@ module Aws::IVS
103
109
  StopStreamRequest = Shapes::StructureShape.new(name: 'StopStreamRequest')
104
110
  StopStreamResponse = Shapes::StructureShape.new(name: 'StopStreamResponse')
105
111
  Stream = Shapes::StructureShape.new(name: 'Stream')
112
+ StreamEvent = Shapes::StructureShape.new(name: 'StreamEvent')
113
+ StreamEvents = Shapes::ListShape.new(name: 'StreamEvents')
114
+ StreamFilters = Shapes::StructureShape.new(name: 'StreamFilters')
106
115
  StreamHealth = Shapes::StringShape.new(name: 'StreamHealth')
116
+ StreamId = Shapes::StringShape.new(name: 'StreamId')
107
117
  StreamKey = Shapes::StructureShape.new(name: 'StreamKey')
108
118
  StreamKeyArn = Shapes::StringShape.new(name: 'StreamKeyArn')
109
119
  StreamKeyArnList = Shapes::ListShape.new(name: 'StreamKeyArnList')
@@ -113,6 +123,9 @@ module Aws::IVS
113
123
  StreamKeys = Shapes::ListShape.new(name: 'StreamKeys')
114
124
  StreamList = Shapes::ListShape.new(name: 'StreamList')
115
125
  StreamMetadata = Shapes::StringShape.new(name: 'StreamMetadata')
126
+ StreamSession = Shapes::StructureShape.new(name: 'StreamSession')
127
+ StreamSessionList = Shapes::ListShape.new(name: 'StreamSessionList')
128
+ StreamSessionSummary = Shapes::StructureShape.new(name: 'StreamSessionSummary')
116
129
  StreamStartTime = Shapes::TimestampShape.new(name: 'StreamStartTime', timestampFormat: "iso8601")
117
130
  StreamState = Shapes::StringShape.new(name: 'StreamState')
118
131
  StreamSummary = Shapes::StructureShape.new(name: 'StreamSummary')
@@ -126,17 +139,25 @@ module Aws::IVS
126
139
  TagValue = Shapes::StringShape.new(name: 'TagValue')
127
140
  Tags = Shapes::MapShape.new(name: 'Tags')
128
141
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
142
+ Time = Shapes::TimestampShape.new(name: 'Time', timestampFormat: "iso8601")
129
143
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
130
144
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
131
145
  UpdateChannelRequest = Shapes::StructureShape.new(name: 'UpdateChannelRequest')
132
146
  UpdateChannelResponse = Shapes::StructureShape.new(name: 'UpdateChannelResponse')
133
147
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
148
+ VideoConfiguration = Shapes::StructureShape.new(name: 'VideoConfiguration')
134
149
  errorCode = Shapes::StringShape.new(name: 'errorCode')
135
150
  errorMessage = Shapes::StringShape.new(name: 'errorMessage')
136
151
 
137
152
  AccessDeniedException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
138
153
  AccessDeniedException.struct_class = Types::AccessDeniedException
139
154
 
155
+ AudioConfiguration.add_member(:channels, Shapes::ShapeRef.new(shape: Integer, location_name: "channels"))
156
+ AudioConfiguration.add_member(:codec, Shapes::ShapeRef.new(shape: String, location_name: "codec"))
157
+ AudioConfiguration.add_member(:sample_rate, Shapes::ShapeRef.new(shape: Integer, location_name: "sampleRate"))
158
+ AudioConfiguration.add_member(:target_bitrate, Shapes::ShapeRef.new(shape: Integer, location_name: "targetBitrate"))
159
+ AudioConfiguration.struct_class = Types::AudioConfiguration
160
+
140
161
  BatchError.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "arn"))
141
162
  BatchError.add_member(:code, Shapes::ShapeRef.new(shape: errorCode, location_name: "code"))
142
163
  BatchError.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
@@ -154,19 +175,19 @@ module Aws::IVS
154
175
  BatchGetStreamKeyRequest.add_member(:arns, Shapes::ShapeRef.new(shape: StreamKeyArnList, required: true, location_name: "arns"))
155
176
  BatchGetStreamKeyRequest.struct_class = Types::BatchGetStreamKeyRequest
156
177
 
157
- BatchGetStreamKeyResponse.add_member(:stream_keys, Shapes::ShapeRef.new(shape: StreamKeys, location_name: "streamKeys"))
158
178
  BatchGetStreamKeyResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchErrors, location_name: "errors"))
179
+ BatchGetStreamKeyResponse.add_member(:stream_keys, Shapes::ShapeRef.new(shape: StreamKeys, location_name: "streamKeys"))
159
180
  BatchGetStreamKeyResponse.struct_class = Types::BatchGetStreamKeyResponse
160
181
 
161
182
  Channel.add_member(:arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "arn"))
162
- Channel.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
163
- Channel.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
164
- Channel.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "type"))
165
- Channel.add_member(:recording_configuration_arn, Shapes::ShapeRef.new(shape: ChannelRecordingConfigurationArn, location_name: "recordingConfigurationArn"))
183
+ Channel.add_member(:authorized, Shapes::ShapeRef.new(shape: IsAuthorized, location_name: "authorized"))
166
184
  Channel.add_member(:ingest_endpoint, Shapes::ShapeRef.new(shape: IngestEndpoint, location_name: "ingestEndpoint"))
185
+ Channel.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
186
+ Channel.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
167
187
  Channel.add_member(:playback_url, Shapes::ShapeRef.new(shape: PlaybackURL, location_name: "playbackUrl"))
168
- Channel.add_member(:authorized, Shapes::ShapeRef.new(shape: IsAuthorized, location_name: "authorized"))
188
+ Channel.add_member(:recording_configuration_arn, Shapes::ShapeRef.new(shape: ChannelRecordingConfigurationArn, location_name: "recordingConfigurationArn"))
169
189
  Channel.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
190
+ Channel.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "type"))
170
191
  Channel.struct_class = Types::Channel
171
192
 
172
193
  ChannelArnList.member = Shapes::ShapeRef.new(shape: ChannelArn)
@@ -177,9 +198,9 @@ module Aws::IVS
177
198
  ChannelNotBroadcasting.struct_class = Types::ChannelNotBroadcasting
178
199
 
179
200
  ChannelSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "arn"))
180
- ChannelSummary.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
181
- ChannelSummary.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
182
201
  ChannelSummary.add_member(:authorized, Shapes::ShapeRef.new(shape: IsAuthorized, location_name: "authorized"))
202
+ ChannelSummary.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
203
+ ChannelSummary.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
183
204
  ChannelSummary.add_member(:recording_configuration_arn, Shapes::ShapeRef.new(shape: ChannelRecordingConfigurationArn, location_name: "recordingConfigurationArn"))
184
205
  ChannelSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
185
206
  ChannelSummary.struct_class = Types::ChannelSummary
@@ -189,20 +210,20 @@ module Aws::IVS
189
210
  ConflictException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
190
211
  ConflictException.struct_class = Types::ConflictException
191
212
 
192
- CreateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
193
- CreateChannelRequest.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
194
- CreateChannelRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "type"))
195
213
  CreateChannelRequest.add_member(:authorized, Shapes::ShapeRef.new(shape: Boolean, location_name: "authorized"))
214
+ CreateChannelRequest.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
215
+ CreateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
196
216
  CreateChannelRequest.add_member(:recording_configuration_arn, Shapes::ShapeRef.new(shape: ChannelRecordingConfigurationArn, location_name: "recordingConfigurationArn"))
197
217
  CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
218
+ CreateChannelRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "type"))
198
219
  CreateChannelRequest.struct_class = Types::CreateChannelRequest
199
220
 
200
221
  CreateChannelResponse.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "channel"))
201
222
  CreateChannelResponse.add_member(:stream_key, Shapes::ShapeRef.new(shape: StreamKey, location_name: "streamKey"))
202
223
  CreateChannelResponse.struct_class = Types::CreateChannelResponse
203
224
 
204
- CreateRecordingConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: RecordingConfigurationName, location_name: "name"))
205
225
  CreateRecordingConfigurationRequest.add_member(:destination_configuration, Shapes::ShapeRef.new(shape: DestinationConfiguration, required: true, location_name: "destinationConfiguration"))
226
+ CreateRecordingConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: RecordingConfigurationName, location_name: "name"))
206
227
  CreateRecordingConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
207
228
  CreateRecordingConfigurationRequest.struct_class = Types::CreateRecordingConfigurationRequest
208
229
 
@@ -263,75 +284,93 @@ module Aws::IVS
263
284
  GetStreamResponse.add_member(:stream, Shapes::ShapeRef.new(shape: Stream, location_name: "stream"))
264
285
  GetStreamResponse.struct_class = Types::GetStreamResponse
265
286
 
266
- ImportPlaybackKeyPairRequest.add_member(:public_key_material, Shapes::ShapeRef.new(shape: PlaybackPublicKeyMaterial, required: true, location_name: "publicKeyMaterial"))
287
+ GetStreamSessionRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
288
+ GetStreamSessionRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, location_name: "streamId"))
289
+ GetStreamSessionRequest.struct_class = Types::GetStreamSessionRequest
290
+
291
+ GetStreamSessionResponse.add_member(:stream_session, Shapes::ShapeRef.new(shape: StreamSession, location_name: "streamSession"))
292
+ GetStreamSessionResponse.struct_class = Types::GetStreamSessionResponse
293
+
267
294
  ImportPlaybackKeyPairRequest.add_member(:name, Shapes::ShapeRef.new(shape: PlaybackKeyPairName, location_name: "name"))
295
+ ImportPlaybackKeyPairRequest.add_member(:public_key_material, Shapes::ShapeRef.new(shape: PlaybackPublicKeyMaterial, required: true, location_name: "publicKeyMaterial"))
268
296
  ImportPlaybackKeyPairRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
269
297
  ImportPlaybackKeyPairRequest.struct_class = Types::ImportPlaybackKeyPairRequest
270
298
 
271
299
  ImportPlaybackKeyPairResponse.add_member(:key_pair, Shapes::ShapeRef.new(shape: PlaybackKeyPair, location_name: "keyPair"))
272
300
  ImportPlaybackKeyPairResponse.struct_class = Types::ImportPlaybackKeyPairResponse
273
301
 
302
+ IngestConfiguration.add_member(:audio, Shapes::ShapeRef.new(shape: AudioConfiguration, location_name: "audio"))
303
+ IngestConfiguration.add_member(:video, Shapes::ShapeRef.new(shape: VideoConfiguration, location_name: "video"))
304
+ IngestConfiguration.struct_class = Types::IngestConfiguration
305
+
274
306
  InternalServerException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
275
307
  InternalServerException.struct_class = Types::InternalServerException
276
308
 
277
309
  ListChannelsRequest.add_member(:filter_by_name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "filterByName"))
278
310
  ListChannelsRequest.add_member(:filter_by_recording_configuration_arn, Shapes::ShapeRef.new(shape: ChannelRecordingConfigurationArn, location_name: "filterByRecordingConfigurationArn"))
279
- ListChannelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
280
311
  ListChannelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxChannelResults, location_name: "maxResults"))
312
+ ListChannelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
281
313
  ListChannelsRequest.struct_class = Types::ListChannelsRequest
282
314
 
283
315
  ListChannelsResponse.add_member(:channels, Shapes::ShapeRef.new(shape: ChannelList, required: true, location_name: "channels"))
284
316
  ListChannelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
285
317
  ListChannelsResponse.struct_class = Types::ListChannelsResponse
286
318
 
287
- ListPlaybackKeyPairsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
288
319
  ListPlaybackKeyPairsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxPlaybackKeyPairResults, location_name: "maxResults"))
320
+ ListPlaybackKeyPairsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
289
321
  ListPlaybackKeyPairsRequest.struct_class = Types::ListPlaybackKeyPairsRequest
290
322
 
291
323
  ListPlaybackKeyPairsResponse.add_member(:key_pairs, Shapes::ShapeRef.new(shape: PlaybackKeyPairList, required: true, location_name: "keyPairs"))
292
324
  ListPlaybackKeyPairsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
293
325
  ListPlaybackKeyPairsResponse.struct_class = Types::ListPlaybackKeyPairsResponse
294
326
 
295
- ListRecordingConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
296
327
  ListRecordingConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxRecordingConfigurationResults, location_name: "maxResults"))
328
+ ListRecordingConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
297
329
  ListRecordingConfigurationsRequest.struct_class = Types::ListRecordingConfigurationsRequest
298
330
 
299
- ListRecordingConfigurationsResponse.add_member(:recording_configurations, Shapes::ShapeRef.new(shape: RecordingConfigurationList, required: true, location_name: "recordingConfigurations"))
300
331
  ListRecordingConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
332
+ ListRecordingConfigurationsResponse.add_member(:recording_configurations, Shapes::ShapeRef.new(shape: RecordingConfigurationList, required: true, location_name: "recordingConfigurations"))
301
333
  ListRecordingConfigurationsResponse.struct_class = Types::ListRecordingConfigurationsResponse
302
334
 
303
335
  ListStreamKeysRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
304
- ListStreamKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
305
336
  ListStreamKeysRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxStreamKeyResults, location_name: "maxResults"))
337
+ ListStreamKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
306
338
  ListStreamKeysRequest.struct_class = Types::ListStreamKeysRequest
307
339
 
308
- ListStreamKeysResponse.add_member(:stream_keys, Shapes::ShapeRef.new(shape: StreamKeyList, required: true, location_name: "streamKeys"))
309
340
  ListStreamKeysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
341
+ ListStreamKeysResponse.add_member(:stream_keys, Shapes::ShapeRef.new(shape: StreamKeyList, required: true, location_name: "streamKeys"))
310
342
  ListStreamKeysResponse.struct_class = Types::ListStreamKeysResponse
311
343
 
312
- ListStreamsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
344
+ ListStreamSessionsRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
345
+ ListStreamSessionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxStreamResults, location_name: "maxResults"))
346
+ ListStreamSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
347
+ ListStreamSessionsRequest.struct_class = Types::ListStreamSessionsRequest
348
+
349
+ ListStreamSessionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
350
+ ListStreamSessionsResponse.add_member(:stream_sessions, Shapes::ShapeRef.new(shape: StreamSessionList, required: true, location_name: "streamSessions"))
351
+ ListStreamSessionsResponse.struct_class = Types::ListStreamSessionsResponse
352
+
353
+ ListStreamsRequest.add_member(:filter_by, Shapes::ShapeRef.new(shape: StreamFilters, location_name: "filterBy"))
313
354
  ListStreamsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxStreamResults, location_name: "maxResults"))
355
+ ListStreamsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
314
356
  ListStreamsRequest.struct_class = Types::ListStreamsRequest
315
357
 
316
- ListStreamsResponse.add_member(:streams, Shapes::ShapeRef.new(shape: StreamList, required: true, location_name: "streams"))
317
358
  ListStreamsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
359
+ ListStreamsResponse.add_member(:streams, Shapes::ShapeRef.new(shape: StreamList, required: true, location_name: "streams"))
318
360
  ListStreamsResponse.struct_class = Types::ListStreamsResponse
319
361
 
320
362
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
321
- ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
322
- ListTagsForResourceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxTagResults, location_name: "maxResults"))
323
363
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
324
364
 
325
365
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
326
- ListTagsForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
327
366
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
328
367
 
329
368
  PendingVerification.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
330
369
  PendingVerification.struct_class = Types::PendingVerification
331
370
 
332
371
  PlaybackKeyPair.add_member(:arn, Shapes::ShapeRef.new(shape: PlaybackKeyPairArn, location_name: "arn"))
333
- PlaybackKeyPair.add_member(:name, Shapes::ShapeRef.new(shape: PlaybackKeyPairName, location_name: "name"))
334
372
  PlaybackKeyPair.add_member(:fingerprint, Shapes::ShapeRef.new(shape: PlaybackKeyPairFingerprint, location_name: "fingerprint"))
373
+ PlaybackKeyPair.add_member(:name, Shapes::ShapeRef.new(shape: PlaybackKeyPairName, location_name: "name"))
335
374
  PlaybackKeyPair.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
336
375
  PlaybackKeyPair.struct_class = Types::PlaybackKeyPair
337
376
 
@@ -347,8 +386,8 @@ module Aws::IVS
347
386
  PutMetadataRequest.struct_class = Types::PutMetadataRequest
348
387
 
349
388
  RecordingConfiguration.add_member(:arn, Shapes::ShapeRef.new(shape: RecordingConfigurationArn, required: true, location_name: "arn"))
350
- RecordingConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: RecordingConfigurationName, location_name: "name"))
351
389
  RecordingConfiguration.add_member(:destination_configuration, Shapes::ShapeRef.new(shape: DestinationConfiguration, required: true, location_name: "destinationConfiguration"))
390
+ RecordingConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: RecordingConfigurationName, location_name: "name"))
352
391
  RecordingConfiguration.add_member(:state, Shapes::ShapeRef.new(shape: RecordingConfigurationState, required: true, location_name: "state"))
353
392
  RecordingConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
354
393
  RecordingConfiguration.struct_class = Types::RecordingConfiguration
@@ -356,8 +395,8 @@ module Aws::IVS
356
395
  RecordingConfigurationList.member = Shapes::ShapeRef.new(shape: RecordingConfigurationSummary)
357
396
 
358
397
  RecordingConfigurationSummary.add_member(:arn, Shapes::ShapeRef.new(shape: RecordingConfigurationArn, required: true, location_name: "arn"))
359
- RecordingConfigurationSummary.add_member(:name, Shapes::ShapeRef.new(shape: RecordingConfigurationName, location_name: "name"))
360
398
  RecordingConfigurationSummary.add_member(:destination_configuration, Shapes::ShapeRef.new(shape: DestinationConfiguration, required: true, location_name: "destinationConfiguration"))
399
+ RecordingConfigurationSummary.add_member(:name, Shapes::ShapeRef.new(shape: RecordingConfigurationName, location_name: "name"))
361
400
  RecordingConfigurationSummary.add_member(:state, Shapes::ShapeRef.new(shape: RecordingConfigurationState, required: true, location_name: "state"))
362
401
  RecordingConfigurationSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
363
402
  RecordingConfigurationSummary.struct_class = Types::RecordingConfigurationSummary
@@ -377,17 +416,28 @@ module Aws::IVS
377
416
  StopStreamResponse.struct_class = Types::StopStreamResponse
378
417
 
379
418
  Stream.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "channelArn"))
419
+ Stream.add_member(:health, Shapes::ShapeRef.new(shape: StreamHealth, location_name: "health"))
380
420
  Stream.add_member(:playback_url, Shapes::ShapeRef.new(shape: PlaybackURL, location_name: "playbackUrl"))
381
421
  Stream.add_member(:start_time, Shapes::ShapeRef.new(shape: StreamStartTime, location_name: "startTime"))
382
422
  Stream.add_member(:state, Shapes::ShapeRef.new(shape: StreamState, location_name: "state"))
383
- Stream.add_member(:health, Shapes::ShapeRef.new(shape: StreamHealth, location_name: "health"))
423
+ Stream.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, location_name: "streamId"))
384
424
  Stream.add_member(:viewer_count, Shapes::ShapeRef.new(shape: StreamViewerCount, location_name: "viewerCount"))
385
425
  Stream.struct_class = Types::Stream
386
426
 
427
+ StreamEvent.add_member(:event_time, Shapes::ShapeRef.new(shape: Time, location_name: "eventTime"))
428
+ StreamEvent.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
429
+ StreamEvent.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
430
+ StreamEvent.struct_class = Types::StreamEvent
431
+
432
+ StreamEvents.member = Shapes::ShapeRef.new(shape: StreamEvent)
433
+
434
+ StreamFilters.add_member(:health, Shapes::ShapeRef.new(shape: StreamHealth, location_name: "health"))
435
+ StreamFilters.struct_class = Types::StreamFilters
436
+
387
437
  StreamKey.add_member(:arn, Shapes::ShapeRef.new(shape: StreamKeyArn, location_name: "arn"))
388
- StreamKey.add_member(:value, Shapes::ShapeRef.new(shape: StreamKeyValue, location_name: "value"))
389
438
  StreamKey.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "channelArn"))
390
439
  StreamKey.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
440
+ StreamKey.add_member(:value, Shapes::ShapeRef.new(shape: StreamKeyValue, location_name: "value"))
391
441
  StreamKey.struct_class = Types::StreamKey
392
442
 
393
443
  StreamKeyArnList.member = Shapes::ShapeRef.new(shape: StreamKeyArn)
@@ -403,11 +453,29 @@ module Aws::IVS
403
453
 
404
454
  StreamList.member = Shapes::ShapeRef.new(shape: StreamSummary)
405
455
 
456
+ StreamSession.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "channel"))
457
+ StreamSession.add_member(:end_time, Shapes::ShapeRef.new(shape: Time, location_name: "endTime"))
458
+ StreamSession.add_member(:ingest_configuration, Shapes::ShapeRef.new(shape: IngestConfiguration, location_name: "ingestConfiguration"))
459
+ StreamSession.add_member(:recording_configuration, Shapes::ShapeRef.new(shape: RecordingConfiguration, location_name: "recordingConfiguration"))
460
+ StreamSession.add_member(:start_time, Shapes::ShapeRef.new(shape: Time, location_name: "startTime"))
461
+ StreamSession.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, location_name: "streamId"))
462
+ StreamSession.add_member(:truncated_events, Shapes::ShapeRef.new(shape: StreamEvents, location_name: "truncatedEvents"))
463
+ StreamSession.struct_class = Types::StreamSession
464
+
465
+ StreamSessionList.member = Shapes::ShapeRef.new(shape: StreamSessionSummary)
466
+
467
+ StreamSessionSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Time, location_name: "endTime"))
468
+ StreamSessionSummary.add_member(:has_error_event, Shapes::ShapeRef.new(shape: Boolean, location_name: "hasErrorEvent"))
469
+ StreamSessionSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Time, location_name: "startTime"))
470
+ StreamSessionSummary.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, location_name: "streamId"))
471
+ StreamSessionSummary.struct_class = Types::StreamSessionSummary
472
+
406
473
  StreamSummary.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, location_name: "channelArn"))
407
- StreamSummary.add_member(:state, Shapes::ShapeRef.new(shape: StreamState, location_name: "state"))
408
474
  StreamSummary.add_member(:health, Shapes::ShapeRef.new(shape: StreamHealth, location_name: "health"))
409
- StreamSummary.add_member(:viewer_count, Shapes::ShapeRef.new(shape: StreamViewerCount, location_name: "viewerCount"))
410
475
  StreamSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: StreamStartTime, location_name: "startTime"))
476
+ StreamSummary.add_member(:state, Shapes::ShapeRef.new(shape: StreamState, location_name: "state"))
477
+ StreamSummary.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, location_name: "streamId"))
478
+ StreamSummary.add_member(:viewer_count, Shapes::ShapeRef.new(shape: StreamViewerCount, location_name: "viewerCount"))
411
479
  StreamSummary.struct_class = Types::StreamSummary
412
480
 
413
481
  StreamUnavailable.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
@@ -434,11 +502,11 @@ module Aws::IVS
434
502
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
435
503
 
436
504
  UpdateChannelRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "arn"))
437
- UpdateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
438
- UpdateChannelRequest.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
439
- UpdateChannelRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "type"))
440
505
  UpdateChannelRequest.add_member(:authorized, Shapes::ShapeRef.new(shape: Boolean, location_name: "authorized"))
506
+ UpdateChannelRequest.add_member(:latency_mode, Shapes::ShapeRef.new(shape: ChannelLatencyMode, location_name: "latencyMode"))
507
+ UpdateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "name"))
441
508
  UpdateChannelRequest.add_member(:recording_configuration_arn, Shapes::ShapeRef.new(shape: ChannelRecordingConfigurationArn, location_name: "recordingConfigurationArn"))
509
+ UpdateChannelRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "type"))
442
510
  UpdateChannelRequest.struct_class = Types::UpdateChannelRequest
443
511
 
444
512
  UpdateChannelResponse.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "channel"))
@@ -447,6 +515,16 @@ module Aws::IVS
447
515
  ValidationException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage"))
448
516
  ValidationException.struct_class = Types::ValidationException
449
517
 
518
+ VideoConfiguration.add_member(:avc_level, Shapes::ShapeRef.new(shape: String, location_name: "avcLevel"))
519
+ VideoConfiguration.add_member(:avc_profile, Shapes::ShapeRef.new(shape: String, location_name: "avcProfile"))
520
+ VideoConfiguration.add_member(:codec, Shapes::ShapeRef.new(shape: String, location_name: "codec"))
521
+ VideoConfiguration.add_member(:encoder, Shapes::ShapeRef.new(shape: String, location_name: "encoder"))
522
+ VideoConfiguration.add_member(:target_bitrate, Shapes::ShapeRef.new(shape: Integer, location_name: "targetBitrate"))
523
+ VideoConfiguration.add_member(:target_framerate, Shapes::ShapeRef.new(shape: Integer, location_name: "targetFramerate"))
524
+ VideoConfiguration.add_member(:video_height, Shapes::ShapeRef.new(shape: Integer, location_name: "videoHeight"))
525
+ VideoConfiguration.add_member(:video_width, Shapes::ShapeRef.new(shape: Integer, location_name: "videoWidth"))
526
+ VideoConfiguration.struct_class = Types::VideoConfiguration
527
+
450
528
 
451
529
  # @api private
452
530
  API = Seahorse::Model::Api.new.tap do |api|
@@ -456,6 +534,7 @@ module Aws::IVS
456
534
  api.metadata = {
457
535
  "apiVersion" => "2020-07-14",
458
536
  "endpointPrefix" => "ivs",
537
+ "jsonVersion" => "1.1",
459
538
  "protocol" => "rest-json",
460
539
  "serviceAbbreviation" => "Amazon IVS",
461
540
  "serviceFullName" => "Amazon Interactive Video Service",
@@ -487,11 +566,11 @@ module Aws::IVS
487
566
  o.http_request_uri = "/CreateChannel"
488
567
  o.input = Shapes::ShapeRef.new(shape: CreateChannelRequest)
489
568
  o.output = Shapes::ShapeRef.new(shape: CreateChannelResponse)
490
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
491
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
492
569
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
493
- o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
570
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
571
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
494
572
  o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
573
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
495
574
  end)
496
575
 
497
576
  api.add_operation(:create_recording_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -500,12 +579,12 @@ module Aws::IVS
500
579
  o.http_request_uri = "/CreateRecordingConfiguration"
501
580
  o.input = Shapes::ShapeRef.new(shape: CreateRecordingConfigurationRequest)
502
581
  o.output = Shapes::ShapeRef.new(shape: CreateRecordingConfigurationResponse)
503
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
504
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
505
582
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
583
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
584
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
506
585
  o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
586
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
507
587
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
508
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
509
588
  end)
510
589
 
511
590
  api.add_operation(:create_stream_key, Seahorse::Model::Operation.new.tap do |o|
@@ -514,11 +593,11 @@ module Aws::IVS
514
593
  o.http_request_uri = "/CreateStreamKey"
515
594
  o.input = Shapes::ShapeRef.new(shape: CreateStreamKeyRequest)
516
595
  o.output = Shapes::ShapeRef.new(shape: CreateStreamKeyResponse)
517
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
518
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
519
596
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
520
- o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
597
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
598
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
521
599
  o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
600
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
522
601
  end)
523
602
 
524
603
  api.add_operation(:delete_channel, Seahorse::Model::Operation.new.tap do |o|
@@ -527,11 +606,11 @@ module Aws::IVS
527
606
  o.http_request_uri = "/DeleteChannel"
528
607
  o.input = Shapes::ShapeRef.new(shape: DeleteChannelRequest)
529
608
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
530
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
531
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
532
609
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
533
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
610
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
611
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
534
612
  o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
613
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
535
614
  end)
536
615
 
537
616
  api.add_operation(:delete_playback_key_pair, Seahorse::Model::Operation.new.tap do |o|
@@ -540,9 +619,9 @@ module Aws::IVS
540
619
  o.http_request_uri = "/DeletePlaybackKeyPair"
541
620
  o.input = Shapes::ShapeRef.new(shape: DeletePlaybackKeyPairRequest)
542
621
  o.output = Shapes::ShapeRef.new(shape: DeletePlaybackKeyPairResponse)
543
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
544
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
545
622
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
623
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
624
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
546
625
  o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
547
626
  end)
548
627
 
@@ -552,11 +631,11 @@ module Aws::IVS
552
631
  o.http_request_uri = "/DeleteRecordingConfiguration"
553
632
  o.input = Shapes::ShapeRef.new(shape: DeleteRecordingConfigurationRequest)
554
633
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
555
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
556
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
557
- o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
558
634
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
635
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
636
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
559
637
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
638
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
560
639
  end)
561
640
 
562
641
  api.add_operation(:delete_stream_key, Seahorse::Model::Operation.new.tap do |o|
@@ -565,9 +644,9 @@ module Aws::IVS
565
644
  o.http_request_uri = "/DeleteStreamKey"
566
645
  o.input = Shapes::ShapeRef.new(shape: DeleteStreamKeyRequest)
567
646
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
568
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
569
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
570
647
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
648
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
649
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
571
650
  o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
572
651
  end)
573
652
 
@@ -577,9 +656,9 @@ module Aws::IVS
577
656
  o.http_request_uri = "/GetChannel"
578
657
  o.input = Shapes::ShapeRef.new(shape: GetChannelRequest)
579
658
  o.output = Shapes::ShapeRef.new(shape: GetChannelResponse)
580
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
581
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
582
659
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
660
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
661
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
583
662
  end)
584
663
 
585
664
  api.add_operation(:get_playback_key_pair, Seahorse::Model::Operation.new.tap do |o|
@@ -588,9 +667,9 @@ module Aws::IVS
588
667
  o.http_request_uri = "/GetPlaybackKeyPair"
589
668
  o.input = Shapes::ShapeRef.new(shape: GetPlaybackKeyPairRequest)
590
669
  o.output = Shapes::ShapeRef.new(shape: GetPlaybackKeyPairResponse)
591
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
592
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
593
670
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
671
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
672
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
594
673
  end)
595
674
 
596
675
  api.add_operation(:get_recording_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -599,9 +678,9 @@ module Aws::IVS
599
678
  o.http_request_uri = "/GetRecordingConfiguration"
600
679
  o.input = Shapes::ShapeRef.new(shape: GetRecordingConfigurationRequest)
601
680
  o.output = Shapes::ShapeRef.new(shape: GetRecordingConfigurationResponse)
602
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
603
- o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
604
681
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
682
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
683
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
605
684
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
606
685
  end)
607
686
 
@@ -612,8 +691,8 @@ module Aws::IVS
612
691
  o.input = Shapes::ShapeRef.new(shape: GetStreamRequest)
613
692
  o.output = Shapes::ShapeRef.new(shape: GetStreamResponse)
614
693
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
615
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
616
694
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
695
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
617
696
  o.errors << Shapes::ShapeRef.new(shape: ChannelNotBroadcasting)
618
697
  end)
619
698
 
@@ -623,9 +702,20 @@ module Aws::IVS
623
702
  o.http_request_uri = "/GetStreamKey"
624
703
  o.input = Shapes::ShapeRef.new(shape: GetStreamKeyRequest)
625
704
  o.output = Shapes::ShapeRef.new(shape: GetStreamKeyResponse)
626
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
705
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
627
706
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
707
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
708
+ end)
709
+
710
+ api.add_operation(:get_stream_session, Seahorse::Model::Operation.new.tap do |o|
711
+ o.name = "GetStreamSession"
712
+ o.http_method = "POST"
713
+ o.http_request_uri = "/GetStreamSession"
714
+ o.input = Shapes::ShapeRef.new(shape: GetStreamSessionRequest)
715
+ o.output = Shapes::ShapeRef.new(shape: GetStreamSessionResponse)
628
716
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
717
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
718
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
629
719
  end)
630
720
 
631
721
  api.add_operation(:import_playback_key_pair, Seahorse::Model::Operation.new.tap do |o|
@@ -634,11 +724,11 @@ module Aws::IVS
634
724
  o.http_request_uri = "/ImportPlaybackKeyPair"
635
725
  o.input = Shapes::ShapeRef.new(shape: ImportPlaybackKeyPairRequest)
636
726
  o.output = Shapes::ShapeRef.new(shape: ImportPlaybackKeyPairResponse)
727
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
637
728
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
729
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
638
730
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
639
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
640
731
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
641
- o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
642
732
  end)
643
733
 
644
734
  api.add_operation(:list_channels, Seahorse::Model::Operation.new.tap do |o|
@@ -647,8 +737,8 @@ module Aws::IVS
647
737
  o.http_request_uri = "/ListChannels"
648
738
  o.input = Shapes::ShapeRef.new(shape: ListChannelsRequest)
649
739
  o.output = Shapes::ShapeRef.new(shape: ListChannelsResponse)
650
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
651
740
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
741
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
652
742
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
653
743
  o[:pager] = Aws::Pager.new(
654
744
  limit_key: "max_results",
@@ -664,8 +754,8 @@ module Aws::IVS
664
754
  o.http_request_uri = "/ListPlaybackKeyPairs"
665
755
  o.input = Shapes::ShapeRef.new(shape: ListPlaybackKeyPairsRequest)
666
756
  o.output = Shapes::ShapeRef.new(shape: ListPlaybackKeyPairsResponse)
667
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
668
757
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
758
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
669
759
  o[:pager] = Aws::Pager.new(
670
760
  limit_key: "max_results",
671
761
  tokens: {
@@ -680,8 +770,8 @@ module Aws::IVS
680
770
  o.http_request_uri = "/ListRecordingConfigurations"
681
771
  o.input = Shapes::ShapeRef.new(shape: ListRecordingConfigurationsRequest)
682
772
  o.output = Shapes::ShapeRef.new(shape: ListRecordingConfigurationsResponse)
683
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
684
773
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
774
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
685
775
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
686
776
  o[:pager] = Aws::Pager.new(
687
777
  limit_key: "max_results",
@@ -697,9 +787,26 @@ module Aws::IVS
697
787
  o.http_request_uri = "/ListStreamKeys"
698
788
  o.input = Shapes::ShapeRef.new(shape: ListStreamKeysRequest)
699
789
  o.output = Shapes::ShapeRef.new(shape: ListStreamKeysResponse)
700
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
790
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
701
791
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
792
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
793
+ o[:pager] = Aws::Pager.new(
794
+ limit_key: "max_results",
795
+ tokens: {
796
+ "next_token" => "next_token"
797
+ }
798
+ )
799
+ end)
800
+
801
+ api.add_operation(:list_stream_sessions, Seahorse::Model::Operation.new.tap do |o|
802
+ o.name = "ListStreamSessions"
803
+ o.http_method = "POST"
804
+ o.http_request_uri = "/ListStreamSessions"
805
+ o.input = Shapes::ShapeRef.new(shape: ListStreamSessionsRequest)
806
+ o.output = Shapes::ShapeRef.new(shape: ListStreamSessionsResponse)
702
807
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
808
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
809
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
703
810
  o[:pager] = Aws::Pager.new(
704
811
  limit_key: "max_results",
705
812
  tokens: {
@@ -729,15 +836,9 @@ module Aws::IVS
729
836
  o.http_request_uri = "/tags/{resourceArn}"
730
837
  o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
731
838
  o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
839
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
732
840
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
733
841
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
734
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
735
- o[:pager] = Aws::Pager.new(
736
- limit_key: "max_results",
737
- tokens: {
738
- "next_token" => "next_token"
739
- }
740
- )
741
842
  end)
742
843
 
743
844
  api.add_operation(:put_metadata, Seahorse::Model::Operation.new.tap do |o|
@@ -746,11 +847,11 @@ module Aws::IVS
746
847
  o.http_request_uri = "/PutMetadata"
747
848
  o.input = Shapes::ShapeRef.new(shape: PutMetadataRequest)
748
849
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
749
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
750
850
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
751
- o.errors << Shapes::ShapeRef.new(shape: ChannelNotBroadcasting)
752
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
753
851
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
852
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
853
+ o.errors << Shapes::ShapeRef.new(shape: ChannelNotBroadcasting)
854
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
754
855
  end)
755
856
 
756
857
  api.add_operation(:stop_stream, Seahorse::Model::Operation.new.tap do |o|
@@ -760,9 +861,9 @@ module Aws::IVS
760
861
  o.input = Shapes::ShapeRef.new(shape: StopStreamRequest)
761
862
  o.output = Shapes::ShapeRef.new(shape: StopStreamResponse)
762
863
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
763
- o.errors << Shapes::ShapeRef.new(shape: ChannelNotBroadcasting)
764
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
765
864
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
865
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
866
+ o.errors << Shapes::ShapeRef.new(shape: ChannelNotBroadcasting)
766
867
  o.errors << Shapes::ShapeRef.new(shape: StreamUnavailable)
767
868
  end)
768
869
 
@@ -772,9 +873,9 @@ module Aws::IVS
772
873
  o.http_request_uri = "/tags/{resourceArn}"
773
874
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
774
875
  o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
876
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
775
877
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
776
878
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
777
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
778
879
  end)
779
880
 
780
881
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -783,9 +884,9 @@ module Aws::IVS
783
884
  o.http_request_uri = "/tags/{resourceArn}"
784
885
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
785
886
  o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
887
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
786
888
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
787
889
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
788
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
789
890
  end)
790
891
 
791
892
  api.add_operation(:update_channel, Seahorse::Model::Operation.new.tap do |o|
@@ -794,11 +895,11 @@ module Aws::IVS
794
895
  o.http_request_uri = "/UpdateChannel"
795
896
  o.input = Shapes::ShapeRef.new(shape: UpdateChannelRequest)
796
897
  o.output = Shapes::ShapeRef.new(shape: UpdateChannelResponse)
797
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
798
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
799
898
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
800
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
899
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
900
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
801
901
  o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
902
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
802
903
  end)
803
904
  end
804
905