aws-sdk-kinesisvideo 1.0.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.
@@ -0,0 +1,316 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::KinesisVideo
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ APIName = Shapes::StringShape.new(name: 'APIName')
15
+ AccountStreamLimitExceededException = Shapes::StructureShape.new(name: 'AccountStreamLimitExceededException')
16
+ ClientLimitExceededException = Shapes::StructureShape.new(name: 'ClientLimitExceededException')
17
+ ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
18
+ CreateStreamInput = Shapes::StructureShape.new(name: 'CreateStreamInput')
19
+ CreateStreamOutput = Shapes::StructureShape.new(name: 'CreateStreamOutput')
20
+ DataEndpoint = Shapes::StringShape.new(name: 'DataEndpoint')
21
+ DataRetentionChangeInHours = Shapes::IntegerShape.new(name: 'DataRetentionChangeInHours')
22
+ DataRetentionInHours = Shapes::IntegerShape.new(name: 'DataRetentionInHours')
23
+ DeleteStreamInput = Shapes::StructureShape.new(name: 'DeleteStreamInput')
24
+ DeleteStreamOutput = Shapes::StructureShape.new(name: 'DeleteStreamOutput')
25
+ DescribeStreamInput = Shapes::StructureShape.new(name: 'DescribeStreamInput')
26
+ DescribeStreamOutput = Shapes::StructureShape.new(name: 'DescribeStreamOutput')
27
+ DeviceName = Shapes::StringShape.new(name: 'DeviceName')
28
+ DeviceStreamLimitExceededException = Shapes::StructureShape.new(name: 'DeviceStreamLimitExceededException')
29
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
30
+ GetDataEndpointInput = Shapes::StructureShape.new(name: 'GetDataEndpointInput')
31
+ GetDataEndpointOutput = Shapes::StructureShape.new(name: 'GetDataEndpointOutput')
32
+ InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException')
33
+ InvalidDeviceException = Shapes::StructureShape.new(name: 'InvalidDeviceException')
34
+ InvalidResourceFormatException = Shapes::StructureShape.new(name: 'InvalidResourceFormatException')
35
+ KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
36
+ ListStreamsInput = Shapes::StructureShape.new(name: 'ListStreamsInput')
37
+ ListStreamsInputLimit = Shapes::IntegerShape.new(name: 'ListStreamsInputLimit')
38
+ ListStreamsOutput = Shapes::StructureShape.new(name: 'ListStreamsOutput')
39
+ ListTagsForStreamInput = Shapes::StructureShape.new(name: 'ListTagsForStreamInput')
40
+ ListTagsForStreamOutput = Shapes::StructureShape.new(name: 'ListTagsForStreamOutput')
41
+ MediaType = Shapes::StringShape.new(name: 'MediaType')
42
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
43
+ NotAuthorizedException = Shapes::StructureShape.new(name: 'NotAuthorizedException')
44
+ ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
45
+ ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
46
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
47
+ ResourceTags = Shapes::MapShape.new(name: 'ResourceTags')
48
+ Status = Shapes::StringShape.new(name: 'Status')
49
+ StreamInfo = Shapes::StructureShape.new(name: 'StreamInfo')
50
+ StreamInfoList = Shapes::ListShape.new(name: 'StreamInfoList')
51
+ StreamName = Shapes::StringShape.new(name: 'StreamName')
52
+ StreamNameCondition = Shapes::StructureShape.new(name: 'StreamNameCondition')
53
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
54
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
55
+ TagStreamInput = Shapes::StructureShape.new(name: 'TagStreamInput')
56
+ TagStreamOutput = Shapes::StructureShape.new(name: 'TagStreamOutput')
57
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
58
+ TagsPerResourceExceededLimitException = Shapes::StructureShape.new(name: 'TagsPerResourceExceededLimitException')
59
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
60
+ UntagStreamInput = Shapes::StructureShape.new(name: 'UntagStreamInput')
61
+ UntagStreamOutput = Shapes::StructureShape.new(name: 'UntagStreamOutput')
62
+ UpdateDataRetentionInput = Shapes::StructureShape.new(name: 'UpdateDataRetentionInput')
63
+ UpdateDataRetentionOperation = Shapes::StringShape.new(name: 'UpdateDataRetentionOperation')
64
+ UpdateDataRetentionOutput = Shapes::StructureShape.new(name: 'UpdateDataRetentionOutput')
65
+ UpdateStreamInput = Shapes::StructureShape.new(name: 'UpdateStreamInput')
66
+ UpdateStreamOutput = Shapes::StructureShape.new(name: 'UpdateStreamOutput')
67
+ Version = Shapes::StringShape.new(name: 'Version')
68
+ VersionMismatchException = Shapes::StructureShape.new(name: 'VersionMismatchException')
69
+
70
+ CreateStreamInput.add_member(:device_name, Shapes::ShapeRef.new(shape: DeviceName, location_name: "DeviceName"))
71
+ CreateStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
72
+ CreateStreamInput.add_member(:media_type, Shapes::ShapeRef.new(shape: MediaType, location_name: "MediaType"))
73
+ CreateStreamInput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
74
+ CreateStreamInput.add_member(:data_retention_in_hours, Shapes::ShapeRef.new(shape: DataRetentionInHours, location_name: "DataRetentionInHours"))
75
+ CreateStreamInput.struct_class = Types::CreateStreamInput
76
+
77
+ CreateStreamOutput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
78
+ CreateStreamOutput.struct_class = Types::CreateStreamOutput
79
+
80
+ DeleteStreamInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "StreamARN"))
81
+ DeleteStreamInput.add_member(:current_version, Shapes::ShapeRef.new(shape: Version, location_name: "CurrentVersion"))
82
+ DeleteStreamInput.struct_class = Types::DeleteStreamInput
83
+
84
+ DeleteStreamOutput.struct_class = Types::DeleteStreamOutput
85
+
86
+ DescribeStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
87
+ DescribeStreamInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
88
+ DescribeStreamInput.struct_class = Types::DescribeStreamInput
89
+
90
+ DescribeStreamOutput.add_member(:stream_info, Shapes::ShapeRef.new(shape: StreamInfo, location_name: "StreamInfo"))
91
+ DescribeStreamOutput.struct_class = Types::DescribeStreamOutput
92
+
93
+ GetDataEndpointInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
94
+ GetDataEndpointInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
95
+ GetDataEndpointInput.add_member(:api_name, Shapes::ShapeRef.new(shape: APIName, required: true, location_name: "APIName"))
96
+ GetDataEndpointInput.struct_class = Types::GetDataEndpointInput
97
+
98
+ GetDataEndpointOutput.add_member(:data_endpoint, Shapes::ShapeRef.new(shape: DataEndpoint, location_name: "DataEndpoint"))
99
+ GetDataEndpointOutput.struct_class = Types::GetDataEndpointOutput
100
+
101
+ ListStreamsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListStreamsInputLimit, location_name: "MaxResults"))
102
+ ListStreamsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
103
+ ListStreamsInput.add_member(:stream_name_condition, Shapes::ShapeRef.new(shape: StreamNameCondition, location_name: "StreamNameCondition"))
104
+ ListStreamsInput.struct_class = Types::ListStreamsInput
105
+
106
+ ListStreamsOutput.add_member(:stream_info_list, Shapes::ShapeRef.new(shape: StreamInfoList, location_name: "StreamInfoList"))
107
+ ListStreamsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
108
+ ListStreamsOutput.struct_class = Types::ListStreamsOutput
109
+
110
+ ListTagsForStreamInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
111
+ ListTagsForStreamInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
112
+ ListTagsForStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
113
+ ListTagsForStreamInput.struct_class = Types::ListTagsForStreamInput
114
+
115
+ ListTagsForStreamOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
116
+ ListTagsForStreamOutput.add_member(:tags, Shapes::ShapeRef.new(shape: ResourceTags, location_name: "Tags"))
117
+ ListTagsForStreamOutput.struct_class = Types::ListTagsForStreamOutput
118
+
119
+ ResourceTags.key = Shapes::ShapeRef.new(shape: TagKey)
120
+ ResourceTags.value = Shapes::ShapeRef.new(shape: TagValue)
121
+
122
+ StreamInfo.add_member(:device_name, Shapes::ShapeRef.new(shape: DeviceName, location_name: "DeviceName"))
123
+ StreamInfo.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
124
+ StreamInfo.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
125
+ StreamInfo.add_member(:media_type, Shapes::ShapeRef.new(shape: MediaType, location_name: "MediaType"))
126
+ StreamInfo.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
127
+ StreamInfo.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "Version"))
128
+ StreamInfo.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
129
+ StreamInfo.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
130
+ StreamInfo.add_member(:data_retention_in_hours, Shapes::ShapeRef.new(shape: DataRetentionInHours, location_name: "DataRetentionInHours"))
131
+ StreamInfo.struct_class = Types::StreamInfo
132
+
133
+ StreamInfoList.member = Shapes::ShapeRef.new(shape: StreamInfo)
134
+
135
+ StreamNameCondition.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: ComparisonOperator, location_name: "ComparisonOperator"))
136
+ StreamNameCondition.add_member(:comparison_value, Shapes::ShapeRef.new(shape: StreamName, location_name: "ComparisonValue"))
137
+ StreamNameCondition.struct_class = Types::StreamNameCondition
138
+
139
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
140
+
141
+ TagStreamInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
142
+ TagStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
143
+ TagStreamInput.add_member(:tags, Shapes::ShapeRef.new(shape: ResourceTags, required: true, location_name: "Tags"))
144
+ TagStreamInput.struct_class = Types::TagStreamInput
145
+
146
+ TagStreamOutput.struct_class = Types::TagStreamOutput
147
+
148
+ UntagStreamInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
149
+ UntagStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
150
+ UntagStreamInput.add_member(:tag_key_list, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeyList"))
151
+ UntagStreamInput.struct_class = Types::UntagStreamInput
152
+
153
+ UntagStreamOutput.struct_class = Types::UntagStreamOutput
154
+
155
+ UpdateDataRetentionInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
156
+ UpdateDataRetentionInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
157
+ UpdateDataRetentionInput.add_member(:current_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "CurrentVersion"))
158
+ UpdateDataRetentionInput.add_member(:operation, Shapes::ShapeRef.new(shape: UpdateDataRetentionOperation, required: true, location_name: "Operation"))
159
+ UpdateDataRetentionInput.add_member(:data_retention_change_in_hours, Shapes::ShapeRef.new(shape: DataRetentionChangeInHours, required: true, location_name: "DataRetentionChangeInHours"))
160
+ UpdateDataRetentionInput.struct_class = Types::UpdateDataRetentionInput
161
+
162
+ UpdateDataRetentionOutput.struct_class = Types::UpdateDataRetentionOutput
163
+
164
+ UpdateStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
165
+ UpdateStreamInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
166
+ UpdateStreamInput.add_member(:current_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "CurrentVersion"))
167
+ UpdateStreamInput.add_member(:device_name, Shapes::ShapeRef.new(shape: DeviceName, location_name: "DeviceName"))
168
+ UpdateStreamInput.add_member(:media_type, Shapes::ShapeRef.new(shape: MediaType, location_name: "MediaType"))
169
+ UpdateStreamInput.struct_class = Types::UpdateStreamInput
170
+
171
+ UpdateStreamOutput.struct_class = Types::UpdateStreamOutput
172
+
173
+
174
+ # @api private
175
+ API = Seahorse::Model::Api.new.tap do |api|
176
+
177
+ api.version = "2017-09-30"
178
+
179
+ api.metadata = {
180
+ "endpointPrefix" => "kinesisvideo",
181
+ "protocol" => "rest-json",
182
+ "serviceFullName" => "Amazon Kinesis Video Streams",
183
+ "signatureVersion" => "v4",
184
+ }
185
+
186
+ api.add_operation(:create_stream, Seahorse::Model::Operation.new.tap do |o|
187
+ o.name = "CreateStream"
188
+ o.http_method = "POST"
189
+ o.http_request_uri = "/createStream"
190
+ o.input = Shapes::ShapeRef.new(shape: CreateStreamInput)
191
+ o.output = Shapes::ShapeRef.new(shape: CreateStreamOutput)
192
+ o.errors << Shapes::ShapeRef.new(shape: AccountStreamLimitExceededException)
193
+ o.errors << Shapes::ShapeRef.new(shape: DeviceStreamLimitExceededException)
194
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
195
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDeviceException)
196
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
197
+ o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
198
+ end)
199
+
200
+ api.add_operation(:delete_stream, Seahorse::Model::Operation.new.tap do |o|
201
+ o.name = "DeleteStream"
202
+ o.http_method = "POST"
203
+ o.http_request_uri = "/deleteStream"
204
+ o.input = Shapes::ShapeRef.new(shape: DeleteStreamInput)
205
+ o.output = Shapes::ShapeRef.new(shape: DeleteStreamOutput)
206
+ o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
207
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
208
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
209
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
210
+ end)
211
+
212
+ api.add_operation(:describe_stream, Seahorse::Model::Operation.new.tap do |o|
213
+ o.name = "DescribeStream"
214
+ o.http_method = "POST"
215
+ o.http_request_uri = "/describeStream"
216
+ o.input = Shapes::ShapeRef.new(shape: DescribeStreamInput)
217
+ o.output = Shapes::ShapeRef.new(shape: DescribeStreamOutput)
218
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
219
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
220
+ o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
221
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
222
+ end)
223
+
224
+ api.add_operation(:get_data_endpoint, Seahorse::Model::Operation.new.tap do |o|
225
+ o.name = "GetDataEndpoint"
226
+ o.http_method = "POST"
227
+ o.http_request_uri = "/getDataEndpoint"
228
+ o.input = Shapes::ShapeRef.new(shape: GetDataEndpointInput)
229
+ o.output = Shapes::ShapeRef.new(shape: GetDataEndpointOutput)
230
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
231
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
232
+ o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
233
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
234
+ end)
235
+
236
+ api.add_operation(:list_streams, Seahorse::Model::Operation.new.tap do |o|
237
+ o.name = "ListStreams"
238
+ o.http_method = "POST"
239
+ o.http_request_uri = "/listStreams"
240
+ o.input = Shapes::ShapeRef.new(shape: ListStreamsInput)
241
+ o.output = Shapes::ShapeRef.new(shape: ListStreamsOutput)
242
+ o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
243
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
244
+ end)
245
+
246
+ api.add_operation(:list_tags_for_stream, Seahorse::Model::Operation.new.tap do |o|
247
+ o.name = "ListTagsForStream"
248
+ o.http_method = "POST"
249
+ o.http_request_uri = "/listTagsForStream"
250
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForStreamInput)
251
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForStreamOutput)
252
+ o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
253
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
254
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
255
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
256
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceFormatException)
257
+ end)
258
+
259
+ api.add_operation(:tag_stream, Seahorse::Model::Operation.new.tap do |o|
260
+ o.name = "TagStream"
261
+ o.http_method = "POST"
262
+ o.http_request_uri = "/tagStream"
263
+ o.input = Shapes::ShapeRef.new(shape: TagStreamInput)
264
+ o.output = Shapes::ShapeRef.new(shape: TagStreamOutput)
265
+ o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
266
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
267
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
268
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
269
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceFormatException)
270
+ o.errors << Shapes::ShapeRef.new(shape: TagsPerResourceExceededLimitException)
271
+ end)
272
+
273
+ api.add_operation(:untag_stream, Seahorse::Model::Operation.new.tap do |o|
274
+ o.name = "UntagStream"
275
+ o.http_method = "POST"
276
+ o.http_request_uri = "/untagStream"
277
+ o.input = Shapes::ShapeRef.new(shape: UntagStreamInput)
278
+ o.output = Shapes::ShapeRef.new(shape: UntagStreamOutput)
279
+ o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
280
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
281
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
282
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
283
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceFormatException)
284
+ end)
285
+
286
+ api.add_operation(:update_data_retention, Seahorse::Model::Operation.new.tap do |o|
287
+ o.name = "UpdateDataRetention"
288
+ o.http_method = "POST"
289
+ o.http_request_uri = "/updateDataRetention"
290
+ o.input = Shapes::ShapeRef.new(shape: UpdateDataRetentionInput)
291
+ o.output = Shapes::ShapeRef.new(shape: UpdateDataRetentionOutput)
292
+ o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
293
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
294
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
295
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
296
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
297
+ o.errors << Shapes::ShapeRef.new(shape: VersionMismatchException)
298
+ end)
299
+
300
+ api.add_operation(:update_stream, Seahorse::Model::Operation.new.tap do |o|
301
+ o.name = "UpdateStream"
302
+ o.http_method = "POST"
303
+ o.http_request_uri = "/updateStream"
304
+ o.input = Shapes::ShapeRef.new(shape: UpdateStreamInput)
305
+ o.output = Shapes::ShapeRef.new(shape: UpdateStreamOutput)
306
+ o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
307
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
308
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
309
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
310
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
311
+ o.errors << Shapes::ShapeRef.new(shape: VersionMismatchException)
312
+ end)
313
+ end
314
+
315
+ end
316
+ end
@@ -0,0 +1,14 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::KinesisVideo
9
+ module Errors
10
+
11
+ extend Aws::Errors::DynamicErrors
12
+
13
+ end
14
+ end
@@ -0,0 +1,23 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::KinesisVideo
9
+ class Resource
10
+
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
16
+
17
+ # @return [Client]
18
+ def client
19
+ @client
20
+ end
21
+
22
+ end
23
+ end
@@ -0,0 +1,604 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::KinesisVideo
9
+ module Types
10
+
11
+ # @note When making an API call, you may pass CreateStreamInput
12
+ # data as a hash:
13
+ #
14
+ # {
15
+ # device_name: "DeviceName",
16
+ # stream_name: "StreamName", # required
17
+ # media_type: "MediaType",
18
+ # kms_key_id: "KmsKeyId",
19
+ # data_retention_in_hours: 1,
20
+ # }
21
+ #
22
+ # @!attribute [rw] device_name
23
+ # The name of the device that is writing to the stream.
24
+ #
25
+ # <note markdown="1"> In the current implementation, Kinesis Video Streams does not use
26
+ # this name.
27
+ #
28
+ # </note>
29
+ # @return [String]
30
+ #
31
+ # @!attribute [rw] stream_name
32
+ # A name for the stream that you are creating.
33
+ #
34
+ # The stream name is an identifier for the stream, and must be unique
35
+ # for each account and region.
36
+ # @return [String]
37
+ #
38
+ # @!attribute [rw] media_type
39
+ # The media type of the stream. Consumers of the stream can use this
40
+ # information when processing the stream. For more information about
41
+ # media types, see [Media Types][1]. If you choose to specify the
42
+ # `MediaType`, see [Naming Requirements][2] for guidelines.
43
+ #
44
+ # To play video on the console, the media must be H.264 encoded, and
45
+ # you need to specify this video type in this parameter as
46
+ # `video/h264`.
47
+ #
48
+ # This parameter is optional; the default value is `null` (or empty in
49
+ # JSON).
50
+ #
51
+ #
52
+ #
53
+ # [1]: http://www.iana.org/assignments/media-types/media-types.xhtml
54
+ # [2]: https://tools.ietf.org/html/rfc6838#section-4.2
55
+ # @return [String]
56
+ #
57
+ # @!attribute [rw] kms_key_id
58
+ # The ID of the AWS Key Management Service (AWS KMS) key that you want
59
+ # Kinesis Video Streams to use to encrypt stream data.
60
+ #
61
+ # If no key ID is specified, the default, Kinesis Video-managed key
62
+ # (`aws/kinesisvideo`) is used.
63
+ #
64
+ # For more information, see [DescribeKey][1].
65
+ #
66
+ #
67
+ #
68
+ # [1]: http://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
69
+ # @return [String]
70
+ #
71
+ # @!attribute [rw] data_retention_in_hours
72
+ # The number of hours that you want to retain the data in the stream.
73
+ # Kinesis Video Streams retains the data in a data store that is
74
+ # associated with the stream.
75
+ #
76
+ # The default value is 0, indicating that the stream does not persist
77
+ # data.
78
+ # @return [Integer]
79
+ #
80
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/CreateStreamInput AWS API Documentation
81
+ #
82
+ class CreateStreamInput < Struct.new(
83
+ :device_name,
84
+ :stream_name,
85
+ :media_type,
86
+ :kms_key_id,
87
+ :data_retention_in_hours)
88
+ include Aws::Structure
89
+ end
90
+
91
+ # @!attribute [rw] stream_arn
92
+ # The Amazon Resource Name (ARN) of the stream.
93
+ # @return [String]
94
+ #
95
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/CreateStreamOutput AWS API Documentation
96
+ #
97
+ class CreateStreamOutput < Struct.new(
98
+ :stream_arn)
99
+ include Aws::Structure
100
+ end
101
+
102
+ # @note When making an API call, you may pass DeleteStreamInput
103
+ # data as a hash:
104
+ #
105
+ # {
106
+ # stream_arn: "ResourceARN", # required
107
+ # current_version: "Version",
108
+ # }
109
+ #
110
+ # @!attribute [rw] stream_arn
111
+ # The Amazon Resource Name (ARN) of the stream that you want to
112
+ # delete.
113
+ # @return [String]
114
+ #
115
+ # @!attribute [rw] current_version
116
+ # Optional: The version of the stream that you want to delete.
117
+ #
118
+ # Specify the version as a safeguard to ensure that your are deleting
119
+ # the correct stream. To get the stream version, use the
120
+ # `DescribeStream` API.
121
+ #
122
+ # If not specified, only the `CreationTime` is checked before deleting
123
+ # the stream.
124
+ # @return [String]
125
+ #
126
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DeleteStreamInput AWS API Documentation
127
+ #
128
+ class DeleteStreamInput < Struct.new(
129
+ :stream_arn,
130
+ :current_version)
131
+ include Aws::Structure
132
+ end
133
+
134
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DeleteStreamOutput AWS API Documentation
135
+ #
136
+ class DeleteStreamOutput < Aws::EmptyStructure; end
137
+
138
+ # @note When making an API call, you may pass DescribeStreamInput
139
+ # data as a hash:
140
+ #
141
+ # {
142
+ # stream_name: "StreamName",
143
+ # stream_arn: "ResourceARN",
144
+ # }
145
+ #
146
+ # @!attribute [rw] stream_name
147
+ # The name of the stream.
148
+ # @return [String]
149
+ #
150
+ # @!attribute [rw] stream_arn
151
+ # The Amazon Resource Name (ARN) of the stream.
152
+ # @return [String]
153
+ #
154
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeStreamInput AWS API Documentation
155
+ #
156
+ class DescribeStreamInput < Struct.new(
157
+ :stream_name,
158
+ :stream_arn)
159
+ include Aws::Structure
160
+ end
161
+
162
+ # @!attribute [rw] stream_info
163
+ # An object that describes the stream.
164
+ # @return [Types::StreamInfo]
165
+ #
166
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeStreamOutput AWS API Documentation
167
+ #
168
+ class DescribeStreamOutput < Struct.new(
169
+ :stream_info)
170
+ include Aws::Structure
171
+ end
172
+
173
+ # @note When making an API call, you may pass GetDataEndpointInput
174
+ # data as a hash:
175
+ #
176
+ # {
177
+ # stream_name: "StreamName",
178
+ # stream_arn: "ResourceARN",
179
+ # api_name: "PUT_MEDIA", # required, accepts PUT_MEDIA, GET_MEDIA, LIST_FRAGMENTS, GET_MEDIA_FOR_FRAGMENT_LIST
180
+ # }
181
+ #
182
+ # @!attribute [rw] stream_name
183
+ # The name of the stream that you want to get the endpoint for. You
184
+ # must specify either this parameter or a `StreamARN` in the request.
185
+ # @return [String]
186
+ #
187
+ # @!attribute [rw] stream_arn
188
+ # The Amazon Resource Name (ARN) of the stream that you want to get
189
+ # the endpoint for. You must specify either this parameter or a
190
+ # `StreamName` in the request.
191
+ # @return [String]
192
+ #
193
+ # @!attribute [rw] api_name
194
+ # The name of the API action for which to get an endpoint.
195
+ # @return [String]
196
+ #
197
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/GetDataEndpointInput AWS API Documentation
198
+ #
199
+ class GetDataEndpointInput < Struct.new(
200
+ :stream_name,
201
+ :stream_arn,
202
+ :api_name)
203
+ include Aws::Structure
204
+ end
205
+
206
+ # @!attribute [rw] data_endpoint
207
+ # The endpoint value. To read data from the stream or to write data to
208
+ # it, specify this endpoint in your application.
209
+ # @return [String]
210
+ #
211
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/GetDataEndpointOutput AWS API Documentation
212
+ #
213
+ class GetDataEndpointOutput < Struct.new(
214
+ :data_endpoint)
215
+ include Aws::Structure
216
+ end
217
+
218
+ # @note When making an API call, you may pass ListStreamsInput
219
+ # data as a hash:
220
+ #
221
+ # {
222
+ # max_results: 1,
223
+ # next_token: "NextToken",
224
+ # stream_name_condition: {
225
+ # comparison_operator: "BEGINS_WITH", # accepts BEGINS_WITH
226
+ # comparison_value: "StreamName",
227
+ # },
228
+ # }
229
+ #
230
+ # @!attribute [rw] max_results
231
+ # The maximum number of streams to return in the response. The default
232
+ # is 10,000.
233
+ # @return [Integer]
234
+ #
235
+ # @!attribute [rw] next_token
236
+ # If you specify this parameter, when the result of a `ListStreams`
237
+ # operation is truncated, the call returns the `NextToken` in the
238
+ # response. To get another batch of streams, provide this token in
239
+ # your next request.
240
+ # @return [String]
241
+ #
242
+ # @!attribute [rw] stream_name_condition
243
+ # Optional: Returns only streams that satisfy a specific condition.
244
+ # Currently, you can specify only the prefix of a stream name as a
245
+ # condition.
246
+ # @return [Types::StreamNameCondition]
247
+ #
248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListStreamsInput AWS API Documentation
249
+ #
250
+ class ListStreamsInput < Struct.new(
251
+ :max_results,
252
+ :next_token,
253
+ :stream_name_condition)
254
+ include Aws::Structure
255
+ end
256
+
257
+ # @!attribute [rw] stream_info_list
258
+ # An array of `StreamInfo` objects.
259
+ # @return [Array<Types::StreamInfo>]
260
+ #
261
+ # @!attribute [rw] next_token
262
+ # If the response is truncated, the call returns this element with a
263
+ # token. To get the next batch of streams, use this token in your next
264
+ # request.
265
+ # @return [String]
266
+ #
267
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListStreamsOutput AWS API Documentation
268
+ #
269
+ class ListStreamsOutput < Struct.new(
270
+ :stream_info_list,
271
+ :next_token)
272
+ include Aws::Structure
273
+ end
274
+
275
+ # @note When making an API call, you may pass ListTagsForStreamInput
276
+ # data as a hash:
277
+ #
278
+ # {
279
+ # next_token: "NextToken",
280
+ # stream_arn: "ResourceARN",
281
+ # stream_name: "StreamName",
282
+ # }
283
+ #
284
+ # @!attribute [rw] next_token
285
+ # If you specify this parameter and the result of a
286
+ # `ListTagsForStream` call is truncated, the response includes a token
287
+ # that you can use in the next request to fetch the next batch of
288
+ # tags.
289
+ # @return [String]
290
+ #
291
+ # @!attribute [rw] stream_arn
292
+ # The Amazon Resource Name (ARN) of the stream that you want to list
293
+ # tags for.
294
+ # @return [String]
295
+ #
296
+ # @!attribute [rw] stream_name
297
+ # The name of the stream that you want to list tags for.
298
+ # @return [String]
299
+ #
300
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListTagsForStreamInput AWS API Documentation
301
+ #
302
+ class ListTagsForStreamInput < Struct.new(
303
+ :next_token,
304
+ :stream_arn,
305
+ :stream_name)
306
+ include Aws::Structure
307
+ end
308
+
309
+ # @!attribute [rw] next_token
310
+ # If you specify this parameter and the result of a `ListTags` call is
311
+ # truncated, the response includes a token that you can use in the
312
+ # next request to fetch the next set of tags.
313
+ # @return [String]
314
+ #
315
+ # @!attribute [rw] tags
316
+ # A map of tag keys and values associated with the specified stream.
317
+ # @return [Hash<String,String>]
318
+ #
319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListTagsForStreamOutput AWS API Documentation
320
+ #
321
+ class ListTagsForStreamOutput < Struct.new(
322
+ :next_token,
323
+ :tags)
324
+ include Aws::Structure
325
+ end
326
+
327
+ # An object describing a Kinesis video stream.
328
+ #
329
+ # @!attribute [rw] device_name
330
+ # The name of the device that is associated with the stream.
331
+ # @return [String]
332
+ #
333
+ # @!attribute [rw] stream_name
334
+ # The name of the stream.
335
+ # @return [String]
336
+ #
337
+ # @!attribute [rw] stream_arn
338
+ # The Amazon Resource Name (ARN) of the stream.
339
+ # @return [String]
340
+ #
341
+ # @!attribute [rw] media_type
342
+ # The `MediaType` of the stream.
343
+ # @return [String]
344
+ #
345
+ # @!attribute [rw] kms_key_id
346
+ # The ID of the AWS Key Management Service (AWS KMS) key that Kinesis
347
+ # Video Streams uses to encrypt data on the stream.
348
+ # @return [String]
349
+ #
350
+ # @!attribute [rw] version
351
+ # The version of the stream.
352
+ # @return [String]
353
+ #
354
+ # @!attribute [rw] status
355
+ # The status of the stream.
356
+ # @return [String]
357
+ #
358
+ # @!attribute [rw] creation_time
359
+ # A time stamp that indicates when the stream was created.
360
+ # @return [Time]
361
+ #
362
+ # @!attribute [rw] data_retention_in_hours
363
+ # How long the stream retains data, in hours.
364
+ # @return [Integer]
365
+ #
366
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/StreamInfo AWS API Documentation
367
+ #
368
+ class StreamInfo < Struct.new(
369
+ :device_name,
370
+ :stream_name,
371
+ :stream_arn,
372
+ :media_type,
373
+ :kms_key_id,
374
+ :version,
375
+ :status,
376
+ :creation_time,
377
+ :data_retention_in_hours)
378
+ include Aws::Structure
379
+ end
380
+
381
+ # Specifies the condition that streams must satisfy to be returned when
382
+ # you list streams (see the `ListStreams` API). A condition has a
383
+ # comparison operation and a value. Currently, you can specify only the
384
+ # `BEGINS_WITH` operator, which finds streams whose names start with a
385
+ # given prefix.
386
+ #
387
+ # @note When making an API call, you may pass StreamNameCondition
388
+ # data as a hash:
389
+ #
390
+ # {
391
+ # comparison_operator: "BEGINS_WITH", # accepts BEGINS_WITH
392
+ # comparison_value: "StreamName",
393
+ # }
394
+ #
395
+ # @!attribute [rw] comparison_operator
396
+ # A comparison operator. Currently, you can specify only the
397
+ # `BEGINS_WITH` operator, which finds streams whose names start with a
398
+ # given prefix.
399
+ # @return [String]
400
+ #
401
+ # @!attribute [rw] comparison_value
402
+ # A value to compare.
403
+ # @return [String]
404
+ #
405
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/StreamNameCondition AWS API Documentation
406
+ #
407
+ class StreamNameCondition < Struct.new(
408
+ :comparison_operator,
409
+ :comparison_value)
410
+ include Aws::Structure
411
+ end
412
+
413
+ # @note When making an API call, you may pass TagStreamInput
414
+ # data as a hash:
415
+ #
416
+ # {
417
+ # stream_arn: "ResourceARN",
418
+ # stream_name: "StreamName",
419
+ # tags: { # required
420
+ # "TagKey" => "TagValue",
421
+ # },
422
+ # }
423
+ #
424
+ # @!attribute [rw] stream_arn
425
+ # The Amazon Resource Name (ARN) of the resource that you want to add
426
+ # the tag or tags to.
427
+ # @return [String]
428
+ #
429
+ # @!attribute [rw] stream_name
430
+ # The name of the stream that you want to add the tag or tags to.
431
+ # @return [String]
432
+ #
433
+ # @!attribute [rw] tags
434
+ # A list of tags to associate with the specified stream. Each tag is a
435
+ # key-value pair (the value is optional).
436
+ # @return [Hash<String,String>]
437
+ #
438
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/TagStreamInput AWS API Documentation
439
+ #
440
+ class TagStreamInput < Struct.new(
441
+ :stream_arn,
442
+ :stream_name,
443
+ :tags)
444
+ include Aws::Structure
445
+ end
446
+
447
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/TagStreamOutput AWS API Documentation
448
+ #
449
+ class TagStreamOutput < Aws::EmptyStructure; end
450
+
451
+ # @note When making an API call, you may pass UntagStreamInput
452
+ # data as a hash:
453
+ #
454
+ # {
455
+ # stream_arn: "ResourceARN",
456
+ # stream_name: "StreamName",
457
+ # tag_key_list: ["TagKey"], # required
458
+ # }
459
+ #
460
+ # @!attribute [rw] stream_arn
461
+ # The Amazon Resource Name (ARN) of the stream that you want to remove
462
+ # tags from.
463
+ # @return [String]
464
+ #
465
+ # @!attribute [rw] stream_name
466
+ # The name of the stream that you want to remove tags from.
467
+ # @return [String]
468
+ #
469
+ # @!attribute [rw] tag_key_list
470
+ # A list of the keys of the tags that you want to remove.
471
+ # @return [Array<String>]
472
+ #
473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UntagStreamInput AWS API Documentation
474
+ #
475
+ class UntagStreamInput < Struct.new(
476
+ :stream_arn,
477
+ :stream_name,
478
+ :tag_key_list)
479
+ include Aws::Structure
480
+ end
481
+
482
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UntagStreamOutput AWS API Documentation
483
+ #
484
+ class UntagStreamOutput < Aws::EmptyStructure; end
485
+
486
+ # @note When making an API call, you may pass UpdateDataRetentionInput
487
+ # data as a hash:
488
+ #
489
+ # {
490
+ # stream_name: "StreamName",
491
+ # stream_arn: "ResourceARN",
492
+ # current_version: "Version", # required
493
+ # operation: "INCREASE_DATA_RETENTION", # required, accepts INCREASE_DATA_RETENTION, DECREASE_DATA_RETENTION
494
+ # data_retention_change_in_hours: 1, # required
495
+ # }
496
+ #
497
+ # @!attribute [rw] stream_name
498
+ # The name of the stream whose retention period you want to change.
499
+ # @return [String]
500
+ #
501
+ # @!attribute [rw] stream_arn
502
+ # The Amazon Resource Name (ARN) of the stream whose retention period
503
+ # you want to change.
504
+ # @return [String]
505
+ #
506
+ # @!attribute [rw] current_version
507
+ # The version of the stream whose retention period you want to change.
508
+ # To get the version, call either the `DescribeStream` or the
509
+ # `ListStreams` API.
510
+ # @return [String]
511
+ #
512
+ # @!attribute [rw] operation
513
+ # Indicates whether you want to increase or decrease the retention
514
+ # period.
515
+ # @return [String]
516
+ #
517
+ # @!attribute [rw] data_retention_change_in_hours
518
+ # The retention period, in hours. The value you specify replaces the
519
+ # current value.
520
+ # @return [Integer]
521
+ #
522
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateDataRetentionInput AWS API Documentation
523
+ #
524
+ class UpdateDataRetentionInput < Struct.new(
525
+ :stream_name,
526
+ :stream_arn,
527
+ :current_version,
528
+ :operation,
529
+ :data_retention_change_in_hours)
530
+ include Aws::Structure
531
+ end
532
+
533
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateDataRetentionOutput AWS API Documentation
534
+ #
535
+ class UpdateDataRetentionOutput < Aws::EmptyStructure; end
536
+
537
+ # @note When making an API call, you may pass UpdateStreamInput
538
+ # data as a hash:
539
+ #
540
+ # {
541
+ # stream_name: "StreamName",
542
+ # stream_arn: "ResourceARN",
543
+ # current_version: "Version", # required
544
+ # device_name: "DeviceName",
545
+ # media_type: "MediaType",
546
+ # }
547
+ #
548
+ # @!attribute [rw] stream_name
549
+ # The name of the stream whose metadata you want to update.
550
+ #
551
+ # The stream name is an identifier for the stream, and must be unique
552
+ # for each account and region.
553
+ # @return [String]
554
+ #
555
+ # @!attribute [rw] stream_arn
556
+ # The ARN of the stream whose metadata you want to update.
557
+ # @return [String]
558
+ #
559
+ # @!attribute [rw] current_version
560
+ # The version of the stream whose metadata you want to update.
561
+ # @return [String]
562
+ #
563
+ # @!attribute [rw] device_name
564
+ # The name of the device that is writing to the stream.
565
+ #
566
+ # <note markdown="1"> In the current implementation, Kinesis Video Streams does not use
567
+ # this name.
568
+ #
569
+ # </note>
570
+ # @return [String]
571
+ #
572
+ # @!attribute [rw] media_type
573
+ # The stream's media type. Use `MediaType` to specify the type of
574
+ # content that the stream contains to the consumers of the stream. For
575
+ # more information about media types, see [Media Types][1]. If you
576
+ # choose to specify the `MediaType`, see [Naming Requirements][2].
577
+ #
578
+ # To play video on the console, you must specify the correct video
579
+ # type. For example, if the video in the stream is H.264, specify
580
+ # `video/h264` as the `MediaType`.
581
+ #
582
+ #
583
+ #
584
+ # [1]: http://www.iana.org/assignments/media-types/media-types.xhtml
585
+ # [2]: https://tools.sietf.org/html/rfc6838#section-4.2
586
+ # @return [String]
587
+ #
588
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateStreamInput AWS API Documentation
589
+ #
590
+ class UpdateStreamInput < Struct.new(
591
+ :stream_name,
592
+ :stream_arn,
593
+ :current_version,
594
+ :device_name,
595
+ :media_type)
596
+ include Aws::Structure
597
+ end
598
+
599
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateStreamOutput AWS API Documentation
600
+ #
601
+ class UpdateStreamOutput < Aws::EmptyStructure; end
602
+
603
+ end
604
+ end