openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 31.7 kB
JSON
{"openapi":"3.0.0","info":{"version":"2017-09-30","x-release":"v4","title":"Amazon Kinesis Video Streams","description":"<p/>","x-logo":{"url":"https://twitter.com/awscloud/profile_image?size=original","backgroundColor":"#FFFFFF"},"termsOfService":"https://aws.amazon.com/service-terms/","contact":{"name":"Mike Ralphson","email":"mike.ralphson@gmail.com","url":"https://github.com/mermade/aws2openapi","x-twitter":"PermittedSoc"},"license":{"name":"Apache 2.0 License","url":"http://www.apache.org/licenses/"},"x-providerName":"amazonaws.com","x-serviceName":"kinesisvideo","x-origin":[{"contentType":"application/json","url":"https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/kinesisvideo-2017-09-30.normal.json","converter":{"url":"https://github.com/mermade/aws2openapi","version":"1.0.0"},"x-apisguru-direct":true}],"x-apiClientRegistration":{"url":"https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct"},"x-apisguru-categories":["cloud"],"x-preferred":true},"externalDocs":{"description":"Amazon Web Services documentation","url":"https://aws.amazon.com/kinesisvideo/"},"security":[{"hmac":[]}],"paths":{"/createStream":{"post":{"operationId":"CreateStream","description":"<p>Creates a new Kinesis video stream. </p> <p>When you create a new stream, Kinesis Video Streams assigns it a version number. When you change the stream's metadata, Kinesis Video Streams updates the version. </p> <p> <code>CreateStream</code> is an asynchronous operation.</p> <p>For information about how the service works, see <a href=\"http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/how-it-works.html\">How it Works</a>. </p> <p>You must have permissions for the <code>KinesisVideo:CreateStream</code> action.</p>","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateStreamOutput"}}}},"480":{"description":"AccountStreamLimitExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountStreamLimitExceededException"}}}},"481":{"description":"DeviceStreamLimitExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceStreamLimitExceededException"}}}},"482":{"description":"ResourceInUseException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceInUseException"}}}},"483":{"description":"InvalidDeviceException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidDeviceException"}}}},"484":{"description":"InvalidArgumentException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidArgumentException"}}}},"485":{"description":"ClientLimitExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientLimitExceededException"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateStreamInput"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/deleteStream":{"post":{"operationId":"DeleteStream","description":"<p>Deletes a Kinesis video stream and the data contained in the stream. </p> <p>This method marks the stream for deletion, and makes the data in the stream inaccessible immediately.</p> <p> </p> <p> To ensure that you have the latest version of the stream before deleting it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the <code>DescribeStream</code> API. </p> <p>This operation requires permission for the <code>KinesisVideo:DeleteStream</code> action.</p>","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteStreamOutput"}}}},"480":{"description":"ClientLimitExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientLimitExceededException"}}}},"481":{"description":"InvalidArgumentException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidArgumentException"}}}},"482":{"description":"ResourceNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceNotFoundException"}}}},"483":{"description":"NotAuthorizedException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotAuthorizedException"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteStreamInput"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/describeStream":{"post":{"operationId":"DescribeStream","description":"Returns the most current information about the specified stream. You must specify either the <code>StreamName</code> or the <code>StreamARN</code>. ","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DescribeStreamOutput"}}}},"480":{"description":"InvalidArgumentException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidArgumentException"}}}},"481":{"description":"ResourceNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceNotFoundException"}}}},"482":{"description":"ClientLimitExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientLimitExceededException"}}}},"483":{"description":"NotAuthorizedException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotAuthorizedException"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DescribeStreamInput"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/getDataEndpoint":{"post":{"operationId":"GetDataEndpoint","description":"<p>Gets an endpoint for a specified stream for either reading or writing. Use this endpoint in your application to read from the specified stream (using the <code>GetMedia</code> or <code>GetMediaForFragmentList</code> operations) or write to it (using the <code>PutMedia</code> operation). </p> <note> <p>The returned endpoint does not have the API name appended. The client needs to add the API name to the returned endpoint.</p> </note> <p>In the request, specify the stream either by <code>StreamName</code> or <code>StreamARN</code>.</p>","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDataEndpointOutput"}}}},"480":{"description":"InvalidArgumentException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidArgumentException"}}}},"481":{"description":"ResourceNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceNotFoundException"}}}},"482":{"description":"ClientLimitExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientLimitExceededException"}}}},"483":{"description":"NotAuthorizedException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotAuthorizedException"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDataEndpointInput"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/listStreams":{"post":{"operationId":"ListStreams","description":"Returns an array of <code>StreamInfo</code> objects. Each object describes a stream. To retrieve only streams that satisfy a specific condition, you can specify a <code>StreamNameCondition</code>. ","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListStreamsOutput"}}}},"480":{"description":"ClientLimitExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientLimitExceededException"}}}},"481":{"description":"InvalidArgumentException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidArgumentException"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListStreamsInput"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/listTagsForStream":{"post":{"operationId":"ListTagsForStream","description":"<p>Returns a list of tags associated with the specified stream.</p> <p>In the request, you must specify either the <code>StreamName</code> or the <code>StreamARN</code>. </p>","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTagsForStreamOutput"}}}},"480":{"description":"ClientLimitExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientLimitExceededException"}}}},"481":{"description":"InvalidArgumentException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidArgumentException"}}}},"482":{"description":"ResourceNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceNotFoundException"}}}},"483":{"description":"NotAuthorizedException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotAuthorizedException"}}}},"484":{"description":"InvalidResourceFormatException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidResourceFormatException"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTagsForStreamInput"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/tagStream":{"post":{"operationId":"TagStream","description":"<p>Adds one or more tags to a stream. A <i>tag</i> is a key-value pair (the value is optional) that you can define and assign to AWS resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see <a href=\"http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html\">Using Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User Guide</i>. </p> <p>You must provide either the <code>StreamName</code> or the <code>StreamARN</code>.</p> <p>This operation requires permission for the <code>KinesisVideo:TagStream</code> action.</p> <p>Kinesis video streams support up to 50 tags.</p>","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagStreamOutput"}}}},"480":{"description":"ClientLimitExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientLimitExceededException"}}}},"481":{"description":"InvalidArgumentException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidArgumentException"}}}},"482":{"description":"ResourceNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceNotFoundException"}}}},"483":{"description":"NotAuthorizedException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotAuthorizedException"}}}},"484":{"description":"InvalidResourceFormatException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidResourceFormatException"}}}},"485":{"description":"TagsPerResourceExceededLimitException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagsPerResourceExceededLimitException"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagStreamInput"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/untagStream":{"post":{"operationId":"UntagStream","description":"<p>Removes one or more tags from a stream. In the request, specify only a tag key or keys; don't specify the value. If you specify a tag key that does not exist, it's ignored.</p> <p>In the request, you must provide the <code>StreamName</code> or <code>StreamARN</code>.</p>","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UntagStreamOutput"}}}},"480":{"description":"ClientLimitExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientLimitExceededException"}}}},"481":{"description":"InvalidArgumentException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidArgumentException"}}}},"482":{"description":"ResourceNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceNotFoundException"}}}},"483":{"description":"NotAuthorizedException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotAuthorizedException"}}}},"484":{"description":"InvalidResourceFormatException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidResourceFormatException"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UntagStreamInput"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/updateDataRetention":{"post":{"operationId":"UpdateDataRetention","description":"<p> Increases or decreases the stream's data retention period by the value that you specify. To indicate whether you want to increase or decrease the data retention period, specify the <code>Operation</code> parameter in the request body. In the request, you must specify either the <code>StreamName</code> or the <code>StreamARN</code>. </p> <note> <p>The retention period that you specify replaces the current value.</p> </note> <p>This operation requires permission for the <code>KinesisVideo:UpdateDataRetention</code> action.</p> <p>Changing the data retention period affects the data in the stream as follows:</p> <ul> <li> <p>If the data retention period is increased, existing data is retained for the new retention period. For example, if the data retention period is increased from one hour to seven hours, all existing data is retained for seven hours.</p> </li> <li> <p>If the data retention period is decreased, existing data is retained for the new retention period. For example, if the data retention period is decreased from seven hours to one hour, all existing data is retained for one hour, and any data older than one hour is deleted immediately.</p> </li> </ul>","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDataRetentionOutput"}}}},"480":{"description":"ClientLimitExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientLimitExceededException"}}}},"481":{"description":"InvalidArgumentException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidArgumentException"}}}},"482":{"description":"ResourceNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceNotFoundException"}}}},"483":{"description":"ResourceInUseException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceInUseException"}}}},"484":{"description":"NotAuthorizedException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotAuthorizedException"}}}},"485":{"description":"VersionMismatchException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionMismatchException"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDataRetentionInput"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/updateStream":{"post":{"operationId":"UpdateStream","description":"<p>Updates stream metadata, such as the device name and media type.</p> <p>You must provide the stream name or the Amazon Resource Name (ARN) of the stream.</p> <p>To make sure that you have the latest version of the stream before updating it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the <code>DescribeStream</code> API. </p> <p> <code>UpdateStream</code> is an asynchronous operation, and takes time to complete.</p>","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStreamOutput"}}}},"480":{"description":"ClientLimitExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientLimitExceededException"}}}},"481":{"description":"InvalidArgumentException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidArgumentException"}}}},"482":{"description":"ResourceNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceNotFoundException"}}}},"483":{"description":"ResourceInUseException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceInUseException"}}}},"484":{"description":"NotAuthorizedException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotAuthorizedException"}}}},"485":{"description":"VersionMismatchException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionMismatchException"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStreamInput"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]}},"servers":[{"url":"https://kinesisvideo.amazonaws.com/"},{"url":"http://kinesisvideo.amazonaws.com/"}],"components":{"parameters":{"Action":{"name":"Action","in":"query","required":true,"schema":{"type":"string"}},"Version":{"name":"Version","in":"query","required":true,"schema":{"type":"string"}},"X-Amz-Content-Sha256":{"name":"X-Amz-Content-Sha256","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Date":{"name":"X-Amz-Date","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Algorithm":{"name":"X-Amz-Algorithm","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Credential":{"name":"X-Amz-Credential","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Security-Token":{"name":"X-Amz-Security-Token","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Signature":{"name":"X-Amz-Signature","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-SignedHeaders":{"name":"X-Amz-SignedHeaders","in":"header","required":false,"schema":{"type":"string"}}},"securitySchemes":{"hmac":{"type":"apiKey","name":"Authorization","in":"header","description":"Amazon Signature authorization v4","x-amazon-apigateway-authtype":"awsSigv4"}},"schemas":{"CreateStreamOutput":{"type":"object","properties":{"StreamARN":{"$ref":"#/components/schemas/ResourceARN"}}},"CreateStreamInput":{"type":"object","required":["StreamName"],"properties":{"DeviceName":{"$ref":"#/components/schemas/DeviceName"},"StreamName":{"$ref":"#/components/schemas/StreamName"},"MediaType":{"$ref":"#/components/schemas/MediaType"},"KmsKeyId":{"$ref":"#/components/schemas/KmsKeyId"},"DataRetentionInHours":{"$ref":"#/components/schemas/DataRetentionInHours"}}},"AccountStreamLimitExceededException":{"type":"object","properties":{"Message":{"$ref":"#/components/schemas/ErrorMessage"}},"description":"The number of streams created for the account is too high."},"DeviceStreamLimitExceededException":{"type":"object","properties":{"Message":{"$ref":"#/components/schemas/ErrorMessage"}},"description":"Not implemented. "},"ResourceInUseException":{"type":"object","properties":{"Message":{"$ref":"#/components/schemas/ErrorMessage"}},"description":"The stream is currently not available for this operation."},"InvalidDeviceException":{"type":"object","properties":{"Message":{"$ref":"#/components/schemas/ErrorMessage"}},"description":"Not implemented."},"InvalidArgumentException":{"type":"object","properties":{"Message":{"$ref":"#/components/schemas/ErrorMessage"}},"description":"The value for this input parameter is invalid."},"ClientLimitExceededException":{"type":"object","properties":{"Message":{"$ref":"#/components/schemas/ErrorMessage"}},"description":"Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client calls. Try making the call later."},"DeleteStreamOutput":{"type":"object","properties":{}},"DeleteStreamInput":{"type":"object","required":["StreamARN"],"properties":{"StreamARN":{"$ref":"#/components/schemas/ResourceARN"},"CurrentVersion":{"$ref":"#/components/schemas/Version"}}},"ResourceNotFoundException":{"type":"object","properties":{"Message":{"$ref":"#/components/schemas/ErrorMessage"}},"description":"Amazon Kinesis Video Streams can't find the stream that you specified."},"NotAuthorizedException":{"type":"object","properties":{"Message":{"$ref":"#/components/schemas/ErrorMessage"}},"description":"The caller is not authorized to perform this operation."},"DescribeStreamOutput":{"type":"object","properties":{"StreamInfo":{"$ref":"#/components/schemas/StreamInfo"}}},"DescribeStreamInput":{"type":"object","properties":{"StreamName":{"$ref":"#/components/schemas/StreamName"},"StreamARN":{"$ref":"#/components/schemas/ResourceARN"}}},"GetDataEndpointOutput":{"type":"object","properties":{"DataEndpoint":{"$ref":"#/components/schemas/DataEndpoint"}}},"GetDataEndpointInput":{"type":"object","required":["APIName"],"properties":{"StreamName":{"$ref":"#/components/schemas/StreamName"},"StreamARN":{"$ref":"#/components/schemas/ResourceARN"},"APIName":{"$ref":"#/components/schemas/APIName"}}},"ListStreamsOutput":{"type":"object","properties":{"StreamInfoList":{"$ref":"#/components/schemas/StreamInfoList"},"NextToken":{"$ref":"#/components/schemas/NextToken"}}},"ListStreamsInput":{"type":"object","properties":{"MaxResults":{"$ref":"#/components/schemas/ListStreamsInputLimit"},"NextToken":{"$ref":"#/components/schemas/NextToken"},"StreamNameCondition":{"$ref":"#/components/schemas/StreamNameCondition"}}},"ListTagsForStreamOutput":{"type":"object","properties":{"NextToken":{"$ref":"#/components/schemas/NextToken"},"Tags":{"$ref":"#/components/schemas/ResourceTags"}}},"ListTagsForStreamInput":{"type":"object","properties":{"NextToken":{"$ref":"#/components/schemas/NextToken"},"StreamARN":{"$ref":"#/components/schemas/ResourceARN"},"StreamName":{"$ref":"#/components/schemas/StreamName"}}},"InvalidResourceFormatException":{"type":"object","properties":{"Message":{"$ref":"#/components/schemas/ErrorMessage"}},"description":"The format of the <code>StreamARN</code> is invalid."},"TagStreamOutput":{"type":"object","properties":{}},"TagStreamInput":{"type":"object","required":["Tags"],"properties":{"StreamARN":{"$ref":"#/components/schemas/ResourceARN"},"StreamName":{"$ref":"#/components/schemas/StreamName"},"Tags":{"$ref":"#/components/schemas/ResourceTags"}}},"TagsPerResourceExceededLimitException":{"type":"object","properties":{"Message":{"$ref":"#/components/schemas/ErrorMessage"}},"description":"You have exceeded the limit of tags that you can associate with the resource. Kinesis video streams support up to 50 tags. "},"UntagStreamOutput":{"type":"object","properties":{}},"UntagStreamInput":{"type":"object","required":["TagKeyList"],"properties":{"StreamARN":{"$ref":"#/components/schemas/ResourceARN"},"StreamName":{"$ref":"#/components/schemas/StreamName"},"TagKeyList":{"$ref":"#/components/schemas/TagKeyList"}}},"UpdateDataRetentionOutput":{"type":"object","properties":{}},"UpdateDataRetentionInput":{"type":"object","required":["CurrentVersion","Operation","DataRetentionChangeInHours"],"properties":{"StreamName":{"$ref":"#/components/schemas/StreamName"},"StreamARN":{"$ref":"#/components/schemas/ResourceARN"},"CurrentVersion":{"$ref":"#/components/schemas/Version"},"Operation":{"$ref":"#/components/schemas/UpdateDataRetentionOperation"},"DataRetentionChangeInHours":{"$ref":"#/components/schemas/DataRetentionChangeInHours"}}},"VersionMismatchException":{"type":"object","properties":{"Message":{"$ref":"#/components/schemas/ErrorMessage"}},"description":"The stream version that you specified is not the latest version. To get the latest version, use the <a href=\"http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_DescribeStream.html\">DescribeStream</a> API."},"UpdateStreamOutput":{"type":"object","properties":{}},"UpdateStreamInput":{"type":"object","required":["CurrentVersion"],"properties":{"StreamName":{"$ref":"#/components/schemas/StreamName"},"StreamARN":{"$ref":"#/components/schemas/ResourceARN"},"CurrentVersion":{"$ref":"#/components/schemas/Version"},"DeviceName":{"$ref":"#/components/schemas/DeviceName"},"MediaType":{"$ref":"#/components/schemas/MediaType"}}},"APIName":{"type":"string","enum":["PUT_MEDIA","GET_MEDIA","LIST_FRAGMENTS","GET_MEDIA_FOR_FRAGMENT_LIST","GET_HLS_STREAMING_SESSION_URL"]},"ErrorMessage":{"type":"string"},"ComparisonOperator":{"type":"string","enum":["BEGINS_WITH"]},"DeviceName":{"type":"string","pattern":"[a-zA-Z0-9_.-]+","minLength":1,"maxLength":128},"StreamName":{"type":"string","pattern":"[a-zA-Z0-9_.-]+","minLength":1,"maxLength":256},"MediaType":{"type":"string","pattern":"[\\w\\-\\.\\+]+/[\\w\\-\\.\\+]+","minLength":1,"maxLength":128},"KmsKeyId":{"type":"string","minLength":1,"maxLength":2048},"DataRetentionInHours":{"type":"integer","minimum":0},"ResourceARN":{"type":"string","pattern":"arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+","minLength":1,"maxLength":1024},"DataEndpoint":{"type":"string"},"DataRetentionChangeInHours":{"type":"integer","minimum":1},"Version":{"type":"string","pattern":"[a-zA-Z0-9]+","minLength":1,"maxLength":64},"StreamInfo":{"type":"object","properties":{"DeviceName":{"$ref":"#/components/schemas/DeviceName"},"StreamName":{"$ref":"#/components/schemas/StreamName"},"StreamARN":{"$ref":"#/components/schemas/ResourceARN"},"MediaType":{"$ref":"#/components/schemas/MediaType"},"KmsKeyId":{"$ref":"#/components/schemas/KmsKeyId"},"Version":{"$ref":"#/components/schemas/Version"},"Status":{"$ref":"#/components/schemas/Status"},"CreationTime":{"$ref":"#/components/schemas/Timestamp"},"DataRetentionInHours":{"$ref":"#/components/schemas/DataRetentionInHours"}},"description":"An object describing a Kinesis video stream."},"ListStreamsInputLimit":{"type":"integer","minimum":1,"maximum":10000},"NextToken":{"type":"string","minLength":0,"maxLength":512},"StreamNameCondition":{"type":"object","properties":{"ComparisonOperator":{"$ref":"#/components/schemas/ComparisonOperator"},"ComparisonValue":{"$ref":"#/components/schemas/StreamName"}},"description":"Specifies the condition that streams must satisfy to be returned when you list streams (see the <code>ListStreams</code> API). A condition has a comparison operation and a value. Currently, you can specify only the <code>BEGINS_WITH</code> operator, which finds streams whose names start with a given prefix. "},"StreamInfoList":{"type":"array","items":{"$ref":"#/components/schemas/StreamInfo"}},"ResourceTags":{"type":"array","minItems":1,"maxItems":50,"items":{"type":"object","properties":{"key":{"$ref":"#/components/schemas/TagKey"},"value":{"$ref":"#/components/schemas/TagValue"}}}},"TagKey":{"type":"string","minLength":1,"maxLength":128},"TagValue":{"type":"string","minLength":0,"maxLength":256},"Status":{"type":"string","enum":["CREATING","ACTIVE","UPDATING","DELETING"]},"Timestamp":{"type":"string","format":"date-time"},"TagKeyList":{"type":"array","items":{"$ref":"#/components/schemas/TagKey"},"minItems":1,"maxItems":50},"UpdateDataRetentionOperation":{"type":"string","enum":["INCREASE_DATA_RETENTION","DECREASE_DATA_RETENTION"]}}}}