{ "version":"2.0", "metadata":{ "apiVersion":"2017-09-30", "endpointPrefix":"kinesisvideo", "protocol":"rest-json", "serviceAbbreviation":"Kinesis Video", "serviceFullName":"Amazon Kinesis Video Streams", "serviceId":"Kinesis Video", "signatureVersion":"v4", "uid":"kinesisvideo-2017-09-30" }, "operations":{ "CreateSignalingChannel":{ "name":"CreateSignalingChannel", "http":{ "method":"POST", "requestUri":"/createSignalingChannel" }, "input":{"shape":"CreateSignalingChannelInput"}, "output":{"shape":"CreateSignalingChannelOutput"}, "errors":[ {"shape":"InvalidArgumentException"}, {"shape":"ClientLimitExceededException"}, {"shape":"AccountChannelLimitExceededException"}, {"shape":"ResourceInUseException"}, {"shape":"AccessDeniedException"}, {"shape":"TagsPerResourceExceededLimitException"} ], "documentation":"

Creates a signaling channel.

CreateSignalingChannel is an asynchronous operation.

" }, "CreateStream":{ "name":"CreateStream", "http":{ "method":"POST", "requestUri":"/createStream" }, "input":{"shape":"CreateStreamInput"}, "output":{"shape":"CreateStreamOutput"}, "errors":[ {"shape":"AccountStreamLimitExceededException"}, {"shape":"DeviceStreamLimitExceededException"}, {"shape":"ResourceInUseException"}, {"shape":"InvalidDeviceException"}, {"shape":"InvalidArgumentException"}, {"shape":"ClientLimitExceededException"}, {"shape":"TagsPerResourceExceededLimitException"} ], "documentation":"

Creates a new Kinesis video stream.

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.

CreateStream is an asynchronous operation.

For information about how the service works, see How it Works.

You must have permissions for the KinesisVideo:CreateStream action.

" }, "DeleteSignalingChannel":{ "name":"DeleteSignalingChannel", "http":{ "method":"POST", "requestUri":"/deleteSignalingChannel" }, "input":{"shape":"DeleteSignalingChannelInput"}, "output":{"shape":"DeleteSignalingChannelOutput"}, "errors":[ {"shape":"InvalidArgumentException"}, {"shape":"ClientLimitExceededException"}, {"shape":"ResourceNotFoundException"}, {"shape":"AccessDeniedException"}, {"shape":"VersionMismatchException"}, {"shape":"ResourceInUseException"} ], "documentation":"

Deletes a specified signaling channel. DeleteSignalingChannel is an asynchronous operation. If you don't specify the channel's current version, the most recent version is deleted.

" }, "DeleteStream":{ "name":"DeleteStream", "http":{ "method":"POST", "requestUri":"/deleteStream" }, "input":{"shape":"DeleteStreamInput"}, "output":{"shape":"DeleteStreamOutput"}, "errors":[ {"shape":"ClientLimitExceededException"}, {"shape":"InvalidArgumentException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"VersionMismatchException"}, {"shape":"ResourceInUseException"} ], "documentation":"

Deletes a Kinesis video stream and the data contained in the stream.

This method marks the stream for deletion, and makes the data in the stream inaccessible immediately.

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 DescribeStream API.

This operation requires permission for the KinesisVideo:DeleteStream action.

" }, "DescribeSignalingChannel":{ "name":"DescribeSignalingChannel", "http":{ "method":"POST", "requestUri":"/describeSignalingChannel" }, "input":{"shape":"DescribeSignalingChannelInput"}, "output":{"shape":"DescribeSignalingChannelOutput"}, "errors":[ {"shape":"InvalidArgumentException"}, {"shape":"ClientLimitExceededException"}, {"shape":"ResourceNotFoundException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Returns the most current information about the signaling channel. You must specify either the name or the Amazon Resource Name (ARN) of the channel that you want to describe.

" }, "DescribeStream":{ "name":"DescribeStream", "http":{ "method":"POST", "requestUri":"/describeStream" }, "input":{"shape":"DescribeStreamInput"}, "output":{"shape":"DescribeStreamOutput"}, "errors":[ {"shape":"InvalidArgumentException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ClientLimitExceededException"}, {"shape":"NotAuthorizedException"} ], "documentation":"

Returns the most current information about the specified stream. You must specify either the StreamName or the StreamARN.

" }, "GetDataEndpoint":{ "name":"GetDataEndpoint", "http":{ "method":"POST", "requestUri":"/getDataEndpoint" }, "input":{"shape":"GetDataEndpointInput"}, "output":{"shape":"GetDataEndpointOutput"}, "errors":[ {"shape":"InvalidArgumentException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ClientLimitExceededException"}, {"shape":"NotAuthorizedException"} ], "documentation":"

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 GetMedia or GetMediaForFragmentList operations) or write to it (using the PutMedia operation).

The returned endpoint does not have the API name appended. The client needs to add the API name to the returned endpoint.

In the request, specify the stream either by StreamName or StreamARN.

" }, "GetSignalingChannelEndpoint":{ "name":"GetSignalingChannelEndpoint", "http":{ "method":"POST", "requestUri":"/getSignalingChannelEndpoint" }, "input":{"shape":"GetSignalingChannelEndpointInput"}, "output":{"shape":"GetSignalingChannelEndpointOutput"}, "errors":[ {"shape":"InvalidArgumentException"}, {"shape":"ClientLimitExceededException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ResourceInUseException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Provides an endpoint for the specified signaling channel to send and receive messages. This API uses the SingleMasterChannelEndpointConfiguration input parameter, which consists of the Protocols and Role properties.

Protocols is used to determine the communication mechanism. For example, if you specify WSS as the protocol, this API produces a secure websocket endpoint. If you specify HTTPS as the protocol, this API generates an HTTPS endpoint.

Role determines the messaging permissions. A MASTER role results in this API generating an endpoint that a client can use to communicate with any of the viewers on the channel. A VIEWER role results in this API generating an endpoint that a client can use to communicate only with a MASTER.

" }, "ListSignalingChannels":{ "name":"ListSignalingChannels", "http":{ "method":"POST", "requestUri":"/listSignalingChannels" }, "input":{"shape":"ListSignalingChannelsInput"}, "output":{"shape":"ListSignalingChannelsOutput"}, "errors":[ {"shape":"InvalidArgumentException"}, {"shape":"ClientLimitExceededException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Returns an array of ChannelInfo objects. Each object describes a signaling channel. To retrieve only those channels that satisfy a specific condition, you can specify a ChannelNameCondition.

" }, "ListStreams":{ "name":"ListStreams", "http":{ "method":"POST", "requestUri":"/listStreams" }, "input":{"shape":"ListStreamsInput"}, "output":{"shape":"ListStreamsOutput"}, "errors":[ {"shape":"ClientLimitExceededException"}, {"shape":"InvalidArgumentException"} ], "documentation":"

Returns an array of StreamInfo objects. Each object describes a stream. To retrieve only streams that satisfy a specific condition, you can specify a StreamNameCondition.

" }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ "method":"POST", "requestUri":"/ListTagsForResource" }, "input":{"shape":"ListTagsForResourceInput"}, "output":{"shape":"ListTagsForResourceOutput"}, "errors":[ {"shape":"InvalidArgumentException"}, {"shape":"ClientLimitExceededException"}, {"shape":"ResourceNotFoundException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Returns a list of tags associated with the specified signaling channel.

" }, "ListTagsForStream":{ "name":"ListTagsForStream", "http":{ "method":"POST", "requestUri":"/listTagsForStream" }, "input":{"shape":"ListTagsForStreamInput"}, "output":{"shape":"ListTagsForStreamOutput"}, "errors":[ {"shape":"ClientLimitExceededException"}, {"shape":"InvalidArgumentException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"InvalidResourceFormatException"} ], "documentation":"

Returns a list of tags associated with the specified stream.

In the request, you must specify either the StreamName or the StreamARN.

" }, "TagResource":{ "name":"TagResource", "http":{ "method":"POST", "requestUri":"/TagResource" }, "input":{"shape":"TagResourceInput"}, "output":{"shape":"TagResourceOutput"}, "errors":[ {"shape":"InvalidArgumentException"}, {"shape":"ClientLimitExceededException"}, {"shape":"ResourceNotFoundException"}, {"shape":"AccessDeniedException"}, {"shape":"TagsPerResourceExceededLimitException"} ], "documentation":"

Adds one or more tags to a signaling channel. A tag 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 Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

" }, "TagStream":{ "name":"TagStream", "http":{ "method":"POST", "requestUri":"/tagStream" }, "input":{"shape":"TagStreamInput"}, "output":{"shape":"TagStreamOutput"}, "errors":[ {"shape":"ClientLimitExceededException"}, {"shape":"InvalidArgumentException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"InvalidResourceFormatException"}, {"shape":"TagsPerResourceExceededLimitException"} ], "documentation":"

Adds one or more tags to a stream. A tag 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 Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

You must provide either the StreamName or the StreamARN.

This operation requires permission for the KinesisVideo:TagStream action.

Kinesis video streams support up to 50 tags.

" }, "UntagResource":{ "name":"UntagResource", "http":{ "method":"POST", "requestUri":"/UntagResource" }, "input":{"shape":"UntagResourceInput"}, "output":{"shape":"UntagResourceOutput"}, "errors":[ {"shape":"InvalidArgumentException"}, {"shape":"ClientLimitExceededException"}, {"shape":"ResourceNotFoundException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Removes one or more tags from a signaling channel. 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.

" }, "UntagStream":{ "name":"UntagStream", "http":{ "method":"POST", "requestUri":"/untagStream" }, "input":{"shape":"UntagStreamInput"}, "output":{"shape":"UntagStreamOutput"}, "errors":[ {"shape":"ClientLimitExceededException"}, {"shape":"InvalidArgumentException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"InvalidResourceFormatException"} ], "documentation":"

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.

In the request, you must provide the StreamName or StreamARN.

" }, "UpdateDataRetention":{ "name":"UpdateDataRetention", "http":{ "method":"POST", "requestUri":"/updateDataRetention" }, "input":{"shape":"UpdateDataRetentionInput"}, "output":{"shape":"UpdateDataRetentionOutput"}, "errors":[ {"shape":"ClientLimitExceededException"}, {"shape":"InvalidArgumentException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ResourceInUseException"}, {"shape":"NotAuthorizedException"}, {"shape":"VersionMismatchException"} ], "documentation":"

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 Operation parameter in the request body. In the request, you must specify either the StreamName or the StreamARN.

The retention period that you specify replaces the current value.

This operation requires permission for the KinesisVideo:UpdateDataRetention action.

Changing the data retention period affects the data in the stream as follows:

" }, "UpdateSignalingChannel":{ "name":"UpdateSignalingChannel", "http":{ "method":"POST", "requestUri":"/updateSignalingChannel" }, "input":{"shape":"UpdateSignalingChannelInput"}, "output":{"shape":"UpdateSignalingChannelOutput"}, "errors":[ {"shape":"InvalidArgumentException"}, {"shape":"ClientLimitExceededException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ResourceInUseException"}, {"shape":"AccessDeniedException"}, {"shape":"VersionMismatchException"} ], "documentation":"

Updates the existing signaling channel. This is an asynchronous operation and takes time to complete.

If the MessageTtlSeconds value is updated (either increased or reduced), it only applies to new messages sent via this channel after it's been updated. Existing messages are still expired as per the previous MessageTtlSeconds value.

" }, "UpdateStream":{ "name":"UpdateStream", "http":{ "method":"POST", "requestUri":"/updateStream" }, "input":{"shape":"UpdateStreamInput"}, "output":{"shape":"UpdateStreamOutput"}, "errors":[ {"shape":"ClientLimitExceededException"}, {"shape":"InvalidArgumentException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ResourceInUseException"}, {"shape":"NotAuthorizedException"}, {"shape":"VersionMismatchException"} ], "documentation":"

Updates stream metadata, such as the device name and media type.

You must provide the stream name or the Amazon Resource Name (ARN) of the stream.

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 DescribeStream API.

UpdateStream is an asynchronous operation, and takes time to complete.

" } }, "shapes":{ "APIName":{ "type":"string", "enum":[ "PUT_MEDIA", "GET_MEDIA", "LIST_FRAGMENTS", "GET_MEDIA_FOR_FRAGMENT_LIST", "GET_HLS_STREAMING_SESSION_URL", "GET_DASH_STREAMING_SESSION_URL", "GET_CLIP" ] }, "AccessDeniedException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

You do not have required permissions to perform this operation.

", "error":{"httpStatusCode":401}, "exception":true }, "AccountChannelLimitExceededException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

You have reached the maximum limit of active signaling channels for this AWS account in this region.

", "error":{"httpStatusCode":400}, "exception":true }, "AccountStreamLimitExceededException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

The number of streams created for the account is too high.

", "error":{"httpStatusCode":400}, "exception":true }, "ChannelInfo":{ "type":"structure", "members":{ "ChannelName":{ "shape":"ChannelName", "documentation":"

The name of the signaling channel.

" }, "ChannelARN":{ "shape":"ResourceARN", "documentation":"

The Amazon Resource Name (ARN) of the signaling channel.

" }, "ChannelType":{ "shape":"ChannelType", "documentation":"

The type of the signaling channel.

" }, "ChannelStatus":{ "shape":"Status", "documentation":"

Current status of the signaling channel.

" }, "CreationTime":{ "shape":"Timestamp", "documentation":"

The time at which the signaling channel was created.

" }, "SingleMasterConfiguration":{ "shape":"SingleMasterConfiguration", "documentation":"

A structure that contains the configuration for the SINGLE_MASTER channel type.

" }, "Version":{ "shape":"Version", "documentation":"

The current version of the signaling channel.

" } }, "documentation":"

A structure that encapsulates a signaling channel's metadata and properties.

" }, "ChannelInfoList":{ "type":"list", "member":{"shape":"ChannelInfo"} }, "ChannelName":{ "type":"string", "max":256, "min":1, "pattern":"[a-zA-Z0-9_.-]+" }, "ChannelNameCondition":{ "type":"structure", "members":{ "ComparisonOperator":{ "shape":"ComparisonOperator", "documentation":"

A comparison operator. Currently, you can only specify the BEGINS_WITH operator, which finds signaling channels whose names begin with a given prefix.

" }, "ComparisonValue":{ "shape":"ChannelName", "documentation":"

A value to compare.

" } }, "documentation":"

An optional input parameter for the ListSignalingChannels API. When this parameter is specified while invoking ListSignalingChannels, the API returns only the channels that satisfy a condition specified in ChannelNameCondition.

" }, "ChannelProtocol":{ "type":"string", "enum":[ "WSS", "HTTPS" ] }, "ChannelRole":{ "type":"string", "enum":[ "MASTER", "VIEWER" ] }, "ChannelType":{ "type":"string", "enum":["SINGLE_MASTER"] }, "ClientLimitExceededException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client calls. Try making the call later.

", "error":{"httpStatusCode":400}, "exception":true }, "ComparisonOperator":{ "type":"string", "enum":["BEGINS_WITH"] }, "CreateSignalingChannelInput":{ "type":"structure", "required":["ChannelName"], "members":{ "ChannelName":{ "shape":"ChannelName", "documentation":"

A name for the signaling channel that you are creating. It must be unique for each AWS account and AWS Region.

" }, "ChannelType":{ "shape":"ChannelType", "documentation":"

A type of the signaling channel that you are creating. Currently, SINGLE_MASTER is the only supported channel type.

" }, "SingleMasterConfiguration":{ "shape":"SingleMasterConfiguration", "documentation":"

A structure containing the configuration for the SINGLE_MASTER channel type.

" }, "Tags":{ "shape":"TagOnCreateList", "documentation":"

A set of tags (key-value pairs) that you want to associate with this channel.

" } } }, "CreateSignalingChannelOutput":{ "type":"structure", "members":{ "ChannelARN":{ "shape":"ResourceARN", "documentation":"

The Amazon Resource Name (ARN) of the created channel.

" } } }, "CreateStreamInput":{ "type":"structure", "required":["StreamName"], "members":{ "DeviceName":{ "shape":"DeviceName", "documentation":"

The name of the device that is writing to the stream.

In the current implementation, Kinesis Video Streams does not use this name.

" }, "StreamName":{ "shape":"StreamName", "documentation":"

A name for the stream that you are creating.

The stream name is an identifier for the stream, and must be unique for each account and region.

" }, "MediaType":{ "shape":"MediaType", "documentation":"

The media type of the stream. Consumers of the stream can use this information when processing the stream. For more information about media types, see Media Types. If you choose to specify the MediaType, see Naming Requirements for guidelines.

Example valid values include \"video/h264\" and \"video/h264,audio/aac\".

This parameter is optional; the default value is null (or empty in JSON).

" }, "KmsKeyId":{ "shape":"KmsKeyId", "documentation":"

The ID of the AWS Key Management Service (AWS KMS) key that you want Kinesis Video Streams to use to encrypt stream data.

If no key ID is specified, the default, Kinesis Video-managed key (aws/kinesisvideo) is used.

For more information, see DescribeKey.

" }, "DataRetentionInHours":{ "shape":"DataRetentionInHours", "documentation":"

The number of hours that you want to retain the data in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream.

The default value is 0, indicating that the stream does not persist data.

When the DataRetentionInHours value is 0, consumers can still consume the fragments that remain in the service host buffer, which has a retention time limit of 5 minutes and a retention memory limit of 200 MB. Fragments are removed from the buffer when either limit is reached.

" }, "Tags":{ "shape":"ResourceTags", "documentation":"

A list of tags to associate with the specified stream. Each tag is a key-value pair (the value is optional).

" } } }, "CreateStreamOutput":{ "type":"structure", "members":{ "StreamARN":{ "shape":"ResourceARN", "documentation":"

The Amazon Resource Name (ARN) of the stream.

" } } }, "DataEndpoint":{"type":"string"}, "DataRetentionChangeInHours":{ "type":"integer", "min":1 }, "DataRetentionInHours":{ "type":"integer", "min":0 }, "DeleteSignalingChannelInput":{ "type":"structure", "required":["ChannelARN"], "members":{ "ChannelARN":{ "shape":"ResourceARN", "documentation":"

The Amazon Resource Name (ARN) of the signaling channel that you want to delete.

" }, "CurrentVersion":{ "shape":"Version", "documentation":"

The current version of the signaling channel that you want to delete. You can obtain the current version by invoking the DescribeSignalingChannel or ListSignalingChannels API operations.

" } } }, "DeleteSignalingChannelOutput":{ "type":"structure", "members":{ } }, "DeleteStreamInput":{ "type":"structure", "required":["StreamARN"], "members":{ "StreamARN":{ "shape":"ResourceARN", "documentation":"

The Amazon Resource Name (ARN) of the stream that you want to delete.

" }, "CurrentVersion":{ "shape":"Version", "documentation":"

Optional: The version of the stream that you want to delete.

Specify the version as a safeguard to ensure that your are deleting the correct stream. To get the stream version, use the DescribeStream API.

If not specified, only the CreationTime is checked before deleting the stream.

" } } }, "DeleteStreamOutput":{ "type":"structure", "members":{ } }, "DescribeSignalingChannelInput":{ "type":"structure", "members":{ "ChannelName":{ "shape":"ChannelName", "documentation":"

The name of the signaling channel that you want to describe.

" }, "ChannelARN":{ "shape":"ResourceARN", "documentation":"

The ARN of the signaling channel that you want to describe.

" } } }, "DescribeSignalingChannelOutput":{ "type":"structure", "members":{ "ChannelInfo":{ "shape":"ChannelInfo", "documentation":"

A structure that encapsulates the specified signaling channel's metadata and properties.

" } } }, "DescribeStreamInput":{ "type":"structure", "members":{ "StreamName":{ "shape":"StreamName", "documentation":"

The name of the stream.

" }, "StreamARN":{ "shape":"ResourceARN", "documentation":"

The Amazon Resource Name (ARN) of the stream.

" } } }, "DescribeStreamOutput":{ "type":"structure", "members":{ "StreamInfo":{ "shape":"StreamInfo", "documentation":"

An object that describes the stream.

" } } }, "DeviceName":{ "type":"string", "max":128, "min":1, "pattern":"[a-zA-Z0-9_.-]+" }, "DeviceStreamLimitExceededException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

Not implemented.

", "error":{"httpStatusCode":400}, "exception":true }, "ErrorMessage":{"type":"string"}, "GetDataEndpointInput":{ "type":"structure", "required":["APIName"], "members":{ "StreamName":{ "shape":"StreamName", "documentation":"

The name of the stream that you want to get the endpoint for. You must specify either this parameter or a StreamARN in the request.

" }, "StreamARN":{ "shape":"ResourceARN", "documentation":"

The Amazon Resource Name (ARN) of the stream that you want to get the endpoint for. You must specify either this parameter or a StreamName in the request.

" }, "APIName":{ "shape":"APIName", "documentation":"

The name of the API action for which to get an endpoint.

" } } }, "GetDataEndpointOutput":{ "type":"structure", "members":{ "DataEndpoint":{ "shape":"DataEndpoint", "documentation":"

The endpoint value. To read data from the stream or to write data to it, specify this endpoint in your application.

" } } }, "GetSignalingChannelEndpointInput":{ "type":"structure", "required":["ChannelARN"], "members":{ "ChannelARN":{ "shape":"ResourceARN", "documentation":"

The Amazon Resource Name (ARN) of the signalling channel for which you want to get an endpoint.

" }, "SingleMasterChannelEndpointConfiguration":{ "shape":"SingleMasterChannelEndpointConfiguration", "documentation":"

A structure containing the endpoint configuration for the SINGLE_MASTER channel type.

" } } }, "GetSignalingChannelEndpointOutput":{ "type":"structure", "members":{ "ResourceEndpointList":{ "shape":"ResourceEndpointList", "documentation":"

A list of endpoints for the specified signaling channel.

" } } }, "InvalidArgumentException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

The value for this input parameter is invalid.

", "error":{"httpStatusCode":400}, "exception":true }, "InvalidDeviceException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

Not implemented.

", "error":{"httpStatusCode":400}, "exception":true }, "InvalidResourceFormatException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

The format of the StreamARN is invalid.

", "error":{"httpStatusCode":400}, "exception":true }, "KmsKeyId":{ "type":"string", "max":2048, "min":1, "pattern":".+" }, "ListOfProtocols":{ "type":"list", "member":{"shape":"ChannelProtocol"}, "max":5, "min":1 }, "ListSignalingChannelsInput":{ "type":"structure", "members":{ "MaxResults":{ "shape":"ListStreamsInputLimit", "documentation":"

The maximum number of channels to return in the response. The default is 500.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

If you specify this parameter, when the result of a ListSignalingChannels operation is truncated, the call returns the NextToken in the response. To get another batch of channels, provide this token in your next request.

" }, "ChannelNameCondition":{ "shape":"ChannelNameCondition", "documentation":"

Optional: Returns only the channels that satisfy a specific condition.

" } } }, "ListSignalingChannelsOutput":{ "type":"structure", "members":{ "ChannelInfoList":{ "shape":"ChannelInfoList", "documentation":"

An array of ChannelInfo objects.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

If the response is truncated, the call returns this element with a token. To get the next batch of streams, use this token in your next request.

" } } }, "ListStreamsInput":{ "type":"structure", "members":{ "MaxResults":{ "shape":"ListStreamsInputLimit", "documentation":"

The maximum number of streams to return in the response. The default is 10,000.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

If you specify this parameter, when the result of a ListStreams operation is truncated, the call returns the NextToken in the response. To get another batch of streams, provide this token in your next request.

" }, "StreamNameCondition":{ "shape":"StreamNameCondition", "documentation":"

Optional: Returns only streams that satisfy a specific condition. Currently, you can specify only the prefix of a stream name as a condition.

" } } }, "ListStreamsInputLimit":{ "type":"integer", "max":10000, "min":1 }, "ListStreamsOutput":{ "type":"structure", "members":{ "StreamInfoList":{ "shape":"StreamInfoList", "documentation":"

An array of StreamInfo objects.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

If the response is truncated, the call returns this element with a token. To get the next batch of streams, use this token in your next request.

" } } }, "ListTagsForResourceInput":{ "type":"structure", "required":["ResourceARN"], "members":{ "NextToken":{ "shape":"NextToken", "documentation":"

If you specify this parameter and the result of a ListTagsForResource call is truncated, the response includes a token that you can use in the next request to fetch the next batch of tags.

" }, "ResourceARN":{ "shape":"ResourceARN", "documentation":"

The Amazon Resource Name (ARN) of the signaling channel for which you want to list tags.

" } } }, "ListTagsForResourceOutput":{ "type":"structure", "members":{ "NextToken":{ "shape":"NextToken", "documentation":"

If you specify this parameter and the result of a ListTagsForResource call is truncated, the response includes a token that you can use in the next request to fetch the next set of tags.

" }, "Tags":{ "shape":"ResourceTags", "documentation":"

A map of tag keys and values associated with the specified signaling channel.

" } } }, "ListTagsForStreamInput":{ "type":"structure", "members":{ "NextToken":{ "shape":"NextToken", "documentation":"

If you specify this parameter and the result of a ListTagsForStream call is truncated, the response includes a token that you can use in the next request to fetch the next batch of tags.

" }, "StreamARN":{ "shape":"ResourceARN", "documentation":"

The Amazon Resource Name (ARN) of the stream that you want to list tags for.

" }, "StreamName":{ "shape":"StreamName", "documentation":"

The name of the stream that you want to list tags for.

" } } }, "ListTagsForStreamOutput":{ "type":"structure", "members":{ "NextToken":{ "shape":"NextToken", "documentation":"

If you specify this parameter and the result of a ListTags call is truncated, the response includes a token that you can use in the next request to fetch the next set of tags.

" }, "Tags":{ "shape":"ResourceTags", "documentation":"

A map of tag keys and values associated with the specified stream.

" } } }, "MediaType":{ "type":"string", "max":128, "min":1, "pattern":"[\\w\\-\\.\\+]+/[\\w\\-\\.\\+]+(,[\\w\\-\\.\\+]+/[\\w\\-\\.\\+]+)*" }, "MessageTtlSeconds":{ "type":"integer", "max":120, "min":5 }, "NextToken":{ "type":"string", "max":512, "min":0, "pattern":"[a-zA-Z0-9+/=]*" }, "NotAuthorizedException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

The caller is not authorized to perform this operation.

", "error":{"httpStatusCode":401}, "exception":true }, "ResourceARN":{ "type":"string", "max":1024, "min":1, "pattern":"arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+" }, "ResourceEndpoint":{"type":"string"}, "ResourceEndpointList":{ "type":"list", "member":{"shape":"ResourceEndpointListItem"} }, "ResourceEndpointListItem":{ "type":"structure", "members":{ "Protocol":{ "shape":"ChannelProtocol", "documentation":"

The protocol of the signaling channel returned by the GetSignalingChannelEndpoint API.

" }, "ResourceEndpoint":{ "shape":"ResourceEndpoint", "documentation":"

The endpoint of the signaling channel returned by the GetSignalingChannelEndpoint API.

" } }, "documentation":"

An object that describes the endpoint of the signaling channel returned by the GetSignalingChannelEndpoint API.

" }, "ResourceInUseException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

The signaling channel is currently not available for this operation.

", "error":{"httpStatusCode":400}, "exception":true }, "ResourceNotFoundException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

Amazon Kinesis Video Streams can't find the stream that you specified.

", "error":{"httpStatusCode":404}, "exception":true }, "ResourceTags":{ "type":"map", "key":{"shape":"TagKey"}, "value":{"shape":"TagValue"}, "max":50, "min":1 }, "SingleMasterChannelEndpointConfiguration":{ "type":"structure", "members":{ "Protocols":{ "shape":"ListOfProtocols", "documentation":"

This property is used to determine the nature of communication over this SINGLE_MASTER signaling channel. If WSS is specified, this API returns a websocket endpoint. If HTTPS is specified, this API returns an HTTPS endpoint.

" }, "Role":{ "shape":"ChannelRole", "documentation":"

This property is used to determine messaging permissions in this SINGLE_MASTER signaling channel. If MASTER is specified, this API returns an endpoint that a client can use to receive offers from and send answers to any of the viewers on this signaling channel. If VIEWER is specified, this API returns an endpoint that a client can use only to send offers to another MASTER client on this signaling channel.

" } }, "documentation":"

An object that contains the endpoint configuration for the SINGLE_MASTER channel type.

" }, "SingleMasterConfiguration":{ "type":"structure", "members":{ "MessageTtlSeconds":{ "shape":"MessageTtlSeconds", "documentation":"

The period of time a signaling channel retains underlivered messages before they are discarded.

" } }, "documentation":"

A structure that contains the configuration for the SINGLE_MASTER channel type.

" }, "Status":{ "type":"string", "enum":[ "CREATING", "ACTIVE", "UPDATING", "DELETING" ] }, "StreamInfo":{ "type":"structure", "members":{ "DeviceName":{ "shape":"DeviceName", "documentation":"

The name of the device that is associated with the stream.

" }, "StreamName":{ "shape":"StreamName", "documentation":"

The name of the stream.

" }, "StreamARN":{ "shape":"ResourceARN", "documentation":"

The Amazon Resource Name (ARN) of the stream.

" }, "MediaType":{ "shape":"MediaType", "documentation":"

The MediaType of the stream.

" }, "KmsKeyId":{ "shape":"KmsKeyId", "documentation":"

The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video Streams uses to encrypt data on the stream.

" }, "Version":{ "shape":"Version", "documentation":"

The version of the stream.

" }, "Status":{ "shape":"Status", "documentation":"

The status of the stream.

" }, "CreationTime":{ "shape":"Timestamp", "documentation":"

A time stamp that indicates when the stream was created.

" }, "DataRetentionInHours":{ "shape":"DataRetentionInHours", "documentation":"

How long the stream retains data, in hours.

" } }, "documentation":"

An object describing a Kinesis video stream.

" }, "StreamInfoList":{ "type":"list", "member":{"shape":"StreamInfo"} }, "StreamName":{ "type":"string", "max":256, "min":1, "pattern":"[a-zA-Z0-9_.-]+" }, "StreamNameCondition":{ "type":"structure", "members":{ "ComparisonOperator":{ "shape":"ComparisonOperator", "documentation":"

A comparison operator. Currently, you can specify only the BEGINS_WITH operator, which finds streams whose names start with a given prefix.

" }, "ComparisonValue":{ "shape":"StreamName", "documentation":"

A value to compare.

" } }, "documentation":"

Specifies the condition that streams must satisfy to be returned when you list streams (see the ListStreams API). A condition has a comparison operation and a value. Currently, you can specify only the BEGINS_WITH operator, which finds streams whose names start with a given prefix.

" }, "Tag":{ "type":"structure", "required":[ "Key", "Value" ], "members":{ "Key":{ "shape":"TagKey", "documentation":"

The key of the tag that is associated with the specified signaling channel.

" }, "Value":{ "shape":"TagValue", "documentation":"

The value of the tag that is associated with the specified signaling channel.

" } }, "documentation":"

A key and value pair that is associated with the specified signaling channel.

" }, "TagKey":{ "type":"string", "max":128, "min":1, "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" }, "TagKeyList":{ "type":"list", "member":{"shape":"TagKey"}, "max":50, "min":1 }, "TagList":{ "type":"list", "member":{"shape":"Tag"}, "max":50, "min":1 }, "TagOnCreateList":{ "type":"list", "member":{"shape":"Tag"}, "max":50, "min":0 }, "TagResourceInput":{ "type":"structure", "required":[ "ResourceARN", "Tags" ], "members":{ "ResourceARN":{ "shape":"ResourceARN", "documentation":"

The Amazon Resource Name (ARN) of the signaling channel to which you want to add tags.

" }, "Tags":{ "shape":"TagList", "documentation":"

A list of tags to associate with the specified signaling channel. Each tag is a key-value pair.

" } } }, "TagResourceOutput":{ "type":"structure", "members":{ } }, "TagStreamInput":{ "type":"structure", "required":["Tags"], "members":{ "StreamARN":{ "shape":"ResourceARN", "documentation":"

The Amazon Resource Name (ARN) of the resource that you want to add the tag or tags to.

" }, "StreamName":{ "shape":"StreamName", "documentation":"

The name of the stream that you want to add the tag or tags to.

" }, "Tags":{ "shape":"ResourceTags", "documentation":"

A list of tags to associate with the specified stream. Each tag is a key-value pair (the value is optional).

" } } }, "TagStreamOutput":{ "type":"structure", "members":{ } }, "TagValue":{ "type":"string", "max":256, "min":0, "pattern":"[\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*" }, "TagsPerResourceExceededLimitException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

You have exceeded the limit of tags that you can associate with the resource. Kinesis video streams support up to 50 tags.

", "error":{"httpStatusCode":400}, "exception":true }, "Timestamp":{"type":"timestamp"}, "UntagResourceInput":{ "type":"structure", "required":[ "ResourceARN", "TagKeyList" ], "members":{ "ResourceARN":{ "shape":"ResourceARN", "documentation":"

The Amazon Resource Name (ARN) of the signaling channel from which you want to remove tags.

" }, "TagKeyList":{ "shape":"TagKeyList", "documentation":"

A list of the keys of the tags that you want to remove.

" } } }, "UntagResourceOutput":{ "type":"structure", "members":{ } }, "UntagStreamInput":{ "type":"structure", "required":["TagKeyList"], "members":{ "StreamARN":{ "shape":"ResourceARN", "documentation":"

The Amazon Resource Name (ARN) of the stream that you want to remove tags from.

" }, "StreamName":{ "shape":"StreamName", "documentation":"

The name of the stream that you want to remove tags from.

" }, "TagKeyList":{ "shape":"TagKeyList", "documentation":"

A list of the keys of the tags that you want to remove.

" } } }, "UntagStreamOutput":{ "type":"structure", "members":{ } }, "UpdateDataRetentionInput":{ "type":"structure", "required":[ "CurrentVersion", "Operation", "DataRetentionChangeInHours" ], "members":{ "StreamName":{ "shape":"StreamName", "documentation":"

The name of the stream whose retention period you want to change.

" }, "StreamARN":{ "shape":"ResourceARN", "documentation":"

The Amazon Resource Name (ARN) of the stream whose retention period you want to change.

" }, "CurrentVersion":{ "shape":"Version", "documentation":"

The version of the stream whose retention period you want to change. To get the version, call either the DescribeStream or the ListStreams API.

" }, "Operation":{ "shape":"UpdateDataRetentionOperation", "documentation":"

Indicates whether you want to increase or decrease the retention period.

" }, "DataRetentionChangeInHours":{ "shape":"DataRetentionChangeInHours", "documentation":"

The retention period, in hours. The value you specify replaces the current value. The maximum value for this parameter is 87600 (ten years).

" } } }, "UpdateDataRetentionOperation":{ "type":"string", "enum":[ "INCREASE_DATA_RETENTION", "DECREASE_DATA_RETENTION" ] }, "UpdateDataRetentionOutput":{ "type":"structure", "members":{ } }, "UpdateSignalingChannelInput":{ "type":"structure", "required":[ "ChannelARN", "CurrentVersion" ], "members":{ "ChannelARN":{ "shape":"ResourceARN", "documentation":"

The Amazon Resource Name (ARN) of the signaling channel that you want to update.

" }, "CurrentVersion":{ "shape":"Version", "documentation":"

The current version of the signaling channel that you want to update.

" }, "SingleMasterConfiguration":{ "shape":"SingleMasterConfiguration", "documentation":"

The structure containing the configuration for the SINGLE_MASTER type of the signaling channel that you want to update.

" } } }, "UpdateSignalingChannelOutput":{ "type":"structure", "members":{ } }, "UpdateStreamInput":{ "type":"structure", "required":["CurrentVersion"], "members":{ "StreamName":{ "shape":"StreamName", "documentation":"

The name of the stream whose metadata you want to update.

The stream name is an identifier for the stream, and must be unique for each account and region.

" }, "StreamARN":{ "shape":"ResourceARN", "documentation":"

The ARN of the stream whose metadata you want to update.

" }, "CurrentVersion":{ "shape":"Version", "documentation":"

The version of the stream whose metadata you want to update.

" }, "DeviceName":{ "shape":"DeviceName", "documentation":"

The name of the device that is writing to the stream.

In the current implementation, Kinesis Video Streams does not use this name.

" }, "MediaType":{ "shape":"MediaType", "documentation":"

The stream's media type. Use MediaType to specify the type of content that the stream contains to the consumers of the stream. For more information about media types, see Media Types. If you choose to specify the MediaType, see Naming Requirements.

To play video on the console, you must specify the correct video type. For example, if the video in the stream is H.264, specify video/h264 as the MediaType.

" } } }, "UpdateStreamOutput":{ "type":"structure", "members":{ } }, "Version":{ "type":"string", "max":64, "min":1, "pattern":"[a-zA-Z0-9]+" }, "VersionMismatchException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

The stream version that you specified is not the latest version. To get the latest version, use the DescribeStream API.

", "error":{"httpStatusCode":400}, "exception":true } }, "documentation":"

" }