1{
2    "smithy": "1.0",
3    "metadata": {
4        "suppressions": [
5            {
6                "id": "HttpMethodSemantics",
7                "namespace": "*"
8            },
9            {
10                "id": "HttpResponseCodeSemantics",
11                "namespace": "*"
12            },
13            {
14                "id": "PaginatedTrait",
15                "namespace": "*"
16            },
17            {
18                "id": "HttpHeaderTrait",
19                "namespace": "*"
20            },
21            {
22                "id": "HttpUriConflict",
23                "namespace": "*"
24            },
25            {
26                "id": "Service",
27                "namespace": "*"
28            }
29        ]
30    },
31    "shapes": {
32        "com.amazonaws.kinesisvideo#APIName": {
33            "type": "string",
34            "traits": {
35                "smithy.api#enum": [
36                    {
37                        "value": "PUT_MEDIA",
38                        "name": "PUT_MEDIA"
39                    },
40                    {
41                        "value": "GET_MEDIA",
42                        "name": "GET_MEDIA"
43                    },
44                    {
45                        "value": "LIST_FRAGMENTS",
46                        "name": "LIST_FRAGMENTS"
47                    },
48                    {
49                        "value": "GET_MEDIA_FOR_FRAGMENT_LIST",
50                        "name": "GET_MEDIA_FOR_FRAGMENT_LIST"
51                    },
52                    {
53                        "value": "GET_HLS_STREAMING_SESSION_URL",
54                        "name": "GET_HLS_STREAMING_SESSION_URL"
55                    },
56                    {
57                        "value": "GET_DASH_STREAMING_SESSION_URL",
58                        "name": "GET_DASH_STREAMING_SESSION_URL"
59                    },
60                    {
61                        "value": "GET_CLIP",
62                        "name": "GET_CLIP"
63                    }
64                ]
65            }
66        },
67        "com.amazonaws.kinesisvideo#AccessDeniedException": {
68            "type": "structure",
69            "members": {
70                "Message": {
71                    "target": "com.amazonaws.kinesisvideo#ErrorMessage"
72                }
73            },
74            "traits": {
75                "smithy.api#documentation": "<p>You do not have required permissions to perform this operation.</p>",
76                "smithy.api#error": "client",
77                "smithy.api#httpError": 401
78            }
79        },
80        "com.amazonaws.kinesisvideo#AccountChannelLimitExceededException": {
81            "type": "structure",
82            "members": {
83                "Message": {
84                    "target": "com.amazonaws.kinesisvideo#ErrorMessage"
85                }
86            },
87            "traits": {
88                "smithy.api#documentation": "<p>You have reached the maximum limit of active signaling channels for this AWS account\n            in this region.</p>",
89                "smithy.api#error": "client",
90                "smithy.api#httpError": 400
91            }
92        },
93        "com.amazonaws.kinesisvideo#AccountStreamLimitExceededException": {
94            "type": "structure",
95            "members": {
96                "Message": {
97                    "target": "com.amazonaws.kinesisvideo#ErrorMessage"
98                }
99            },
100            "traits": {
101                "smithy.api#documentation": "<p>The number of streams created for the account is too high.</p>",
102                "smithy.api#error": "client",
103                "smithy.api#httpError": 400
104            }
105        },
106        "com.amazonaws.kinesisvideo#ChannelInfo": {
107            "type": "structure",
108            "members": {
109                "ChannelName": {
110                    "target": "com.amazonaws.kinesisvideo#ChannelName",
111                    "traits": {
112                        "smithy.api#documentation": "<p>The name of the signaling channel.</p>"
113                    }
114                },
115                "ChannelARN": {
116                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
117                    "traits": {
118                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the signaling channel.</p>"
119                    }
120                },
121                "ChannelType": {
122                    "target": "com.amazonaws.kinesisvideo#ChannelType",
123                    "traits": {
124                        "smithy.api#documentation": "<p>The type of the signaling channel.</p>"
125                    }
126                },
127                "ChannelStatus": {
128                    "target": "com.amazonaws.kinesisvideo#Status",
129                    "traits": {
130                        "smithy.api#documentation": "<p>Current status of the signaling channel.</p>"
131                    }
132                },
133                "CreationTime": {
134                    "target": "com.amazonaws.kinesisvideo#Timestamp",
135                    "traits": {
136                        "smithy.api#documentation": "<p>The time at which the signaling channel was created.</p>"
137                    }
138                },
139                "SingleMasterConfiguration": {
140                    "target": "com.amazonaws.kinesisvideo#SingleMasterConfiguration",
141                    "traits": {
142                        "smithy.api#documentation": "<p>A structure that contains the configuration for the <code>SINGLE_MASTER</code> channel\n            type.</p>"
143                    }
144                },
145                "Version": {
146                    "target": "com.amazonaws.kinesisvideo#Version",
147                    "traits": {
148                        "smithy.api#documentation": "<p>The current version of the signaling channel.</p>"
149                    }
150                }
151            },
152            "traits": {
153                "smithy.api#documentation": "<p>A structure that encapsulates a signaling channel's metadata and properties.</p>"
154            }
155        },
156        "com.amazonaws.kinesisvideo#ChannelInfoList": {
157            "type": "list",
158            "member": {
159                "target": "com.amazonaws.kinesisvideo#ChannelInfo"
160            }
161        },
162        "com.amazonaws.kinesisvideo#ChannelName": {
163            "type": "string",
164            "traits": {
165                "smithy.api#length": {
166                    "min": 1,
167                    "max": 256
168                },
169                "smithy.api#pattern": "[a-zA-Z0-9_.-]+"
170            }
171        },
172        "com.amazonaws.kinesisvideo#ChannelNameCondition": {
173            "type": "structure",
174            "members": {
175                "ComparisonOperator": {
176                    "target": "com.amazonaws.kinesisvideo#ComparisonOperator",
177                    "traits": {
178                        "smithy.api#documentation": "<p>A comparison operator. Currently, you can only specify the <code>BEGINS_WITH</code>\n            operator, which finds signaling channels whose names begin with a given prefix.</p>"
179                    }
180                },
181                "ComparisonValue": {
182                    "target": "com.amazonaws.kinesisvideo#ChannelName",
183                    "traits": {
184                        "smithy.api#documentation": "<p>A value to compare.</p>"
185                    }
186                }
187            },
188            "traits": {
189                "smithy.api#documentation": "<p>An optional input parameter for the <code>ListSignalingChannels</code> API. When this\n            parameter is specified while invoking <code>ListSignalingChannels</code>, the API\n            returns only the channels that satisfy a condition specified in\n                <code>ChannelNameCondition</code>.</p>"
190            }
191        },
192        "com.amazonaws.kinesisvideo#ChannelProtocol": {
193            "type": "string",
194            "traits": {
195                "smithy.api#enum": [
196                    {
197                        "value": "WSS",
198                        "name": "WSS"
199                    },
200                    {
201                        "value": "HTTPS",
202                        "name": "HTTPS"
203                    }
204                ]
205            }
206        },
207        "com.amazonaws.kinesisvideo#ChannelRole": {
208            "type": "string",
209            "traits": {
210                "smithy.api#enum": [
211                    {
212                        "value": "MASTER",
213                        "name": "MASTER"
214                    },
215                    {
216                        "value": "VIEWER",
217                        "name": "VIEWER"
218                    }
219                ]
220            }
221        },
222        "com.amazonaws.kinesisvideo#ChannelType": {
223            "type": "string",
224            "traits": {
225                "smithy.api#enum": [
226                    {
227                        "value": "SINGLE_MASTER",
228                        "name": "SINGLE_MASTER"
229                    }
230                ]
231            }
232        },
233        "com.amazonaws.kinesisvideo#ClientLimitExceededException": {
234            "type": "structure",
235            "members": {
236                "Message": {
237                    "target": "com.amazonaws.kinesisvideo#ErrorMessage"
238                }
239            },
240            "traits": {
241                "smithy.api#documentation": "<p>Kinesis Video Streams has throttled the request because you have exceeded the limit of\n            allowed client calls. Try making the call later.</p>",
242                "smithy.api#error": "client",
243                "smithy.api#httpError": 400
244            }
245        },
246        "com.amazonaws.kinesisvideo#ComparisonOperator": {
247            "type": "string",
248            "traits": {
249                "smithy.api#enum": [
250                    {
251                        "value": "BEGINS_WITH",
252                        "name": "BEGINS_WITH"
253                    }
254                ]
255            }
256        },
257        "com.amazonaws.kinesisvideo#CreateSignalingChannel": {
258            "type": "operation",
259            "input": {
260                "target": "com.amazonaws.kinesisvideo#CreateSignalingChannelInput"
261            },
262            "output": {
263                "target": "com.amazonaws.kinesisvideo#CreateSignalingChannelOutput"
264            },
265            "errors": [
266                {
267                    "target": "com.amazonaws.kinesisvideo#AccessDeniedException"
268                },
269                {
270                    "target": "com.amazonaws.kinesisvideo#AccountChannelLimitExceededException"
271                },
272                {
273                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
274                },
275                {
276                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
277                },
278                {
279                    "target": "com.amazonaws.kinesisvideo#ResourceInUseException"
280                },
281                {
282                    "target": "com.amazonaws.kinesisvideo#TagsPerResourceExceededLimitException"
283                }
284            ],
285            "traits": {
286                "smithy.api#documentation": "<p>Creates a signaling channel. </p>\n        <p>\n            <code>CreateSignalingChannel</code> is an asynchronous operation.</p>",
287                "smithy.api#http": {
288                    "method": "POST",
289                    "uri": "/createSignalingChannel",
290                    "code": 200
291                }
292            }
293        },
294        "com.amazonaws.kinesisvideo#CreateSignalingChannelInput": {
295            "type": "structure",
296            "members": {
297                "ChannelName": {
298                    "target": "com.amazonaws.kinesisvideo#ChannelName",
299                    "traits": {
300                        "smithy.api#documentation": "<p>A name for the signaling channel that you are creating. It must be unique for each AWS\n            account and AWS Region.</p>",
301                        "smithy.api#required": {}
302                    }
303                },
304                "ChannelType": {
305                    "target": "com.amazonaws.kinesisvideo#ChannelType",
306                    "traits": {
307                        "smithy.api#documentation": "<p>A type of the signaling channel that you are creating. Currently,\n                <code>SINGLE_MASTER</code> is the only supported channel type. </p>"
308                    }
309                },
310                "SingleMasterConfiguration": {
311                    "target": "com.amazonaws.kinesisvideo#SingleMasterConfiguration",
312                    "traits": {
313                        "smithy.api#documentation": "<p>A structure containing the configuration for the <code>SINGLE_MASTER</code> channel\n            type. </p>"
314                    }
315                },
316                "Tags": {
317                    "target": "com.amazonaws.kinesisvideo#TagOnCreateList",
318                    "traits": {
319                        "smithy.api#documentation": "<p>A set of tags (key-value pairs) that you want to associate with this channel.</p>"
320                    }
321                }
322            }
323        },
324        "com.amazonaws.kinesisvideo#CreateSignalingChannelOutput": {
325            "type": "structure",
326            "members": {
327                "ChannelARN": {
328                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
329                    "traits": {
330                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the created channel.</p>"
331                    }
332                }
333            }
334        },
335        "com.amazonaws.kinesisvideo#CreateStream": {
336            "type": "operation",
337            "input": {
338                "target": "com.amazonaws.kinesisvideo#CreateStreamInput"
339            },
340            "output": {
341                "target": "com.amazonaws.kinesisvideo#CreateStreamOutput"
342            },
343            "errors": [
344                {
345                    "target": "com.amazonaws.kinesisvideo#AccountStreamLimitExceededException"
346                },
347                {
348                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
349                },
350                {
351                    "target": "com.amazonaws.kinesisvideo#DeviceStreamLimitExceededException"
352                },
353                {
354                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
355                },
356                {
357                    "target": "com.amazonaws.kinesisvideo#InvalidDeviceException"
358                },
359                {
360                    "target": "com.amazonaws.kinesisvideo#ResourceInUseException"
361                },
362                {
363                    "target": "com.amazonaws.kinesisvideo#TagsPerResourceExceededLimitException"
364                }
365            ],
366            "traits": {
367                "smithy.api#documentation": "<p>Creates a new Kinesis video stream. </p>\n\n        <p>When you create a new stream, Kinesis Video Streams assigns it a version number.\n            When you change the stream's metadata, Kinesis Video Streams updates the version. </p>\n        <p>\n            <code>CreateStream</code> is an asynchronous operation.</p>\n        <p>For information about how the service works, see <a href=\"https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/how-it-works.html\">How it Works</a>. </p>\n        <p>You must have permissions for the <code>KinesisVideo:CreateStream</code>\n            action.</p>",
368                "smithy.api#http": {
369                    "method": "POST",
370                    "uri": "/createStream",
371                    "code": 200
372                }
373            }
374        },
375        "com.amazonaws.kinesisvideo#CreateStreamInput": {
376            "type": "structure",
377            "members": {
378                "DeviceName": {
379                    "target": "com.amazonaws.kinesisvideo#DeviceName",
380                    "traits": {
381                        "smithy.api#documentation": "<p>The name of the device that is writing to the stream. </p>\n        <note>\n            <p>In the current implementation, Kinesis Video Streams does not use this\n                name.</p>\n        </note>"
382                    }
383                },
384                "StreamName": {
385                    "target": "com.amazonaws.kinesisvideo#StreamName",
386                    "traits": {
387                        "smithy.api#documentation": "<p>A name for the stream that you are creating.</p>\n        <p>The stream name is an identifier for the stream, and must be unique for each\n            account and region.</p>",
388                        "smithy.api#required": {}
389                    }
390                },
391                "MediaType": {
392                    "target": "com.amazonaws.kinesisvideo#MediaType",
393                    "traits": {
394                        "smithy.api#documentation": "<p>The media type of the stream. Consumers of the stream can use this information when\n            processing the stream. For more information about media types, see <a href=\"http://www.iana.org/assignments/media-types/media-types.xhtml\">Media\n                Types</a>. If you choose to specify the <code>MediaType</code>, see <a href=\"https://tools.ietf.org/html/rfc6838#section-4.2\">Naming Requirements</a>\n            for guidelines.</p>\n\n        <p>Example valid values include \"video/h264\" and \"video/h264,audio/aac\".</p>\n        <p>This parameter is optional; the default value is <code>null</code> (or empty in\n            JSON).</p>"
395                    }
396                },
397                "KmsKeyId": {
398                    "target": "com.amazonaws.kinesisvideo#KmsKeyId",
399                    "traits": {
400                        "smithy.api#documentation": "<p>The ID of the AWS Key Management Service (AWS KMS) key that you want Kinesis Video\n            Streams to use to encrypt stream data.</p>\n        <p>If no key ID is specified, the default, Kinesis Video-managed key\n                (<code>aws/kinesisvideo</code>) is used.</p>\n        <p> For more information, see <a href=\"https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters\">DescribeKey</a>. </p>"
401                    }
402                },
403                "DataRetentionInHours": {
404                    "target": "com.amazonaws.kinesisvideo#DataRetentionInHours",
405                    "traits": {
406                        "smithy.api#documentation": "<p>The number of hours that you want to retain the data in the stream. Kinesis Video\n            Streams retains the data in a data store that is associated with the stream.</p>\n        <p>The default value is 0, indicating that the stream does not persist data.</p>\n        <p>When the <code>DataRetentionInHours</code> value is 0, consumers can still consume\n            the fragments that remain in the service host buffer, which has a retention time limit\n            of 5 minutes and a retention memory limit of 200 MB. Fragments are removed from the\n            buffer when either limit is reached.</p>"
407                    }
408                },
409                "Tags": {
410                    "target": "com.amazonaws.kinesisvideo#ResourceTags",
411                    "traits": {
412                        "smithy.api#documentation": "<p>A list of tags to associate with the specified stream. Each tag is a key-value pair\n            (the value is optional).</p>"
413                    }
414                }
415            }
416        },
417        "com.amazonaws.kinesisvideo#CreateStreamOutput": {
418            "type": "structure",
419            "members": {
420                "StreamARN": {
421                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
422                    "traits": {
423                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the stream.</p>"
424                    }
425                }
426            }
427        },
428        "com.amazonaws.kinesisvideo#DataEndpoint": {
429            "type": "string"
430        },
431        "com.amazonaws.kinesisvideo#DataRetentionChangeInHours": {
432            "type": "integer",
433            "traits": {
434                "smithy.api#box": {},
435                "smithy.api#range": {
436                    "min": 1
437                }
438            }
439        },
440        "com.amazonaws.kinesisvideo#DataRetentionInHours": {
441            "type": "integer",
442            "traits": {
443                "smithy.api#box": {},
444                "smithy.api#range": {
445                    "min": 0
446                }
447            }
448        },
449        "com.amazonaws.kinesisvideo#DeleteSignalingChannel": {
450            "type": "operation",
451            "input": {
452                "target": "com.amazonaws.kinesisvideo#DeleteSignalingChannelInput"
453            },
454            "output": {
455                "target": "com.amazonaws.kinesisvideo#DeleteSignalingChannelOutput"
456            },
457            "errors": [
458                {
459                    "target": "com.amazonaws.kinesisvideo#AccessDeniedException"
460                },
461                {
462                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
463                },
464                {
465                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
466                },
467                {
468                    "target": "com.amazonaws.kinesisvideo#ResourceInUseException"
469                },
470                {
471                    "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException"
472                },
473                {
474                    "target": "com.amazonaws.kinesisvideo#VersionMismatchException"
475                }
476            ],
477            "traits": {
478                "smithy.api#documentation": "<p>Deletes a specified signaling channel. <code>DeleteSignalingChannel</code> is an\n            asynchronous operation. If you don't specify the channel's current version, the most\n            recent version is deleted.</p>",
479                "smithy.api#http": {
480                    "method": "POST",
481                    "uri": "/deleteSignalingChannel",
482                    "code": 200
483                }
484            }
485        },
486        "com.amazonaws.kinesisvideo#DeleteSignalingChannelInput": {
487            "type": "structure",
488            "members": {
489                "ChannelARN": {
490                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
491                    "traits": {
492                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the signaling channel that you want to\n            delete.</p>",
493                        "smithy.api#required": {}
494                    }
495                },
496                "CurrentVersion": {
497                    "target": "com.amazonaws.kinesisvideo#Version",
498                    "traits": {
499                        "smithy.api#documentation": "<p>The current version of the signaling channel that you want to delete. You can obtain\n            the current version by invoking the <code>DescribeSignalingChannel</code> or\n                <code>ListSignalingChannels</code> API operations.</p>"
500                    }
501                }
502            }
503        },
504        "com.amazonaws.kinesisvideo#DeleteSignalingChannelOutput": {
505            "type": "structure",
506            "members": {}
507        },
508        "com.amazonaws.kinesisvideo#DeleteStream": {
509            "type": "operation",
510            "input": {
511                "target": "com.amazonaws.kinesisvideo#DeleteStreamInput"
512            },
513            "output": {
514                "target": "com.amazonaws.kinesisvideo#DeleteStreamOutput"
515            },
516            "errors": [
517                {
518                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
519                },
520                {
521                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
522                },
523                {
524                    "target": "com.amazonaws.kinesisvideo#NotAuthorizedException"
525                },
526                {
527                    "target": "com.amazonaws.kinesisvideo#ResourceInUseException"
528                },
529                {
530                    "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException"
531                },
532                {
533                    "target": "com.amazonaws.kinesisvideo#VersionMismatchException"
534                }
535            ],
536            "traits": {
537                "smithy.api#documentation": "<p>Deletes a Kinesis video stream and the data contained in the stream. </p>\n        <p>This method marks the stream for deletion, and makes the data in the stream\n            inaccessible immediately.</p>\n        <p> </p>\n        <p> To ensure that you have the latest version of the stream before deleting it, you\n            can specify the stream version. Kinesis Video Streams assigns a version to each stream.\n            When you update a stream, Kinesis Video Streams assigns a new version number. To get the\n            latest stream version, use the <code>DescribeStream</code> API. </p>\n        <p>This operation requires permission for the <code>KinesisVideo:DeleteStream</code>\n            action.</p>",
538                "smithy.api#http": {
539                    "method": "POST",
540                    "uri": "/deleteStream",
541                    "code": 200
542                }
543            }
544        },
545        "com.amazonaws.kinesisvideo#DeleteStreamInput": {
546            "type": "structure",
547            "members": {
548                "StreamARN": {
549                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
550                    "traits": {
551                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the stream that you want to delete. </p>",
552                        "smithy.api#required": {}
553                    }
554                },
555                "CurrentVersion": {
556                    "target": "com.amazonaws.kinesisvideo#Version",
557                    "traits": {
558                        "smithy.api#documentation": "<p>Optional: The version of the stream that you want to delete. </p>\n        <p>Specify the version as a safeguard to ensure that your are deleting the correct\n            stream. To get the stream version, use the <code>DescribeStream</code> API.</p>\n        <p>If not specified, only the <code>CreationTime</code> is checked before deleting the\n            stream.</p>"
559                    }
560                }
561            }
562        },
563        "com.amazonaws.kinesisvideo#DeleteStreamOutput": {
564            "type": "structure",
565            "members": {}
566        },
567        "com.amazonaws.kinesisvideo#DescribeSignalingChannel": {
568            "type": "operation",
569            "input": {
570                "target": "com.amazonaws.kinesisvideo#DescribeSignalingChannelInput"
571            },
572            "output": {
573                "target": "com.amazonaws.kinesisvideo#DescribeSignalingChannelOutput"
574            },
575            "errors": [
576                {
577                    "target": "com.amazonaws.kinesisvideo#AccessDeniedException"
578                },
579                {
580                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
581                },
582                {
583                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
584                },
585                {
586                    "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException"
587                }
588            ],
589            "traits": {
590                "smithy.api#documentation": "<p>Returns the most current information about the signaling channel. You must specify\n            either the name or the Amazon Resource Name (ARN) of the channel that you want to\n            describe.</p>",
591                "smithy.api#http": {
592                    "method": "POST",
593                    "uri": "/describeSignalingChannel",
594                    "code": 200
595                }
596            }
597        },
598        "com.amazonaws.kinesisvideo#DescribeSignalingChannelInput": {
599            "type": "structure",
600            "members": {
601                "ChannelName": {
602                    "target": "com.amazonaws.kinesisvideo#ChannelName",
603                    "traits": {
604                        "smithy.api#documentation": "<p>The name of the signaling channel that you want to describe.</p>"
605                    }
606                },
607                "ChannelARN": {
608                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
609                    "traits": {
610                        "smithy.api#documentation": "<p>The ARN of the signaling channel that you want to describe.</p>"
611                    }
612                }
613            }
614        },
615        "com.amazonaws.kinesisvideo#DescribeSignalingChannelOutput": {
616            "type": "structure",
617            "members": {
618                "ChannelInfo": {
619                    "target": "com.amazonaws.kinesisvideo#ChannelInfo",
620                    "traits": {
621                        "smithy.api#documentation": "<p>A structure that encapsulates the specified signaling channel's metadata and\n            properties.</p>"
622                    }
623                }
624            }
625        },
626        "com.amazonaws.kinesisvideo#DescribeStream": {
627            "type": "operation",
628            "input": {
629                "target": "com.amazonaws.kinesisvideo#DescribeStreamInput"
630            },
631            "output": {
632                "target": "com.amazonaws.kinesisvideo#DescribeStreamOutput"
633            },
634            "errors": [
635                {
636                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
637                },
638                {
639                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
640                },
641                {
642                    "target": "com.amazonaws.kinesisvideo#NotAuthorizedException"
643                },
644                {
645                    "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException"
646                }
647            ],
648            "traits": {
649                "smithy.api#documentation": "<p>Returns the most current information about the specified stream. You must specify\n            either the <code>StreamName</code> or the <code>StreamARN</code>. </p>",
650                "smithy.api#http": {
651                    "method": "POST",
652                    "uri": "/describeStream",
653                    "code": 200
654                }
655            }
656        },
657        "com.amazonaws.kinesisvideo#DescribeStreamInput": {
658            "type": "structure",
659            "members": {
660                "StreamName": {
661                    "target": "com.amazonaws.kinesisvideo#StreamName",
662                    "traits": {
663                        "smithy.api#documentation": "<p>The name of the stream.</p>"
664                    }
665                },
666                "StreamARN": {
667                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
668                    "traits": {
669                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the stream.</p>"
670                    }
671                }
672            }
673        },
674        "com.amazonaws.kinesisvideo#DescribeStreamOutput": {
675            "type": "structure",
676            "members": {
677                "StreamInfo": {
678                    "target": "com.amazonaws.kinesisvideo#StreamInfo",
679                    "traits": {
680                        "smithy.api#documentation": "<p>An object that describes the stream.</p>"
681                    }
682                }
683            }
684        },
685        "com.amazonaws.kinesisvideo#DeviceName": {
686            "type": "string",
687            "traits": {
688                "smithy.api#length": {
689                    "min": 1,
690                    "max": 128
691                },
692                "smithy.api#pattern": "[a-zA-Z0-9_.-]+"
693            }
694        },
695        "com.amazonaws.kinesisvideo#DeviceStreamLimitExceededException": {
696            "type": "structure",
697            "members": {
698                "Message": {
699                    "target": "com.amazonaws.kinesisvideo#ErrorMessage"
700                }
701            },
702            "traits": {
703                "smithy.api#documentation": "<p>Not implemented.\n            </p>",
704                "smithy.api#error": "client",
705                "smithy.api#httpError": 400
706            }
707        },
708        "com.amazonaws.kinesisvideo#ErrorMessage": {
709            "type": "string"
710        },
711        "com.amazonaws.kinesisvideo#GetDataEndpoint": {
712            "type": "operation",
713            "input": {
714                "target": "com.amazonaws.kinesisvideo#GetDataEndpointInput"
715            },
716            "output": {
717                "target": "com.amazonaws.kinesisvideo#GetDataEndpointOutput"
718            },
719            "errors": [
720                {
721                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
722                },
723                {
724                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
725                },
726                {
727                    "target": "com.amazonaws.kinesisvideo#NotAuthorizedException"
728                },
729                {
730                    "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException"
731                }
732            ],
733            "traits": {
734                "smithy.api#documentation": "<p>Gets an endpoint for a specified stream for either reading or writing. Use this\n            endpoint in your application to read from the specified stream (using the\n                <code>GetMedia</code> or <code>GetMediaForFragmentList</code> operations) or write\n            to it (using the <code>PutMedia</code> operation).\n            </p>\n        <note>\n            <p>The returned endpoint does not have the API name appended. The client needs to\n                add the API name to the returned endpoint.</p>\n        </note>\n\n        <p>In the request, specify the stream either by <code>StreamName</code> or\n                <code>StreamARN</code>.</p>",
735                "smithy.api#http": {
736                    "method": "POST",
737                    "uri": "/getDataEndpoint",
738                    "code": 200
739                }
740            }
741        },
742        "com.amazonaws.kinesisvideo#GetDataEndpointInput": {
743            "type": "structure",
744            "members": {
745                "StreamName": {
746                    "target": "com.amazonaws.kinesisvideo#StreamName",
747                    "traits": {
748                        "smithy.api#documentation": "<p>The name of the stream that you want to get the endpoint for. You must specify\n            either this parameter or a <code>StreamARN</code> in the request.</p>"
749                    }
750                },
751                "StreamARN": {
752                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
753                    "traits": {
754                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the stream that you want to get the endpoint for.\n            You must specify either this parameter or a <code>StreamName</code> in the request.\n        </p>"
755                    }
756                },
757                "APIName": {
758                    "target": "com.amazonaws.kinesisvideo#APIName",
759                    "traits": {
760                        "smithy.api#documentation": "<p>The name of the API action for which to get an endpoint.</p>",
761                        "smithy.api#required": {}
762                    }
763                }
764            }
765        },
766        "com.amazonaws.kinesisvideo#GetDataEndpointOutput": {
767            "type": "structure",
768            "members": {
769                "DataEndpoint": {
770                    "target": "com.amazonaws.kinesisvideo#DataEndpoint",
771                    "traits": {
772                        "smithy.api#documentation": "<p>The endpoint value. To read data from the stream or to write data to it, specify\n            this endpoint in your application.</p>"
773                    }
774                }
775            }
776        },
777        "com.amazonaws.kinesisvideo#GetSignalingChannelEndpoint": {
778            "type": "operation",
779            "input": {
780                "target": "com.amazonaws.kinesisvideo#GetSignalingChannelEndpointInput"
781            },
782            "output": {
783                "target": "com.amazonaws.kinesisvideo#GetSignalingChannelEndpointOutput"
784            },
785            "errors": [
786                {
787                    "target": "com.amazonaws.kinesisvideo#AccessDeniedException"
788                },
789                {
790                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
791                },
792                {
793                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
794                },
795                {
796                    "target": "com.amazonaws.kinesisvideo#ResourceInUseException"
797                },
798                {
799                    "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException"
800                }
801            ],
802            "traits": {
803                "smithy.api#documentation": "<p>Provides an endpoint for the specified signaling channel to send and receive messages.\n            This API uses the <code>SingleMasterChannelEndpointConfiguration</code> input parameter,\n            which consists of the <code>Protocols</code> and <code>Role</code> properties.</p>\n        <p>\n            <code>Protocols</code> is used to determine the communication mechanism. For example,\n            if you specify <code>WSS</code> as the protocol, this API produces a secure websocket\n            endpoint. If you specify <code>HTTPS</code> as the protocol, this API generates an HTTPS\n            endpoint. </p>\n        <p>\n            <code>Role</code> determines the messaging permissions. A <code>MASTER</code> role\n            results in this API generating an endpoint that a client can use to communicate with any\n            of the viewers on the channel. A <code>VIEWER</code> role results in this API generating\n            an endpoint that a client can use to communicate only with a\n                <code>MASTER</code>. </p>",
804                "smithy.api#http": {
805                    "method": "POST",
806                    "uri": "/getSignalingChannelEndpoint",
807                    "code": 200
808                }
809            }
810        },
811        "com.amazonaws.kinesisvideo#GetSignalingChannelEndpointInput": {
812            "type": "structure",
813            "members": {
814                "ChannelARN": {
815                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
816                    "traits": {
817                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the signalling channel for which you want to get an\n            endpoint.</p>",
818                        "smithy.api#required": {}
819                    }
820                },
821                "SingleMasterChannelEndpointConfiguration": {
822                    "target": "com.amazonaws.kinesisvideo#SingleMasterChannelEndpointConfiguration",
823                    "traits": {
824                        "smithy.api#documentation": "<p>A structure containing the endpoint configuration for the <code>SINGLE_MASTER</code>\n            channel type.</p>"
825                    }
826                }
827            }
828        },
829        "com.amazonaws.kinesisvideo#GetSignalingChannelEndpointOutput": {
830            "type": "structure",
831            "members": {
832                "ResourceEndpointList": {
833                    "target": "com.amazonaws.kinesisvideo#ResourceEndpointList",
834                    "traits": {
835                        "smithy.api#documentation": "<p>A list of endpoints for the specified signaling channel.</p>"
836                    }
837                }
838            }
839        },
840        "com.amazonaws.kinesisvideo#InvalidArgumentException": {
841            "type": "structure",
842            "members": {
843                "Message": {
844                    "target": "com.amazonaws.kinesisvideo#ErrorMessage"
845                }
846            },
847            "traits": {
848                "smithy.api#documentation": "<p>The value for this input parameter is invalid.</p>",
849                "smithy.api#error": "client",
850                "smithy.api#httpError": 400
851            }
852        },
853        "com.amazonaws.kinesisvideo#InvalidDeviceException": {
854            "type": "structure",
855            "members": {
856                "Message": {
857                    "target": "com.amazonaws.kinesisvideo#ErrorMessage"
858                }
859            },
860            "traits": {
861                "smithy.api#documentation": "<p>Not implemented.</p>",
862                "smithy.api#error": "client",
863                "smithy.api#httpError": 400
864            }
865        },
866        "com.amazonaws.kinesisvideo#InvalidResourceFormatException": {
867            "type": "structure",
868            "members": {
869                "Message": {
870                    "target": "com.amazonaws.kinesisvideo#ErrorMessage"
871                }
872            },
873            "traits": {
874                "smithy.api#documentation": "<p>The format of the <code>StreamARN</code> is invalid.</p>",
875                "smithy.api#error": "client",
876                "smithy.api#httpError": 400
877            }
878        },
879        "com.amazonaws.kinesisvideo#KinesisVideo_20170930": {
880            "type": "service",
881            "version": "2017-09-30",
882            "operations": [
883                {
884                    "target": "com.amazonaws.kinesisvideo#CreateSignalingChannel"
885                },
886                {
887                    "target": "com.amazonaws.kinesisvideo#CreateStream"
888                },
889                {
890                    "target": "com.amazonaws.kinesisvideo#DeleteSignalingChannel"
891                },
892                {
893                    "target": "com.amazonaws.kinesisvideo#DeleteStream"
894                },
895                {
896                    "target": "com.amazonaws.kinesisvideo#DescribeSignalingChannel"
897                },
898                {
899                    "target": "com.amazonaws.kinesisvideo#DescribeStream"
900                },
901                {
902                    "target": "com.amazonaws.kinesisvideo#GetDataEndpoint"
903                },
904                {
905                    "target": "com.amazonaws.kinesisvideo#GetSignalingChannelEndpoint"
906                },
907                {
908                    "target": "com.amazonaws.kinesisvideo#ListSignalingChannels"
909                },
910                {
911                    "target": "com.amazonaws.kinesisvideo#ListStreams"
912                },
913                {
914                    "target": "com.amazonaws.kinesisvideo#ListTagsForResource"
915                },
916                {
917                    "target": "com.amazonaws.kinesisvideo#ListTagsForStream"
918                },
919                {
920                    "target": "com.amazonaws.kinesisvideo#TagResource"
921                },
922                {
923                    "target": "com.amazonaws.kinesisvideo#TagStream"
924                },
925                {
926                    "target": "com.amazonaws.kinesisvideo#UntagResource"
927                },
928                {
929                    "target": "com.amazonaws.kinesisvideo#UntagStream"
930                },
931                {
932                    "target": "com.amazonaws.kinesisvideo#UpdateDataRetention"
933                },
934                {
935                    "target": "com.amazonaws.kinesisvideo#UpdateSignalingChannel"
936                },
937                {
938                    "target": "com.amazonaws.kinesisvideo#UpdateStream"
939                }
940            ],
941            "traits": {
942                "aws.api#service": {
943                    "sdkId": "Kinesis Video",
944                    "arnNamespace": "kinesisvideo",
945                    "cloudFormationName": "KinesisVideo",
946                    "cloudTrailEventSource": "kinesisvideo.amazonaws.com",
947                    "endpointPrefix": "kinesisvideo"
948                },
949                "aws.auth#sigv4": {
950                    "name": "kinesisvideo"
951                },
952                "aws.protocols#restJson1": {},
953                "smithy.api#documentation": "<p></p>",
954                "smithy.api#title": "Amazon Kinesis Video Streams",
955                "smithy.api#xmlNamespace": {
956                    "uri": "https://kinesisvideo.amazonaws.com/doc/2017-09-30/"
957                }
958            }
959        },
960        "com.amazonaws.kinesisvideo#KmsKeyId": {
961            "type": "string",
962            "traits": {
963                "smithy.api#length": {
964                    "min": 1,
965                    "max": 2048
966                },
967                "smithy.api#pattern": ".+"
968            }
969        },
970        "com.amazonaws.kinesisvideo#ListOfProtocols": {
971            "type": "list",
972            "member": {
973                "target": "com.amazonaws.kinesisvideo#ChannelProtocol"
974            },
975            "traits": {
976                "smithy.api#length": {
977                    "min": 1,
978                    "max": 5
979                }
980            }
981        },
982        "com.amazonaws.kinesisvideo#ListSignalingChannels": {
983            "type": "operation",
984            "input": {
985                "target": "com.amazonaws.kinesisvideo#ListSignalingChannelsInput"
986            },
987            "output": {
988                "target": "com.amazonaws.kinesisvideo#ListSignalingChannelsOutput"
989            },
990            "errors": [
991                {
992                    "target": "com.amazonaws.kinesisvideo#AccessDeniedException"
993                },
994                {
995                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
996                },
997                {
998                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
999                }
1000            ],
1001            "traits": {
1002                "smithy.api#documentation": "<p>Returns an array of <code>ChannelInfo</code> objects. Each object describes a\n            signaling channel. To retrieve only those channels that satisfy a specific condition, you can\n            specify a <code>ChannelNameCondition</code>.</p>",
1003                "smithy.api#http": {
1004                    "method": "POST",
1005                    "uri": "/listSignalingChannels",
1006                    "code": 200
1007                },
1008                "smithy.api#paginated": {
1009                    "inputToken": "NextToken",
1010                    "outputToken": "NextToken",
1011                    "items": "ChannelInfoList",
1012                    "pageSize": "MaxResults"
1013                }
1014            }
1015        },
1016        "com.amazonaws.kinesisvideo#ListSignalingChannelsInput": {
1017            "type": "structure",
1018            "members": {
1019                "MaxResults": {
1020                    "target": "com.amazonaws.kinesisvideo#ListStreamsInputLimit",
1021                    "traits": {
1022                        "smithy.api#documentation": "<p>The maximum number of channels to return in the response. The default is 500.</p>"
1023                    }
1024                },
1025                "NextToken": {
1026                    "target": "com.amazonaws.kinesisvideo#NextToken",
1027                    "traits": {
1028                        "smithy.api#documentation": "<p>If you specify this parameter, when the result of a <code>ListSignalingChannels</code>\n            operation is truncated, the call returns the <code>NextToken</code> in the response. To\n            get another batch of channels, provide this token in your next request.</p>"
1029                    }
1030                },
1031                "ChannelNameCondition": {
1032                    "target": "com.amazonaws.kinesisvideo#ChannelNameCondition",
1033                    "traits": {
1034                        "smithy.api#documentation": "<p>Optional: Returns only the channels that satisfy a specific condition.</p>"
1035                    }
1036                }
1037            }
1038        },
1039        "com.amazonaws.kinesisvideo#ListSignalingChannelsOutput": {
1040            "type": "structure",
1041            "members": {
1042                "ChannelInfoList": {
1043                    "target": "com.amazonaws.kinesisvideo#ChannelInfoList",
1044                    "traits": {
1045                        "smithy.api#documentation": "<p>An array of <code>ChannelInfo</code> objects.</p>"
1046                    }
1047                },
1048                "NextToken": {
1049                    "target": "com.amazonaws.kinesisvideo#NextToken",
1050                    "traits": {
1051                        "smithy.api#documentation": "<p>If the response is truncated, the call returns this element with a token. To get the\n            next batch of streams, use this token in your next request.</p>"
1052                    }
1053                }
1054            }
1055        },
1056        "com.amazonaws.kinesisvideo#ListStreams": {
1057            "type": "operation",
1058            "input": {
1059                "target": "com.amazonaws.kinesisvideo#ListStreamsInput"
1060            },
1061            "output": {
1062                "target": "com.amazonaws.kinesisvideo#ListStreamsOutput"
1063            },
1064            "errors": [
1065                {
1066                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
1067                },
1068                {
1069                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
1070                }
1071            ],
1072            "traits": {
1073                "smithy.api#documentation": "<p>Returns an array of <code>StreamInfo</code> objects. Each object describes a\n            stream. To retrieve only streams that satisfy a specific condition, you can specify a\n                <code>StreamNameCondition</code>. </p>",
1074                "smithy.api#http": {
1075                    "method": "POST",
1076                    "uri": "/listStreams",
1077                    "code": 200
1078                },
1079                "smithy.api#paginated": {
1080                    "inputToken": "NextToken",
1081                    "outputToken": "NextToken",
1082                    "items": "StreamInfoList",
1083                    "pageSize": "MaxResults"
1084                }
1085            }
1086        },
1087        "com.amazonaws.kinesisvideo#ListStreamsInput": {
1088            "type": "structure",
1089            "members": {
1090                "MaxResults": {
1091                    "target": "com.amazonaws.kinesisvideo#ListStreamsInputLimit",
1092                    "traits": {
1093                        "smithy.api#documentation": "<p>The maximum number of streams to return in the response. The default is\n            10,000.</p>"
1094                    }
1095                },
1096                "NextToken": {
1097                    "target": "com.amazonaws.kinesisvideo#NextToken",
1098                    "traits": {
1099                        "smithy.api#documentation": "<p>If you specify this parameter, when the result of a <code>ListStreams</code>\n            operation is truncated, the call returns the <code>NextToken</code> in the response. To\n            get another batch of streams, provide this token in your next request.</p>"
1100                    }
1101                },
1102                "StreamNameCondition": {
1103                    "target": "com.amazonaws.kinesisvideo#StreamNameCondition",
1104                    "traits": {
1105                        "smithy.api#documentation": "<p>Optional: Returns only streams that satisfy a specific condition. Currently, you\n            can specify only the prefix of a stream name as a condition. </p>"
1106                    }
1107                }
1108            }
1109        },
1110        "com.amazonaws.kinesisvideo#ListStreamsInputLimit": {
1111            "type": "integer",
1112            "traits": {
1113                "smithy.api#box": {},
1114                "smithy.api#range": {
1115                    "min": 1,
1116                    "max": 10000
1117                }
1118            }
1119        },
1120        "com.amazonaws.kinesisvideo#ListStreamsOutput": {
1121            "type": "structure",
1122            "members": {
1123                "StreamInfoList": {
1124                    "target": "com.amazonaws.kinesisvideo#StreamInfoList",
1125                    "traits": {
1126                        "smithy.api#documentation": "<p>An array of <code>StreamInfo</code> objects.</p>"
1127                    }
1128                },
1129                "NextToken": {
1130                    "target": "com.amazonaws.kinesisvideo#NextToken",
1131                    "traits": {
1132                        "smithy.api#documentation": "<p>If the response is truncated, the call returns this element with a token. To get\n            the next batch of streams, use this token in your next request. </p>"
1133                    }
1134                }
1135            }
1136        },
1137        "com.amazonaws.kinesisvideo#ListTagsForResource": {
1138            "type": "operation",
1139            "input": {
1140                "target": "com.amazonaws.kinesisvideo#ListTagsForResourceInput"
1141            },
1142            "output": {
1143                "target": "com.amazonaws.kinesisvideo#ListTagsForResourceOutput"
1144            },
1145            "errors": [
1146                {
1147                    "target": "com.amazonaws.kinesisvideo#AccessDeniedException"
1148                },
1149                {
1150                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
1151                },
1152                {
1153                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
1154                },
1155                {
1156                    "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException"
1157                }
1158            ],
1159            "traits": {
1160                "smithy.api#documentation": "<p>Returns a list of tags associated with the specified signaling channel.</p>",
1161                "smithy.api#http": {
1162                    "method": "POST",
1163                    "uri": "/ListTagsForResource",
1164                    "code": 200
1165                }
1166            }
1167        },
1168        "com.amazonaws.kinesisvideo#ListTagsForResourceInput": {
1169            "type": "structure",
1170            "members": {
1171                "NextToken": {
1172                    "target": "com.amazonaws.kinesisvideo#NextToken",
1173                    "traits": {
1174                        "smithy.api#documentation": "<p>If you specify this parameter and the result of a <code>ListTagsForResource</code>\n            call is truncated, the response includes a token that you can use in the next request to\n            fetch the next batch of tags. </p>"
1175                    }
1176                },
1177                "ResourceARN": {
1178                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
1179                    "traits": {
1180                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the signaling channel for which you want to list\n            tags.</p>",
1181                        "smithy.api#required": {}
1182                    }
1183                }
1184            }
1185        },
1186        "com.amazonaws.kinesisvideo#ListTagsForResourceOutput": {
1187            "type": "structure",
1188            "members": {
1189                "NextToken": {
1190                    "target": "com.amazonaws.kinesisvideo#NextToken",
1191                    "traits": {
1192                        "smithy.api#documentation": "<p>If you specify this parameter and the result of a <code>ListTagsForResource</code>\n            call is truncated, the response includes a token that you can use in the next request to\n            fetch the next set of tags. </p>"
1193                    }
1194                },
1195                "Tags": {
1196                    "target": "com.amazonaws.kinesisvideo#ResourceTags",
1197                    "traits": {
1198                        "smithy.api#documentation": "<p>A map of tag keys and values associated with the specified signaling channel.</p>"
1199                    }
1200                }
1201            }
1202        },
1203        "com.amazonaws.kinesisvideo#ListTagsForStream": {
1204            "type": "operation",
1205            "input": {
1206                "target": "com.amazonaws.kinesisvideo#ListTagsForStreamInput"
1207            },
1208            "output": {
1209                "target": "com.amazonaws.kinesisvideo#ListTagsForStreamOutput"
1210            },
1211            "errors": [
1212                {
1213                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
1214                },
1215                {
1216                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
1217                },
1218                {
1219                    "target": "com.amazonaws.kinesisvideo#InvalidResourceFormatException"
1220                },
1221                {
1222                    "target": "com.amazonaws.kinesisvideo#NotAuthorizedException"
1223                },
1224                {
1225                    "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException"
1226                }
1227            ],
1228            "traits": {
1229                "smithy.api#documentation": "<p>Returns a list of tags associated with the specified stream.</p>\n        <p>In the request, you must specify either the <code>StreamName</code> or the\n                <code>StreamARN</code>. </p>",
1230                "smithy.api#http": {
1231                    "method": "POST",
1232                    "uri": "/listTagsForStream",
1233                    "code": 200
1234                }
1235            }
1236        },
1237        "com.amazonaws.kinesisvideo#ListTagsForStreamInput": {
1238            "type": "structure",
1239            "members": {
1240                "NextToken": {
1241                    "target": "com.amazonaws.kinesisvideo#NextToken",
1242                    "traits": {
1243                        "smithy.api#documentation": "<p>If you specify this parameter and the result of a <code>ListTagsForStream</code>\n            call is truncated, the response includes a token that you can use in the next request to\n            fetch the next batch of tags.</p>"
1244                    }
1245                },
1246                "StreamARN": {
1247                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
1248                    "traits": {
1249                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the stream that you want to list tags\n            for.</p>"
1250                    }
1251                },
1252                "StreamName": {
1253                    "target": "com.amazonaws.kinesisvideo#StreamName",
1254                    "traits": {
1255                        "smithy.api#documentation": "<p>The name of the stream that you want to list tags for.</p>"
1256                    }
1257                }
1258            }
1259        },
1260        "com.amazonaws.kinesisvideo#ListTagsForStreamOutput": {
1261            "type": "structure",
1262            "members": {
1263                "NextToken": {
1264                    "target": "com.amazonaws.kinesisvideo#NextToken",
1265                    "traits": {
1266                        "smithy.api#documentation": "<p>If you specify this parameter and the result of a <code>ListTags</code> call is\n            truncated, the response includes a token that you can use in the next request to fetch\n            the next set of tags.</p>"
1267                    }
1268                },
1269                "Tags": {
1270                    "target": "com.amazonaws.kinesisvideo#ResourceTags",
1271                    "traits": {
1272                        "smithy.api#documentation": "<p>A map of tag keys and values associated with the specified stream.</p>"
1273                    }
1274                }
1275            }
1276        },
1277        "com.amazonaws.kinesisvideo#MediaType": {
1278            "type": "string",
1279            "traits": {
1280                "smithy.api#length": {
1281                    "min": 1,
1282                    "max": 128
1283                },
1284                "smithy.api#pattern": "[\\w\\-\\.\\+]+/[\\w\\-\\.\\+]+(,[\\w\\-\\.\\+]+/[\\w\\-\\.\\+]+)*"
1285            }
1286        },
1287        "com.amazonaws.kinesisvideo#MessageTtlSeconds": {
1288            "type": "integer",
1289            "traits": {
1290                "smithy.api#box": {},
1291                "smithy.api#range": {
1292                    "min": 5,
1293                    "max": 120
1294                }
1295            }
1296        },
1297        "com.amazonaws.kinesisvideo#NextToken": {
1298            "type": "string",
1299            "traits": {
1300                "smithy.api#length": {
1301                    "min": 0,
1302                    "max": 512
1303                },
1304                "smithy.api#pattern": "[a-zA-Z0-9+/=]*"
1305            }
1306        },
1307        "com.amazonaws.kinesisvideo#NotAuthorizedException": {
1308            "type": "structure",
1309            "members": {
1310                "Message": {
1311                    "target": "com.amazonaws.kinesisvideo#ErrorMessage"
1312                }
1313            },
1314            "traits": {
1315                "smithy.api#documentation": "<p>The caller is not authorized to perform this operation.</p>",
1316                "smithy.api#error": "client",
1317                "smithy.api#httpError": 401
1318            }
1319        },
1320        "com.amazonaws.kinesisvideo#ResourceARN": {
1321            "type": "string",
1322            "traits": {
1323                "smithy.api#length": {
1324                    "min": 1,
1325                    "max": 1024
1326                },
1327                "smithy.api#pattern": "arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+"
1328            }
1329        },
1330        "com.amazonaws.kinesisvideo#ResourceEndpoint": {
1331            "type": "string"
1332        },
1333        "com.amazonaws.kinesisvideo#ResourceEndpointList": {
1334            "type": "list",
1335            "member": {
1336                "target": "com.amazonaws.kinesisvideo#ResourceEndpointListItem"
1337            }
1338        },
1339        "com.amazonaws.kinesisvideo#ResourceEndpointListItem": {
1340            "type": "structure",
1341            "members": {
1342                "Protocol": {
1343                    "target": "com.amazonaws.kinesisvideo#ChannelProtocol",
1344                    "traits": {
1345                        "smithy.api#documentation": "<p>The protocol of the signaling channel returned by the\n                <code>GetSignalingChannelEndpoint</code> API.</p>"
1346                    }
1347                },
1348                "ResourceEndpoint": {
1349                    "target": "com.amazonaws.kinesisvideo#ResourceEndpoint",
1350                    "traits": {
1351                        "smithy.api#documentation": "<p>The endpoint of the signaling channel returned by the\n                <code>GetSignalingChannelEndpoint</code> API.</p>"
1352                    }
1353                }
1354            },
1355            "traits": {
1356                "smithy.api#documentation": "<p>An object that describes the endpoint of the signaling channel returned by the\n                <code>GetSignalingChannelEndpoint</code> API.</p>"
1357            }
1358        },
1359        "com.amazonaws.kinesisvideo#ResourceInUseException": {
1360            "type": "structure",
1361            "members": {
1362                "Message": {
1363                    "target": "com.amazonaws.kinesisvideo#ErrorMessage"
1364                }
1365            },
1366            "traits": {
1367                "smithy.api#documentation": "<p>The signaling channel is currently not available for this operation.</p>",
1368                "smithy.api#error": "client",
1369                "smithy.api#httpError": 400
1370            }
1371        },
1372        "com.amazonaws.kinesisvideo#ResourceNotFoundException": {
1373            "type": "structure",
1374            "members": {
1375                "Message": {
1376                    "target": "com.amazonaws.kinesisvideo#ErrorMessage"
1377                }
1378            },
1379            "traits": {
1380                "smithy.api#documentation": "<p>Amazon Kinesis Video Streams can't find the stream that you specified.</p>",
1381                "smithy.api#error": "client",
1382                "smithy.api#httpError": 404
1383            }
1384        },
1385        "com.amazonaws.kinesisvideo#ResourceTags": {
1386            "type": "map",
1387            "key": {
1388                "target": "com.amazonaws.kinesisvideo#TagKey"
1389            },
1390            "value": {
1391                "target": "com.amazonaws.kinesisvideo#TagValue"
1392            },
1393            "traits": {
1394                "smithy.api#length": {
1395                    "min": 1,
1396                    "max": 50
1397                }
1398            }
1399        },
1400        "com.amazonaws.kinesisvideo#SingleMasterChannelEndpointConfiguration": {
1401            "type": "structure",
1402            "members": {
1403                "Protocols": {
1404                    "target": "com.amazonaws.kinesisvideo#ListOfProtocols",
1405                    "traits": {
1406                        "smithy.api#documentation": "<p>This property is used to determine the nature of communication over this\n                <code>SINGLE_MASTER</code> signaling channel. If <code>WSS</code> is specified, this\n            API returns a websocket endpoint. If <code>HTTPS</code> is specified, this API returns\n            an <code>HTTPS</code> endpoint.</p>"
1407                    }
1408                },
1409                "Role": {
1410                    "target": "com.amazonaws.kinesisvideo#ChannelRole",
1411                    "traits": {
1412                        "smithy.api#documentation": "<p>This property is used to determine messaging permissions in this\n                <code>SINGLE_MASTER</code> signaling channel. If <code>MASTER</code> is specified,\n            this API returns an endpoint that a client can use to receive offers from and send\n            answers to any of the viewers on this signaling channel. If <code>VIEWER</code> is\n            specified, this API returns an endpoint that a client can use only to send offers to\n            another <code>MASTER</code> client on this signaling channel. </p>"
1413                    }
1414                }
1415            },
1416            "traits": {
1417                "smithy.api#documentation": "<p>An object that contains the endpoint configuration for the <code>SINGLE_MASTER</code>\n            channel type. </p>"
1418            }
1419        },
1420        "com.amazonaws.kinesisvideo#SingleMasterConfiguration": {
1421            "type": "structure",
1422            "members": {
1423                "MessageTtlSeconds": {
1424                    "target": "com.amazonaws.kinesisvideo#MessageTtlSeconds",
1425                    "traits": {
1426                        "smithy.api#documentation": "<p>The period of time a signaling channel retains underlivered messages before they are\n            discarded.</p>"
1427                    }
1428                }
1429            },
1430            "traits": {
1431                "smithy.api#documentation": "<p>A structure that contains the configuration for the <code>SINGLE_MASTER</code> channel\n            type.</p>"
1432            }
1433        },
1434        "com.amazonaws.kinesisvideo#Status": {
1435            "type": "string",
1436            "traits": {
1437                "smithy.api#enum": [
1438                    {
1439                        "value": "CREATING",
1440                        "name": "CREATING"
1441                    },
1442                    {
1443                        "value": "ACTIVE",
1444                        "name": "ACTIVE"
1445                    },
1446                    {
1447                        "value": "UPDATING",
1448                        "name": "UPDATING"
1449                    },
1450                    {
1451                        "value": "DELETING",
1452                        "name": "DELETING"
1453                    }
1454                ]
1455            }
1456        },
1457        "com.amazonaws.kinesisvideo#StreamInfo": {
1458            "type": "structure",
1459            "members": {
1460                "DeviceName": {
1461                    "target": "com.amazonaws.kinesisvideo#DeviceName",
1462                    "traits": {
1463                        "smithy.api#documentation": "<p>The name of the device that is associated with the stream.</p>"
1464                    }
1465                },
1466                "StreamName": {
1467                    "target": "com.amazonaws.kinesisvideo#StreamName",
1468                    "traits": {
1469                        "smithy.api#documentation": "<p>The name of the stream.</p>"
1470                    }
1471                },
1472                "StreamARN": {
1473                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
1474                    "traits": {
1475                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the stream.</p>"
1476                    }
1477                },
1478                "MediaType": {
1479                    "target": "com.amazonaws.kinesisvideo#MediaType",
1480                    "traits": {
1481                        "smithy.api#documentation": "<p>The <code>MediaType</code> of the stream. </p>"
1482                    }
1483                },
1484                "KmsKeyId": {
1485                    "target": "com.amazonaws.kinesisvideo#KmsKeyId",
1486                    "traits": {
1487                        "smithy.api#documentation": "<p>The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video Streams\n            uses to encrypt data on the stream.</p>"
1488                    }
1489                },
1490                "Version": {
1491                    "target": "com.amazonaws.kinesisvideo#Version",
1492                    "traits": {
1493                        "smithy.api#documentation": "<p>The version of the stream.</p>"
1494                    }
1495                },
1496                "Status": {
1497                    "target": "com.amazonaws.kinesisvideo#Status",
1498                    "traits": {
1499                        "smithy.api#documentation": "<p>The status of the stream.</p>"
1500                    }
1501                },
1502                "CreationTime": {
1503                    "target": "com.amazonaws.kinesisvideo#Timestamp",
1504                    "traits": {
1505                        "smithy.api#documentation": "<p>A time stamp that indicates when the stream was created.</p>"
1506                    }
1507                },
1508                "DataRetentionInHours": {
1509                    "target": "com.amazonaws.kinesisvideo#DataRetentionInHours",
1510                    "traits": {
1511                        "smithy.api#documentation": "<p>How long the stream retains data, in hours.</p>"
1512                    }
1513                }
1514            },
1515            "traits": {
1516                "smithy.api#documentation": "<p>An object describing a Kinesis video stream.</p>"
1517            }
1518        },
1519        "com.amazonaws.kinesisvideo#StreamInfoList": {
1520            "type": "list",
1521            "member": {
1522                "target": "com.amazonaws.kinesisvideo#StreamInfo"
1523            }
1524        },
1525        "com.amazonaws.kinesisvideo#StreamName": {
1526            "type": "string",
1527            "traits": {
1528                "smithy.api#length": {
1529                    "min": 1,
1530                    "max": 256
1531                },
1532                "smithy.api#pattern": "[a-zA-Z0-9_.-]+"
1533            }
1534        },
1535        "com.amazonaws.kinesisvideo#StreamNameCondition": {
1536            "type": "structure",
1537            "members": {
1538                "ComparisonOperator": {
1539                    "target": "com.amazonaws.kinesisvideo#ComparisonOperator",
1540                    "traits": {
1541                        "smithy.api#documentation": "<p>A comparison operator. Currently, you can specify only the <code>BEGINS_WITH</code>\n            operator, which finds streams whose names start with a given prefix.</p>"
1542                    }
1543                },
1544                "ComparisonValue": {
1545                    "target": "com.amazonaws.kinesisvideo#StreamName",
1546                    "traits": {
1547                        "smithy.api#documentation": "<p>A value to compare.</p>"
1548                    }
1549                }
1550            },
1551            "traits": {
1552                "smithy.api#documentation": "<p>Specifies the condition that streams must satisfy to be returned when you list\n            streams (see the <code>ListStreams</code> API). A condition has a comparison operation\n            and a value. Currently, you can specify only the <code>BEGINS_WITH</code> operator,\n            which finds streams whose names start with a given prefix. </p>"
1553            }
1554        },
1555        "com.amazonaws.kinesisvideo#Tag": {
1556            "type": "structure",
1557            "members": {
1558                "Key": {
1559                    "target": "com.amazonaws.kinesisvideo#TagKey",
1560                    "traits": {
1561                        "smithy.api#documentation": "<p>The key of the tag that is associated with the specified signaling channel.</p>",
1562                        "smithy.api#required": {}
1563                    }
1564                },
1565                "Value": {
1566                    "target": "com.amazonaws.kinesisvideo#TagValue",
1567                    "traits": {
1568                        "smithy.api#documentation": "<p>The value of the tag that is associated with the specified signaling channel.</p>",
1569                        "smithy.api#required": {}
1570                    }
1571                }
1572            },
1573            "traits": {
1574                "smithy.api#documentation": "<p>A key and value pair that is associated with the specified signaling channel.</p>"
1575            }
1576        },
1577        "com.amazonaws.kinesisvideo#TagKey": {
1578            "type": "string",
1579            "traits": {
1580                "smithy.api#length": {
1581                    "min": 1,
1582                    "max": 128
1583                },
1584                "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
1585            }
1586        },
1587        "com.amazonaws.kinesisvideo#TagKeyList": {
1588            "type": "list",
1589            "member": {
1590                "target": "com.amazonaws.kinesisvideo#TagKey"
1591            },
1592            "traits": {
1593                "smithy.api#length": {
1594                    "min": 1,
1595                    "max": 50
1596                }
1597            }
1598        },
1599        "com.amazonaws.kinesisvideo#TagList": {
1600            "type": "list",
1601            "member": {
1602                "target": "com.amazonaws.kinesisvideo#Tag"
1603            },
1604            "traits": {
1605                "smithy.api#length": {
1606                    "min": 1,
1607                    "max": 50
1608                }
1609            }
1610        },
1611        "com.amazonaws.kinesisvideo#TagOnCreateList": {
1612            "type": "list",
1613            "member": {
1614                "target": "com.amazonaws.kinesisvideo#Tag"
1615            },
1616            "traits": {
1617                "smithy.api#length": {
1618                    "min": 0,
1619                    "max": 50
1620                }
1621            }
1622        },
1623        "com.amazonaws.kinesisvideo#TagResource": {
1624            "type": "operation",
1625            "input": {
1626                "target": "com.amazonaws.kinesisvideo#TagResourceInput"
1627            },
1628            "output": {
1629                "target": "com.amazonaws.kinesisvideo#TagResourceOutput"
1630            },
1631            "errors": [
1632                {
1633                    "target": "com.amazonaws.kinesisvideo#AccessDeniedException"
1634                },
1635                {
1636                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
1637                },
1638                {
1639                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
1640                },
1641                {
1642                    "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException"
1643                },
1644                {
1645                    "target": "com.amazonaws.kinesisvideo#TagsPerResourceExceededLimitException"
1646                }
1647            ],
1648            "traits": {
1649                "smithy.api#documentation": "<p>Adds one or more tags to a signaling channel. A <i>tag</i> is a\n            key-value pair (the value is optional) that you can define and assign to AWS resources.\n            If you specify a tag that already exists, the tag value is replaced with the value that\n            you specify in the request. For more information, see <a href=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html\">Using Cost Allocation\n                Tags</a> in the <i>AWS Billing and Cost Management User\n            Guide</i>.</p>",
1650                "smithy.api#http": {
1651                    "method": "POST",
1652                    "uri": "/TagResource",
1653                    "code": 200
1654                }
1655            }
1656        },
1657        "com.amazonaws.kinesisvideo#TagResourceInput": {
1658            "type": "structure",
1659            "members": {
1660                "ResourceARN": {
1661                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
1662                    "traits": {
1663                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the signaling channel to which you want to add\n            tags.</p>",
1664                        "smithy.api#required": {}
1665                    }
1666                },
1667                "Tags": {
1668                    "target": "com.amazonaws.kinesisvideo#TagList",
1669                    "traits": {
1670                        "smithy.api#documentation": "<p>A list of tags to associate with the specified signaling channel. Each tag is a\n            key-value pair.</p>",
1671                        "smithy.api#required": {}
1672                    }
1673                }
1674            }
1675        },
1676        "com.amazonaws.kinesisvideo#TagResourceOutput": {
1677            "type": "structure",
1678            "members": {}
1679        },
1680        "com.amazonaws.kinesisvideo#TagStream": {
1681            "type": "operation",
1682            "input": {
1683                "target": "com.amazonaws.kinesisvideo#TagStreamInput"
1684            },
1685            "output": {
1686                "target": "com.amazonaws.kinesisvideo#TagStreamOutput"
1687            },
1688            "errors": [
1689                {
1690                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
1691                },
1692                {
1693                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
1694                },
1695                {
1696                    "target": "com.amazonaws.kinesisvideo#InvalidResourceFormatException"
1697                },
1698                {
1699                    "target": "com.amazonaws.kinesisvideo#NotAuthorizedException"
1700                },
1701                {
1702                    "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException"
1703                },
1704                {
1705                    "target": "com.amazonaws.kinesisvideo#TagsPerResourceExceededLimitException"
1706                }
1707            ],
1708            "traits": {
1709                "smithy.api#documentation": "<p>Adds one or more tags to a stream. A <i>tag</i> is a key-value pair\n            (the value is optional) that you can define and assign to AWS resources. If you specify\n            a tag that already exists, the tag value is replaced with the value that you specify in\n            the request. For more information, see <a href=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html\">Using Cost Allocation\n                Tags</a> in the <i>AWS Billing and Cost Management User Guide</i>. </p>\n        <p>You must provide either the <code>StreamName</code> or the\n            <code>StreamARN</code>.</p>\n        <p>This operation requires permission for the <code>KinesisVideo:TagStream</code>\n            action.</p>\n        <p>Kinesis video streams support up to 50 tags.</p>",
1710                "smithy.api#http": {
1711                    "method": "POST",
1712                    "uri": "/tagStream",
1713                    "code": 200
1714                }
1715            }
1716        },
1717        "com.amazonaws.kinesisvideo#TagStreamInput": {
1718            "type": "structure",
1719            "members": {
1720                "StreamARN": {
1721                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
1722                    "traits": {
1723                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource that you want to add the tag or tags\n            to.</p>"
1724                    }
1725                },
1726                "StreamName": {
1727                    "target": "com.amazonaws.kinesisvideo#StreamName",
1728                    "traits": {
1729                        "smithy.api#documentation": "<p>The name of the stream that you want to add the tag or tags to.</p>"
1730                    }
1731                },
1732                "Tags": {
1733                    "target": "com.amazonaws.kinesisvideo#ResourceTags",
1734                    "traits": {
1735                        "smithy.api#documentation": "<p>A list of tags to associate with the specified stream. Each tag is a key-value pair\n            (the value is optional).</p>",
1736                        "smithy.api#required": {}
1737                    }
1738                }
1739            }
1740        },
1741        "com.amazonaws.kinesisvideo#TagStreamOutput": {
1742            "type": "structure",
1743            "members": {}
1744        },
1745        "com.amazonaws.kinesisvideo#TagValue": {
1746            "type": "string",
1747            "traits": {
1748                "smithy.api#length": {
1749                    "min": 0,
1750                    "max": 256
1751                },
1752                "smithy.api#pattern": "[\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*"
1753            }
1754        },
1755        "com.amazonaws.kinesisvideo#TagsPerResourceExceededLimitException": {
1756            "type": "structure",
1757            "members": {
1758                "Message": {
1759                    "target": "com.amazonaws.kinesisvideo#ErrorMessage"
1760                }
1761            },
1762            "traits": {
1763                "smithy.api#documentation": "<p>You have exceeded the limit of tags that you can associate with the resource.\n            Kinesis video streams support up to 50 tags. </p>",
1764                "smithy.api#error": "client",
1765                "smithy.api#httpError": 400
1766            }
1767        },
1768        "com.amazonaws.kinesisvideo#Timestamp": {
1769            "type": "timestamp"
1770        },
1771        "com.amazonaws.kinesisvideo#UntagResource": {
1772            "type": "operation",
1773            "input": {
1774                "target": "com.amazonaws.kinesisvideo#UntagResourceInput"
1775            },
1776            "output": {
1777                "target": "com.amazonaws.kinesisvideo#UntagResourceOutput"
1778            },
1779            "errors": [
1780                {
1781                    "target": "com.amazonaws.kinesisvideo#AccessDeniedException"
1782                },
1783                {
1784                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
1785                },
1786                {
1787                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
1788                },
1789                {
1790                    "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException"
1791                }
1792            ],
1793            "traits": {
1794                "smithy.api#documentation": "<p>Removes one or more tags from a signaling channel. In the request, specify only a tag\n            key or keys; don't specify the value. If you specify a tag key that does not exist, it's\n            ignored.</p>",
1795                "smithy.api#http": {
1796                    "method": "POST",
1797                    "uri": "/UntagResource",
1798                    "code": 200
1799                }
1800            }
1801        },
1802        "com.amazonaws.kinesisvideo#UntagResourceInput": {
1803            "type": "structure",
1804            "members": {
1805                "ResourceARN": {
1806                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
1807                    "traits": {
1808                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the signaling channel from which you want to remove\n            tags.</p>",
1809                        "smithy.api#required": {}
1810                    }
1811                },
1812                "TagKeyList": {
1813                    "target": "com.amazonaws.kinesisvideo#TagKeyList",
1814                    "traits": {
1815                        "smithy.api#documentation": "<p>A list of the keys of the tags that you want to remove.</p>",
1816                        "smithy.api#required": {}
1817                    }
1818                }
1819            }
1820        },
1821        "com.amazonaws.kinesisvideo#UntagResourceOutput": {
1822            "type": "structure",
1823            "members": {}
1824        },
1825        "com.amazonaws.kinesisvideo#UntagStream": {
1826            "type": "operation",
1827            "input": {
1828                "target": "com.amazonaws.kinesisvideo#UntagStreamInput"
1829            },
1830            "output": {
1831                "target": "com.amazonaws.kinesisvideo#UntagStreamOutput"
1832            },
1833            "errors": [
1834                {
1835                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
1836                },
1837                {
1838                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
1839                },
1840                {
1841                    "target": "com.amazonaws.kinesisvideo#InvalidResourceFormatException"
1842                },
1843                {
1844                    "target": "com.amazonaws.kinesisvideo#NotAuthorizedException"
1845                },
1846                {
1847                    "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException"
1848                }
1849            ],
1850            "traits": {
1851                "smithy.api#documentation": "<p>Removes one or more tags from a stream. In the request, specify only a tag key or\n            keys; don't specify the value. If you specify a tag key that does not exist, it's\n            ignored.</p>\n        <p>In the request, you must provide the <code>StreamName</code> or\n                <code>StreamARN</code>.</p>",
1852                "smithy.api#http": {
1853                    "method": "POST",
1854                    "uri": "/untagStream",
1855                    "code": 200
1856                }
1857            }
1858        },
1859        "com.amazonaws.kinesisvideo#UntagStreamInput": {
1860            "type": "structure",
1861            "members": {
1862                "StreamARN": {
1863                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
1864                    "traits": {
1865                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the stream that you want to remove tags\n            from.</p>"
1866                    }
1867                },
1868                "StreamName": {
1869                    "target": "com.amazonaws.kinesisvideo#StreamName",
1870                    "traits": {
1871                        "smithy.api#documentation": "<p>The name of the stream that you want to remove tags from.</p>"
1872                    }
1873                },
1874                "TagKeyList": {
1875                    "target": "com.amazonaws.kinesisvideo#TagKeyList",
1876                    "traits": {
1877                        "smithy.api#documentation": "<p>A list of the keys of the tags that you want to remove.</p>",
1878                        "smithy.api#required": {}
1879                    }
1880                }
1881            }
1882        },
1883        "com.amazonaws.kinesisvideo#UntagStreamOutput": {
1884            "type": "structure",
1885            "members": {}
1886        },
1887        "com.amazonaws.kinesisvideo#UpdateDataRetention": {
1888            "type": "operation",
1889            "input": {
1890                "target": "com.amazonaws.kinesisvideo#UpdateDataRetentionInput"
1891            },
1892            "output": {
1893                "target": "com.amazonaws.kinesisvideo#UpdateDataRetentionOutput"
1894            },
1895            "errors": [
1896                {
1897                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
1898                },
1899                {
1900                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
1901                },
1902                {
1903                    "target": "com.amazonaws.kinesisvideo#NotAuthorizedException"
1904                },
1905                {
1906                    "target": "com.amazonaws.kinesisvideo#ResourceInUseException"
1907                },
1908                {
1909                    "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException"
1910                },
1911                {
1912                    "target": "com.amazonaws.kinesisvideo#VersionMismatchException"
1913                }
1914            ],
1915            "traits": {
1916                "smithy.api#documentation": "<p> Increases or decreases the stream's data retention period by the value that you\n            specify. To indicate whether you want to increase or decrease the data retention period,\n            specify the <code>Operation</code> parameter in the request body. In the request, you\n            must specify either the <code>StreamName</code> or the <code>StreamARN</code>. </p>\n        <note>\n            <p>The retention period that you specify replaces the current value.</p>\n        </note>\n\n        <p>This operation requires permission for the\n                <code>KinesisVideo:UpdateDataRetention</code> action.</p>\n\n        <p>Changing the data retention period affects the data in the stream as\n            follows:</p>\n        <ul>\n            <li>\n                <p>If the data retention period is increased, existing data is retained for\n                    the new retention period. For example, if the data retention period is increased\n                    from one hour to seven hours, all existing data is retained for seven\n                    hours.</p>\n            </li>\n            <li>\n                <p>If the data retention period is decreased, existing data is retained for\n                    the new retention period. For example, if the data retention period is decreased\n                    from seven hours to one hour, all existing data is retained for one hour, and\n                    any data older than one hour is deleted immediately.</p>\n            </li>\n         </ul>",
1917                "smithy.api#http": {
1918                    "method": "POST",
1919                    "uri": "/updateDataRetention",
1920                    "code": 200
1921                }
1922            }
1923        },
1924        "com.amazonaws.kinesisvideo#UpdateDataRetentionInput": {
1925            "type": "structure",
1926            "members": {
1927                "StreamName": {
1928                    "target": "com.amazonaws.kinesisvideo#StreamName",
1929                    "traits": {
1930                        "smithy.api#documentation": "<p>The name of the stream whose retention period you want to change.</p>"
1931                    }
1932                },
1933                "StreamARN": {
1934                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
1935                    "traits": {
1936                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the stream whose retention period you want to\n            change.</p>"
1937                    }
1938                },
1939                "CurrentVersion": {
1940                    "target": "com.amazonaws.kinesisvideo#Version",
1941                    "traits": {
1942                        "smithy.api#documentation": "<p>The version of the stream whose retention period you want to change. To get the\n            version, call either the <code>DescribeStream</code> or the <code>ListStreams</code>\n            API.</p>",
1943                        "smithy.api#required": {}
1944                    }
1945                },
1946                "Operation": {
1947                    "target": "com.amazonaws.kinesisvideo#UpdateDataRetentionOperation",
1948                    "traits": {
1949                        "smithy.api#documentation": "<p>Indicates whether you want to increase or decrease the retention period.</p>",
1950                        "smithy.api#required": {}
1951                    }
1952                },
1953                "DataRetentionChangeInHours": {
1954                    "target": "com.amazonaws.kinesisvideo#DataRetentionChangeInHours",
1955                    "traits": {
1956                        "smithy.api#documentation": "<p>The retention period, in hours. The value you specify replaces the current value.\n            The maximum value for this parameter is 87600 (ten years).</p>",
1957                        "smithy.api#required": {}
1958                    }
1959                }
1960            }
1961        },
1962        "com.amazonaws.kinesisvideo#UpdateDataRetentionOperation": {
1963            "type": "string",
1964            "traits": {
1965                "smithy.api#enum": [
1966                    {
1967                        "value": "INCREASE_DATA_RETENTION",
1968                        "name": "INCREASE_DATA_RETENTION"
1969                    },
1970                    {
1971                        "value": "DECREASE_DATA_RETENTION",
1972                        "name": "DECREASE_DATA_RETENTION"
1973                    }
1974                ]
1975            }
1976        },
1977        "com.amazonaws.kinesisvideo#UpdateDataRetentionOutput": {
1978            "type": "structure",
1979            "members": {}
1980        },
1981        "com.amazonaws.kinesisvideo#UpdateSignalingChannel": {
1982            "type": "operation",
1983            "input": {
1984                "target": "com.amazonaws.kinesisvideo#UpdateSignalingChannelInput"
1985            },
1986            "output": {
1987                "target": "com.amazonaws.kinesisvideo#UpdateSignalingChannelOutput"
1988            },
1989            "errors": [
1990                {
1991                    "target": "com.amazonaws.kinesisvideo#AccessDeniedException"
1992                },
1993                {
1994                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
1995                },
1996                {
1997                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
1998                },
1999                {
2000                    "target": "com.amazonaws.kinesisvideo#ResourceInUseException"
2001                },
2002                {
2003                    "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException"
2004                },
2005                {
2006                    "target": "com.amazonaws.kinesisvideo#VersionMismatchException"
2007                }
2008            ],
2009            "traits": {
2010                "smithy.api#documentation": "<p>Updates the existing signaling channel. This is an asynchronous operation and takes\n            time to complete. </p>\n        <p>If the <code>MessageTtlSeconds</code> value is updated (either increased or reduced),\n            it only applies to new messages sent via this channel after it's been updated. Existing\n            messages are still expired as per the previous <code>MessageTtlSeconds</code>\n            value.</p>",
2011                "smithy.api#http": {
2012                    "method": "POST",
2013                    "uri": "/updateSignalingChannel",
2014                    "code": 200
2015                }
2016            }
2017        },
2018        "com.amazonaws.kinesisvideo#UpdateSignalingChannelInput": {
2019            "type": "structure",
2020            "members": {
2021                "ChannelARN": {
2022                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
2023                    "traits": {
2024                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the signaling channel that you want to\n            update.</p>",
2025                        "smithy.api#required": {}
2026                    }
2027                },
2028                "CurrentVersion": {
2029                    "target": "com.amazonaws.kinesisvideo#Version",
2030                    "traits": {
2031                        "smithy.api#documentation": "<p>The current version of the signaling channel that you want to update.</p>",
2032                        "smithy.api#required": {}
2033                    }
2034                },
2035                "SingleMasterConfiguration": {
2036                    "target": "com.amazonaws.kinesisvideo#SingleMasterConfiguration",
2037                    "traits": {
2038                        "smithy.api#documentation": "<p>The structure containing the configuration for the <code>SINGLE_MASTER</code> type of\n            the signaling channel that you want to update. </p>"
2039                    }
2040                }
2041            }
2042        },
2043        "com.amazonaws.kinesisvideo#UpdateSignalingChannelOutput": {
2044            "type": "structure",
2045            "members": {}
2046        },
2047        "com.amazonaws.kinesisvideo#UpdateStream": {
2048            "type": "operation",
2049            "input": {
2050                "target": "com.amazonaws.kinesisvideo#UpdateStreamInput"
2051            },
2052            "output": {
2053                "target": "com.amazonaws.kinesisvideo#UpdateStreamOutput"
2054            },
2055            "errors": [
2056                {
2057                    "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException"
2058                },
2059                {
2060                    "target": "com.amazonaws.kinesisvideo#InvalidArgumentException"
2061                },
2062                {
2063                    "target": "com.amazonaws.kinesisvideo#NotAuthorizedException"
2064                },
2065                {
2066                    "target": "com.amazonaws.kinesisvideo#ResourceInUseException"
2067                },
2068                {
2069                    "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException"
2070                },
2071                {
2072                    "target": "com.amazonaws.kinesisvideo#VersionMismatchException"
2073                }
2074            ],
2075            "traits": {
2076                "smithy.api#documentation": "<p>Updates stream metadata, such as the device name and media type.</p>\n        <p>You must provide the stream name or the Amazon Resource Name (ARN) of the\n            stream.</p>\n        <p>To make sure that you have the latest version of the stream before updating it, you\n            can specify the stream version. Kinesis Video Streams assigns a version to each stream.\n            When you update a stream, Kinesis Video Streams assigns a new version number. To get the\n            latest stream version, use the <code>DescribeStream</code> API. </p>\n        <p>\n            <code>UpdateStream</code> is an asynchronous operation, and takes time to\n            complete.</p>",
2077                "smithy.api#http": {
2078                    "method": "POST",
2079                    "uri": "/updateStream",
2080                    "code": 200
2081                }
2082            }
2083        },
2084        "com.amazonaws.kinesisvideo#UpdateStreamInput": {
2085            "type": "structure",
2086            "members": {
2087                "StreamName": {
2088                    "target": "com.amazonaws.kinesisvideo#StreamName",
2089                    "traits": {
2090                        "smithy.api#documentation": "<p>The name of the stream whose metadata you want to update.</p>\n        <p>The stream name is an identifier for the stream, and must be unique for each\n            account and region.</p>"
2091                    }
2092                },
2093                "StreamARN": {
2094                    "target": "com.amazonaws.kinesisvideo#ResourceARN",
2095                    "traits": {
2096                        "smithy.api#documentation": "<p>The ARN of the stream whose metadata you want to update.</p>"
2097                    }
2098                },
2099                "CurrentVersion": {
2100                    "target": "com.amazonaws.kinesisvideo#Version",
2101                    "traits": {
2102                        "smithy.api#documentation": "<p>The version of the stream whose metadata you want to update.</p>",
2103                        "smithy.api#required": {}
2104                    }
2105                },
2106                "DeviceName": {
2107                    "target": "com.amazonaws.kinesisvideo#DeviceName",
2108                    "traits": {
2109                        "smithy.api#documentation": "<p>The name of the device that is writing to the stream. </p>\n        <note>\n            <p> In the current implementation, Kinesis Video Streams does not use this name.\n            </p>\n        </note>"
2110                    }
2111                },
2112                "MediaType": {
2113                    "target": "com.amazonaws.kinesisvideo#MediaType",
2114                    "traits": {
2115                        "smithy.api#documentation": "<p>The stream's media type. Use <code>MediaType</code> to specify the type of content\n            that the stream contains to the consumers of the stream. For more information about\n            media types, see <a href=\"http://www.iana.org/assignments/media-types/media-types.xhtml\">Media\n                Types</a>. If you choose to specify the <code>MediaType</code>, see <a href=\"https://tools.ietf.org/html/rfc6838#section-4.2\">Naming\n            Requirements</a>.</p>\n        <p>To play video on the console, you must specify the correct video type. For example,\n            if the video in the stream is H.264, specify <code>video/h264</code> as the\n                <code>MediaType</code>.</p>"
2116                    }
2117                }
2118            }
2119        },
2120        "com.amazonaws.kinesisvideo#UpdateStreamOutput": {
2121            "type": "structure",
2122            "members": {}
2123        },
2124        "com.amazonaws.kinesisvideo#Version": {
2125            "type": "string",
2126            "traits": {
2127                "smithy.api#length": {
2128                    "min": 1,
2129                    "max": 64
2130                },
2131                "smithy.api#pattern": "[a-zA-Z0-9]+"
2132            }
2133        },
2134        "com.amazonaws.kinesisvideo#VersionMismatchException": {
2135            "type": "structure",
2136            "members": {
2137                "Message": {
2138                    "target": "com.amazonaws.kinesisvideo#ErrorMessage"
2139                }
2140            },
2141            "traits": {
2142                "smithy.api#documentation": "<p>The stream version that you specified is not the latest version. To get the latest\n            version, use the <a href=\"https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_DescribeStream.html\">DescribeStream</a>\n            API.</p>",
2143                "smithy.api#error": "client",
2144                "smithy.api#httpError": 400
2145            }
2146        }
2147    }
2148}
2149