{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.kinesisvideo#APIName": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "PUT_MEDIA", "name": "PUT_MEDIA" }, { "value": "GET_MEDIA", "name": "GET_MEDIA" }, { "value": "LIST_FRAGMENTS", "name": "LIST_FRAGMENTS" }, { "value": "GET_MEDIA_FOR_FRAGMENT_LIST", "name": "GET_MEDIA_FOR_FRAGMENT_LIST" }, { "value": "GET_HLS_STREAMING_SESSION_URL", "name": "GET_HLS_STREAMING_SESSION_URL" }, { "value": "GET_DASH_STREAMING_SESSION_URL", "name": "GET_DASH_STREAMING_SESSION_URL" }, { "value": "GET_CLIP", "name": "GET_CLIP" } ] } }, "com.amazonaws.kinesisvideo#AccessDeniedException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.kinesisvideo#ErrorMessage" } }, "traits": { "smithy.api#documentation": "
You do not have required permissions to perform this operation.
", "smithy.api#error": "client", "smithy.api#httpError": 401 } }, "com.amazonaws.kinesisvideo#AccountChannelLimitExceededException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.kinesisvideo#ErrorMessage" } }, "traits": { "smithy.api#documentation": "You have reached the maximum limit of active signaling channels for this AWS account\n in this region.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.kinesisvideo#AccountStreamLimitExceededException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.kinesisvideo#ErrorMessage" } }, "traits": { "smithy.api#documentation": "The number of streams created for the account is too high.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.kinesisvideo#ChannelInfo": { "type": "structure", "members": { "ChannelName": { "target": "com.amazonaws.kinesisvideo#ChannelName", "traits": { "smithy.api#documentation": "The name of the signaling channel.
" } }, "ChannelARN": { "target": "com.amazonaws.kinesisvideo#ResourceARN", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the signaling channel.
" } }, "ChannelType": { "target": "com.amazonaws.kinesisvideo#ChannelType", "traits": { "smithy.api#documentation": "The type of the signaling channel.
" } }, "ChannelStatus": { "target": "com.amazonaws.kinesisvideo#Status", "traits": { "smithy.api#documentation": "Current status of the signaling channel.
" } }, "CreationTime": { "target": "com.amazonaws.kinesisvideo#Timestamp", "traits": { "smithy.api#documentation": "The time at which the signaling channel was created.
" } }, "SingleMasterConfiguration": { "target": "com.amazonaws.kinesisvideo#SingleMasterConfiguration", "traits": { "smithy.api#documentation": "A structure that contains the configuration for the SINGLE_MASTER
channel\n type.
The current version of the signaling channel.
" } } }, "traits": { "smithy.api#documentation": "A structure that encapsulates a signaling channel's metadata and properties.
" } }, "com.amazonaws.kinesisvideo#ChannelInfoList": { "type": "list", "member": { "target": "com.amazonaws.kinesisvideo#ChannelInfo" } }, "com.amazonaws.kinesisvideo#ChannelName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "[a-zA-Z0-9_.-]+" } }, "com.amazonaws.kinesisvideo#ChannelNameCondition": { "type": "structure", "members": { "ComparisonOperator": { "target": "com.amazonaws.kinesisvideo#ComparisonOperator", "traits": { "smithy.api#documentation": "A comparison operator. Currently, you can only specify the BEGINS_WITH
\n operator, which finds signaling channels whose names begin with a given prefix.
A value to compare.
" } } }, "traits": { "smithy.api#documentation": "An optional input parameter for the ListSignalingChannels
API. When this\n parameter is specified while invoking ListSignalingChannels
, the API\n returns only the channels that satisfy a condition specified in\n ChannelNameCondition
.
Kinesis Video Streams has throttled the request because you have exceeded the limit of\n allowed client calls. Try making the call later.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.kinesisvideo#ComparisonOperator": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "BEGINS_WITH", "name": "BEGINS_WITH" } ] } }, "com.amazonaws.kinesisvideo#CreateSignalingChannel": { "type": "operation", "input": { "target": "com.amazonaws.kinesisvideo#CreateSignalingChannelInput" }, "output": { "target": "com.amazonaws.kinesisvideo#CreateSignalingChannelOutput" }, "errors": [ { "target": "com.amazonaws.kinesisvideo#AccessDeniedException" }, { "target": "com.amazonaws.kinesisvideo#AccountChannelLimitExceededException" }, { "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException" }, { "target": "com.amazonaws.kinesisvideo#InvalidArgumentException" }, { "target": "com.amazonaws.kinesisvideo#ResourceInUseException" }, { "target": "com.amazonaws.kinesisvideo#TagsPerResourceExceededLimitException" } ], "traits": { "smithy.api#documentation": "Creates a signaling channel.
\n\n CreateSignalingChannel
is an asynchronous operation.
A name for the signaling channel that you are creating. It must be unique for each AWS\n account and AWS Region.
", "smithy.api#required": {} } }, "ChannelType": { "target": "com.amazonaws.kinesisvideo#ChannelType", "traits": { "smithy.api#documentation": "A type of the signaling channel that you are creating. Currently,\n SINGLE_MASTER
is the only supported channel type.
A structure containing the configuration for the SINGLE_MASTER
channel\n type.
A set of tags (key-value pairs) that you want to associate with this channel.
" } } } }, "com.amazonaws.kinesisvideo#CreateSignalingChannelOutput": { "type": "structure", "members": { "ChannelARN": { "target": "com.amazonaws.kinesisvideo#ResourceARN", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the created channel.
" } } } }, "com.amazonaws.kinesisvideo#CreateStream": { "type": "operation", "input": { "target": "com.amazonaws.kinesisvideo#CreateStreamInput" }, "output": { "target": "com.amazonaws.kinesisvideo#CreateStreamOutput" }, "errors": [ { "target": "com.amazonaws.kinesisvideo#AccountStreamLimitExceededException" }, { "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException" }, { "target": "com.amazonaws.kinesisvideo#DeviceStreamLimitExceededException" }, { "target": "com.amazonaws.kinesisvideo#InvalidArgumentException" }, { "target": "com.amazonaws.kinesisvideo#InvalidDeviceException" }, { "target": "com.amazonaws.kinesisvideo#ResourceInUseException" }, { "target": "com.amazonaws.kinesisvideo#TagsPerResourceExceededLimitException" } ], "traits": { "smithy.api#documentation": "Creates a new Kinesis video stream.
\n\nWhen 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.
\n\n CreateStream
is an asynchronous operation.
For information about how the service works, see How it Works.
\nYou must have permissions for the KinesisVideo:CreateStream
\n action.
The name of the device that is writing to the stream.
\nIn the current implementation, Kinesis Video Streams does not use this\n name.
\nA name for the stream that you are creating.
\nThe stream name is an identifier for the stream, and must be unique for each\n account and region.
", "smithy.api#required": {} } }, "MediaType": { "target": "com.amazonaws.kinesisvideo#MediaType", "traits": { "smithy.api#documentation": "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 Media\n Types. If you choose to specify the MediaType
, see Naming Requirements\n for guidelines.
Example valid values include \"video/h264\" and \"video/h264,audio/aac\".
\nThis parameter is optional; the default value is null
(or empty in\n JSON).
The ID of the AWS Key Management Service (AWS KMS) key that you want Kinesis Video\n Streams to use to encrypt stream data.
\nIf no key ID is specified, the default, Kinesis Video-managed key\n (aws/kinesisvideo
) is used.
For more information, see DescribeKey.
" } }, "DataRetentionInHours": { "target": "com.amazonaws.kinesisvideo#DataRetentionInHours", "traits": { "smithy.api#documentation": "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.
\nThe default value is 0, indicating that the stream does not persist data.
\nWhen the DataRetentionInHours
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.
A list of tags to associate with the specified stream. Each tag is a key-value pair\n (the value is optional).
" } } } }, "com.amazonaws.kinesisvideo#CreateStreamOutput": { "type": "structure", "members": { "StreamARN": { "target": "com.amazonaws.kinesisvideo#ResourceARN", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the stream.
" } } } }, "com.amazonaws.kinesisvideo#DataEndpoint": { "type": "string" }, "com.amazonaws.kinesisvideo#DataRetentionChangeInHours": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1 } } }, "com.amazonaws.kinesisvideo#DataRetentionInHours": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.kinesisvideo#DeleteSignalingChannel": { "type": "operation", "input": { "target": "com.amazonaws.kinesisvideo#DeleteSignalingChannelInput" }, "output": { "target": "com.amazonaws.kinesisvideo#DeleteSignalingChannelOutput" }, "errors": [ { "target": "com.amazonaws.kinesisvideo#AccessDeniedException" }, { "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException" }, { "target": "com.amazonaws.kinesisvideo#InvalidArgumentException" }, { "target": "com.amazonaws.kinesisvideo#ResourceInUseException" }, { "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException" }, { "target": "com.amazonaws.kinesisvideo#VersionMismatchException" } ], "traits": { "smithy.api#documentation": "Deletes a specified signaling channel. DeleteSignalingChannel
is an\n asynchronous operation. If you don't specify the channel's current version, the most\n recent version is deleted.
The Amazon Resource Name (ARN) of the signaling channel that you want to\n delete.
", "smithy.api#required": {} } }, "CurrentVersion": { "target": "com.amazonaws.kinesisvideo#Version", "traits": { "smithy.api#documentation": "The current version of the signaling channel that you want to delete. You can obtain\n the current version by invoking the DescribeSignalingChannel
or\n ListSignalingChannels
API operations.
Deletes a Kinesis video stream and the data contained in the stream.
\nThis method marks the stream for deletion, and makes the data in the stream\n inaccessible immediately.
\n\n
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 DescribeStream
API.
This operation requires permission for the KinesisVideo:DeleteStream
\n action.
The Amazon Resource Name (ARN) of the stream that you want to delete.
", "smithy.api#required": {} } }, "CurrentVersion": { "target": "com.amazonaws.kinesisvideo#Version", "traits": { "smithy.api#documentation": "Optional: The version of the stream that you want to delete.
\nSpecify the version as a safeguard to ensure that your are deleting the correct\n stream. To get the stream version, use the DescribeStream
API.
If not specified, only the CreationTime
is checked before deleting the\n stream.
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.
", "smithy.api#http": { "method": "POST", "uri": "/describeSignalingChannel", "code": 200 } } }, "com.amazonaws.kinesisvideo#DescribeSignalingChannelInput": { "type": "structure", "members": { "ChannelName": { "target": "com.amazonaws.kinesisvideo#ChannelName", "traits": { "smithy.api#documentation": "The name of the signaling channel that you want to describe.
" } }, "ChannelARN": { "target": "com.amazonaws.kinesisvideo#ResourceARN", "traits": { "smithy.api#documentation": "The ARN of the signaling channel that you want to describe.
" } } } }, "com.amazonaws.kinesisvideo#DescribeSignalingChannelOutput": { "type": "structure", "members": { "ChannelInfo": { "target": "com.amazonaws.kinesisvideo#ChannelInfo", "traits": { "smithy.api#documentation": "A structure that encapsulates the specified signaling channel's metadata and\n properties.
" } } } }, "com.amazonaws.kinesisvideo#DescribeStream": { "type": "operation", "input": { "target": "com.amazonaws.kinesisvideo#DescribeStreamInput" }, "output": { "target": "com.amazonaws.kinesisvideo#DescribeStreamOutput" }, "errors": [ { "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException" }, { "target": "com.amazonaws.kinesisvideo#InvalidArgumentException" }, { "target": "com.amazonaws.kinesisvideo#NotAuthorizedException" }, { "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "Returns the most current information about the specified stream. You must specify\n either the StreamName
or the StreamARN
.
The name of the stream.
" } }, "StreamARN": { "target": "com.amazonaws.kinesisvideo#ResourceARN", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the stream.
" } } } }, "com.amazonaws.kinesisvideo#DescribeStreamOutput": { "type": "structure", "members": { "StreamInfo": { "target": "com.amazonaws.kinesisvideo#StreamInfo", "traits": { "smithy.api#documentation": "An object that describes the stream.
" } } } }, "com.amazonaws.kinesisvideo#DeviceName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "[a-zA-Z0-9_.-]+" } }, "com.amazonaws.kinesisvideo#DeviceStreamLimitExceededException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.kinesisvideo#ErrorMessage" } }, "traits": { "smithy.api#documentation": "Not implemented.\n
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.kinesisvideo#ErrorMessage": { "type": "string" }, "com.amazonaws.kinesisvideo#GetDataEndpoint": { "type": "operation", "input": { "target": "com.amazonaws.kinesisvideo#GetDataEndpointInput" }, "output": { "target": "com.amazonaws.kinesisvideo#GetDataEndpointOutput" }, "errors": [ { "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException" }, { "target": "com.amazonaws.kinesisvideo#InvalidArgumentException" }, { "target": "com.amazonaws.kinesisvideo#NotAuthorizedException" }, { "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "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 GetMedia
or GetMediaForFragmentList
operations) or write\n to it (using the PutMedia
operation).\n
The returned endpoint does not have the API name appended. The client needs to\n add the API name to the returned endpoint.
\nIn the request, specify the stream either by StreamName
or\n StreamARN
.
The name of the stream that you want to get the endpoint for. You must specify\n either this parameter or a StreamARN
in the request.
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 StreamName
in the request.\n
The name of the API action for which to get an endpoint.
", "smithy.api#required": {} } } } }, "com.amazonaws.kinesisvideo#GetDataEndpointOutput": { "type": "structure", "members": { "DataEndpoint": { "target": "com.amazonaws.kinesisvideo#DataEndpoint", "traits": { "smithy.api#documentation": "The endpoint value. To read data from the stream or to write data to it, specify\n this endpoint in your application.
" } } } }, "com.amazonaws.kinesisvideo#GetSignalingChannelEndpoint": { "type": "operation", "input": { "target": "com.amazonaws.kinesisvideo#GetSignalingChannelEndpointInput" }, "output": { "target": "com.amazonaws.kinesisvideo#GetSignalingChannelEndpointOutput" }, "errors": [ { "target": "com.amazonaws.kinesisvideo#AccessDeniedException" }, { "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException" }, { "target": "com.amazonaws.kinesisvideo#InvalidArgumentException" }, { "target": "com.amazonaws.kinesisvideo#ResourceInUseException" }, { "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "Provides an endpoint for the specified signaling channel to send and receive messages.\n This API uses the SingleMasterChannelEndpointConfiguration
input parameter,\n which consists of the Protocols
and Role
properties.
\n Protocols
is used to determine the communication mechanism. For example,\n if you specify WSS
as the protocol, this API produces a secure websocket\n endpoint. If you specify HTTPS
as the protocol, this API generates an HTTPS\n endpoint.
\n Role
determines the messaging permissions. A MASTER
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 VIEWER
role results in this API generating\n an endpoint that a client can use to communicate only with a\n MASTER
.
The Amazon Resource Name (ARN) of the signalling channel for which you want to get an\n endpoint.
", "smithy.api#required": {} } }, "SingleMasterChannelEndpointConfiguration": { "target": "com.amazonaws.kinesisvideo#SingleMasterChannelEndpointConfiguration", "traits": { "smithy.api#documentation": "A structure containing the endpoint configuration for the SINGLE_MASTER
\n channel type.
A list of endpoints for the specified signaling channel.
" } } } }, "com.amazonaws.kinesisvideo#InvalidArgumentException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.kinesisvideo#ErrorMessage" } }, "traits": { "smithy.api#documentation": "The value for this input parameter is invalid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.kinesisvideo#InvalidDeviceException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.kinesisvideo#ErrorMessage" } }, "traits": { "smithy.api#documentation": "Not implemented.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.kinesisvideo#InvalidResourceFormatException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.kinesisvideo#ErrorMessage" } }, "traits": { "smithy.api#documentation": "The format of the StreamARN
is invalid.
Returns an array of ChannelInfo
objects. Each object describes a\n signaling channel. To retrieve only those channels that satisfy a specific condition, you can\n specify a ChannelNameCondition
.
The maximum number of channels to return in the response. The default is 500.
" } }, "NextToken": { "target": "com.amazonaws.kinesisvideo#NextToken", "traits": { "smithy.api#documentation": "If you specify this parameter, when the result of a ListSignalingChannels
\n operation is truncated, the call returns the NextToken
in the response. To\n get another batch of channels, provide this token in your next request.
Optional: Returns only the channels that satisfy a specific condition.
" } } } }, "com.amazonaws.kinesisvideo#ListSignalingChannelsOutput": { "type": "structure", "members": { "ChannelInfoList": { "target": "com.amazonaws.kinesisvideo#ChannelInfoList", "traits": { "smithy.api#documentation": "An array of ChannelInfo
objects.
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.
" } } } }, "com.amazonaws.kinesisvideo#ListStreams": { "type": "operation", "input": { "target": "com.amazonaws.kinesisvideo#ListStreamsInput" }, "output": { "target": "com.amazonaws.kinesisvideo#ListStreamsOutput" }, "errors": [ { "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException" }, { "target": "com.amazonaws.kinesisvideo#InvalidArgumentException" } ], "traits": { "smithy.api#documentation": "Returns an array of StreamInfo
objects. Each object describes a\n stream. To retrieve only streams that satisfy a specific condition, you can specify a\n StreamNameCondition
.
The maximum number of streams to return in the response. The default is\n 10,000.
" } }, "NextToken": { "target": "com.amazonaws.kinesisvideo#NextToken", "traits": { "smithy.api#documentation": "If you specify this parameter, when the result of a ListStreams
\n operation is truncated, the call returns the NextToken
in the response. To\n get another batch of streams, provide this token in your next request.
Optional: Returns only streams that satisfy a specific condition. Currently, you\n can specify only the prefix of a stream name as a condition.
" } } } }, "com.amazonaws.kinesisvideo#ListStreamsInputLimit": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 } } }, "com.amazonaws.kinesisvideo#ListStreamsOutput": { "type": "structure", "members": { "StreamInfoList": { "target": "com.amazonaws.kinesisvideo#StreamInfoList", "traits": { "smithy.api#documentation": "An array of StreamInfo
objects.
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.
" } } } }, "com.amazonaws.kinesisvideo#ListTagsForResource": { "type": "operation", "input": { "target": "com.amazonaws.kinesisvideo#ListTagsForResourceInput" }, "output": { "target": "com.amazonaws.kinesisvideo#ListTagsForResourceOutput" }, "errors": [ { "target": "com.amazonaws.kinesisvideo#AccessDeniedException" }, { "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException" }, { "target": "com.amazonaws.kinesisvideo#InvalidArgumentException" }, { "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "Returns a list of tags associated with the specified signaling channel.
", "smithy.api#http": { "method": "POST", "uri": "/ListTagsForResource", "code": 200 } } }, "com.amazonaws.kinesisvideo#ListTagsForResourceInput": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.kinesisvideo#NextToken", "traits": { "smithy.api#documentation": "If you specify this parameter and the result of a ListTagsForResource
\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.
The Amazon Resource Name (ARN) of the signaling channel for which you want to list\n tags.
", "smithy.api#required": {} } } } }, "com.amazonaws.kinesisvideo#ListTagsForResourceOutput": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.kinesisvideo#NextToken", "traits": { "smithy.api#documentation": "If you specify this parameter and the result of a ListTagsForResource
\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.
A map of tag keys and values associated with the specified signaling channel.
" } } } }, "com.amazonaws.kinesisvideo#ListTagsForStream": { "type": "operation", "input": { "target": "com.amazonaws.kinesisvideo#ListTagsForStreamInput" }, "output": { "target": "com.amazonaws.kinesisvideo#ListTagsForStreamOutput" }, "errors": [ { "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException" }, { "target": "com.amazonaws.kinesisvideo#InvalidArgumentException" }, { "target": "com.amazonaws.kinesisvideo#InvalidResourceFormatException" }, { "target": "com.amazonaws.kinesisvideo#NotAuthorizedException" }, { "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "Returns a list of tags associated with the specified stream.
\nIn the request, you must specify either the StreamName
or the\n StreamARN
.
If you specify this parameter and the result of a ListTagsForStream
\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.
The Amazon Resource Name (ARN) of the stream that you want to list tags\n for.
" } }, "StreamName": { "target": "com.amazonaws.kinesisvideo#StreamName", "traits": { "smithy.api#documentation": "The name of the stream that you want to list tags for.
" } } } }, "com.amazonaws.kinesisvideo#ListTagsForStreamOutput": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.kinesisvideo#NextToken", "traits": { "smithy.api#documentation": "If you specify this parameter and the result of a ListTags
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.
A map of tag keys and values associated with the specified stream.
" } } } }, "com.amazonaws.kinesisvideo#MediaType": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "[\\w\\-\\.\\+]+/[\\w\\-\\.\\+]+(,[\\w\\-\\.\\+]+/[\\w\\-\\.\\+]+)*" } }, "com.amazonaws.kinesisvideo#MessageTtlSeconds": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 120 } } }, "com.amazonaws.kinesisvideo#NextToken": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 512 }, "smithy.api#pattern": "[a-zA-Z0-9+/=]*" } }, "com.amazonaws.kinesisvideo#NotAuthorizedException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.kinesisvideo#ErrorMessage" } }, "traits": { "smithy.api#documentation": "The caller is not authorized to perform this operation.
", "smithy.api#error": "client", "smithy.api#httpError": 401 } }, "com.amazonaws.kinesisvideo#ResourceARN": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1024 }, "smithy.api#pattern": "arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+" } }, "com.amazonaws.kinesisvideo#ResourceEndpoint": { "type": "string" }, "com.amazonaws.kinesisvideo#ResourceEndpointList": { "type": "list", "member": { "target": "com.amazonaws.kinesisvideo#ResourceEndpointListItem" } }, "com.amazonaws.kinesisvideo#ResourceEndpointListItem": { "type": "structure", "members": { "Protocol": { "target": "com.amazonaws.kinesisvideo#ChannelProtocol", "traits": { "smithy.api#documentation": "The protocol of the signaling channel returned by the\n GetSignalingChannelEndpoint
API.
The endpoint of the signaling channel returned by the\n GetSignalingChannelEndpoint
API.
An object that describes the endpoint of the signaling channel returned by the\n GetSignalingChannelEndpoint
API.
The signaling channel is currently not available for this operation.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.kinesisvideo#ResourceNotFoundException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.kinesisvideo#ErrorMessage" } }, "traits": { "smithy.api#documentation": "Amazon Kinesis Video Streams can't find the stream that you specified.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.kinesisvideo#ResourceTags": { "type": "map", "key": { "target": "com.amazonaws.kinesisvideo#TagKey" }, "value": { "target": "com.amazonaws.kinesisvideo#TagValue" }, "traits": { "smithy.api#length": { "min": 1, "max": 50 } } }, "com.amazonaws.kinesisvideo#SingleMasterChannelEndpointConfiguration": { "type": "structure", "members": { "Protocols": { "target": "com.amazonaws.kinesisvideo#ListOfProtocols", "traits": { "smithy.api#documentation": "This property is used to determine the nature of communication over this\n SINGLE_MASTER
signaling channel. If WSS
is specified, this\n API returns a websocket endpoint. If HTTPS
is specified, this API returns\n an HTTPS
endpoint.
This property is used to determine messaging permissions in this\n SINGLE_MASTER
signaling channel. If MASTER
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 VIEWER
is\n specified, this API returns an endpoint that a client can use only to send offers to\n another MASTER
client on this signaling channel.
An object that contains the endpoint configuration for the SINGLE_MASTER
\n channel type.
The period of time a signaling channel retains underlivered messages before they are\n discarded.
" } } }, "traits": { "smithy.api#documentation": "A structure that contains the configuration for the SINGLE_MASTER
channel\n type.
The name of the device that is associated with the stream.
" } }, "StreamName": { "target": "com.amazonaws.kinesisvideo#StreamName", "traits": { "smithy.api#documentation": "The name of the stream.
" } }, "StreamARN": { "target": "com.amazonaws.kinesisvideo#ResourceARN", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the stream.
" } }, "MediaType": { "target": "com.amazonaws.kinesisvideo#MediaType", "traits": { "smithy.api#documentation": "The MediaType
of the stream.
The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video Streams\n uses to encrypt data on the stream.
" } }, "Version": { "target": "com.amazonaws.kinesisvideo#Version", "traits": { "smithy.api#documentation": "The version of the stream.
" } }, "Status": { "target": "com.amazonaws.kinesisvideo#Status", "traits": { "smithy.api#documentation": "The status of the stream.
" } }, "CreationTime": { "target": "com.amazonaws.kinesisvideo#Timestamp", "traits": { "smithy.api#documentation": "A time stamp that indicates when the stream was created.
" } }, "DataRetentionInHours": { "target": "com.amazonaws.kinesisvideo#DataRetentionInHours", "traits": { "smithy.api#documentation": "How long the stream retains data, in hours.
" } } }, "traits": { "smithy.api#documentation": "An object describing a Kinesis video stream.
" } }, "com.amazonaws.kinesisvideo#StreamInfoList": { "type": "list", "member": { "target": "com.amazonaws.kinesisvideo#StreamInfo" } }, "com.amazonaws.kinesisvideo#StreamName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "[a-zA-Z0-9_.-]+" } }, "com.amazonaws.kinesisvideo#StreamNameCondition": { "type": "structure", "members": { "ComparisonOperator": { "target": "com.amazonaws.kinesisvideo#ComparisonOperator", "traits": { "smithy.api#documentation": "A comparison operator. Currently, you can specify only the BEGINS_WITH
\n operator, which finds streams whose names start with a given prefix.
A value to compare.
" } } }, "traits": { "smithy.api#documentation": "Specifies the condition that streams must satisfy to be returned when you list\n streams (see the ListStreams
API). A condition has a comparison operation\n and a value. Currently, you can specify only the BEGINS_WITH
operator,\n which finds streams whose names start with a given prefix.
The key of the tag that is associated with the specified signaling channel.
", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.kinesisvideo#TagValue", "traits": { "smithy.api#documentation": "The value of the tag that is associated with the specified signaling channel.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A key and value pair that is associated with the specified signaling channel.
" } }, "com.amazonaws.kinesisvideo#TagKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" } }, "com.amazonaws.kinesisvideo#TagKeyList": { "type": "list", "member": { "target": "com.amazonaws.kinesisvideo#TagKey" }, "traits": { "smithy.api#length": { "min": 1, "max": 50 } } }, "com.amazonaws.kinesisvideo#TagList": { "type": "list", "member": { "target": "com.amazonaws.kinesisvideo#Tag" }, "traits": { "smithy.api#length": { "min": 1, "max": 50 } } }, "com.amazonaws.kinesisvideo#TagOnCreateList": { "type": "list", "member": { "target": "com.amazonaws.kinesisvideo#Tag" }, "traits": { "smithy.api#length": { "min": 0, "max": 50 } } }, "com.amazonaws.kinesisvideo#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.kinesisvideo#TagResourceInput" }, "output": { "target": "com.amazonaws.kinesisvideo#TagResourceOutput" }, "errors": [ { "target": "com.amazonaws.kinesisvideo#AccessDeniedException" }, { "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException" }, { "target": "com.amazonaws.kinesisvideo#InvalidArgumentException" }, { "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException" }, { "target": "com.amazonaws.kinesisvideo#TagsPerResourceExceededLimitException" } ], "traits": { "smithy.api#documentation": "Adds one or more tags to a signaling channel. A tag 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 Using Cost Allocation\n Tags in the AWS Billing and Cost Management User\n Guide.
", "smithy.api#http": { "method": "POST", "uri": "/TagResource", "code": 200 } } }, "com.amazonaws.kinesisvideo#TagResourceInput": { "type": "structure", "members": { "ResourceARN": { "target": "com.amazonaws.kinesisvideo#ResourceARN", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the signaling channel to which you want to add\n tags.
", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.kinesisvideo#TagList", "traits": { "smithy.api#documentation": "A list of tags to associate with the specified signaling channel. Each tag is a\n key-value pair.
", "smithy.api#required": {} } } } }, "com.amazonaws.kinesisvideo#TagResourceOutput": { "type": "structure", "members": {} }, "com.amazonaws.kinesisvideo#TagStream": { "type": "operation", "input": { "target": "com.amazonaws.kinesisvideo#TagStreamInput" }, "output": { "target": "com.amazonaws.kinesisvideo#TagStreamOutput" }, "errors": [ { "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException" }, { "target": "com.amazonaws.kinesisvideo#InvalidArgumentException" }, { "target": "com.amazonaws.kinesisvideo#InvalidResourceFormatException" }, { "target": "com.amazonaws.kinesisvideo#NotAuthorizedException" }, { "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException" }, { "target": "com.amazonaws.kinesisvideo#TagsPerResourceExceededLimitException" } ], "traits": { "smithy.api#documentation": "Adds one or more tags to a stream. A tag 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 Using Cost Allocation\n Tags in the AWS Billing and Cost Management User Guide.
\nYou must provide either the StreamName
or the\n StreamARN
.
This operation requires permission for the KinesisVideo:TagStream
\n action.
Kinesis video streams support up to 50 tags.
", "smithy.api#http": { "method": "POST", "uri": "/tagStream", "code": 200 } } }, "com.amazonaws.kinesisvideo#TagStreamInput": { "type": "structure", "members": { "StreamARN": { "target": "com.amazonaws.kinesisvideo#ResourceARN", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource that you want to add the tag or tags\n to.
" } }, "StreamName": { "target": "com.amazonaws.kinesisvideo#StreamName", "traits": { "smithy.api#documentation": "The name of the stream that you want to add the tag or tags to.
" } }, "Tags": { "target": "com.amazonaws.kinesisvideo#ResourceTags", "traits": { "smithy.api#documentation": "A list of tags to associate with the specified stream. Each tag is a key-value pair\n (the value is optional).
", "smithy.api#required": {} } } } }, "com.amazonaws.kinesisvideo#TagStreamOutput": { "type": "structure", "members": {} }, "com.amazonaws.kinesisvideo#TagValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 }, "smithy.api#pattern": "[\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*" } }, "com.amazonaws.kinesisvideo#TagsPerResourceExceededLimitException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.kinesisvideo#ErrorMessage" } }, "traits": { "smithy.api#documentation": "You have exceeded the limit of tags that you can associate with the resource.\n Kinesis video streams support up to 50 tags.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.kinesisvideo#Timestamp": { "type": "timestamp" }, "com.amazonaws.kinesisvideo#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.kinesisvideo#UntagResourceInput" }, "output": { "target": "com.amazonaws.kinesisvideo#UntagResourceOutput" }, "errors": [ { "target": "com.amazonaws.kinesisvideo#AccessDeniedException" }, { "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException" }, { "target": "com.amazonaws.kinesisvideo#InvalidArgumentException" }, { "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "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.
", "smithy.api#http": { "method": "POST", "uri": "/UntagResource", "code": 200 } } }, "com.amazonaws.kinesisvideo#UntagResourceInput": { "type": "structure", "members": { "ResourceARN": { "target": "com.amazonaws.kinesisvideo#ResourceARN", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the signaling channel from which you want to remove\n tags.
", "smithy.api#required": {} } }, "TagKeyList": { "target": "com.amazonaws.kinesisvideo#TagKeyList", "traits": { "smithy.api#documentation": "A list of the keys of the tags that you want to remove.
", "smithy.api#required": {} } } } }, "com.amazonaws.kinesisvideo#UntagResourceOutput": { "type": "structure", "members": {} }, "com.amazonaws.kinesisvideo#UntagStream": { "type": "operation", "input": { "target": "com.amazonaws.kinesisvideo#UntagStreamInput" }, "output": { "target": "com.amazonaws.kinesisvideo#UntagStreamOutput" }, "errors": [ { "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException" }, { "target": "com.amazonaws.kinesisvideo#InvalidArgumentException" }, { "target": "com.amazonaws.kinesisvideo#InvalidResourceFormatException" }, { "target": "com.amazonaws.kinesisvideo#NotAuthorizedException" }, { "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "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.
\nIn the request, you must provide the StreamName
or\n StreamARN
.
The Amazon Resource Name (ARN) of the stream that you want to remove tags\n from.
" } }, "StreamName": { "target": "com.amazonaws.kinesisvideo#StreamName", "traits": { "smithy.api#documentation": "The name of the stream that you want to remove tags from.
" } }, "TagKeyList": { "target": "com.amazonaws.kinesisvideo#TagKeyList", "traits": { "smithy.api#documentation": "A list of the keys of the tags that you want to remove.
", "smithy.api#required": {} } } } }, "com.amazonaws.kinesisvideo#UntagStreamOutput": { "type": "structure", "members": {} }, "com.amazonaws.kinesisvideo#UpdateDataRetention": { "type": "operation", "input": { "target": "com.amazonaws.kinesisvideo#UpdateDataRetentionInput" }, "output": { "target": "com.amazonaws.kinesisvideo#UpdateDataRetentionOutput" }, "errors": [ { "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException" }, { "target": "com.amazonaws.kinesisvideo#InvalidArgumentException" }, { "target": "com.amazonaws.kinesisvideo#NotAuthorizedException" }, { "target": "com.amazonaws.kinesisvideo#ResourceInUseException" }, { "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException" }, { "target": "com.amazonaws.kinesisvideo#VersionMismatchException" } ], "traits": { "smithy.api#documentation": " 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 Operation
parameter in the request body. In the request, you\n must specify either the StreamName
or the StreamARN
.
The retention period that you specify replaces the current value.
\nThis operation requires permission for the\n KinesisVideo:UpdateDataRetention
action.
Changing the data retention period affects the data in the stream as\n follows:
\nIf 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.
\nIf 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.
\nThe name of the stream whose retention period you want to change.
" } }, "StreamARN": { "target": "com.amazonaws.kinesisvideo#ResourceARN", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the stream whose retention period you want to\n change.
" } }, "CurrentVersion": { "target": "com.amazonaws.kinesisvideo#Version", "traits": { "smithy.api#documentation": "The version of the stream whose retention period you want to change. To get the\n version, call either the DescribeStream
or the ListStreams
\n API.
Indicates whether you want to increase or decrease the retention period.
", "smithy.api#required": {} } }, "DataRetentionChangeInHours": { "target": "com.amazonaws.kinesisvideo#DataRetentionChangeInHours", "traits": { "smithy.api#documentation": "The retention period, in hours. The value you specify replaces the current value.\n The maximum value for this parameter is 87600 (ten years).
", "smithy.api#required": {} } } } }, "com.amazonaws.kinesisvideo#UpdateDataRetentionOperation": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "INCREASE_DATA_RETENTION", "name": "INCREASE_DATA_RETENTION" }, { "value": "DECREASE_DATA_RETENTION", "name": "DECREASE_DATA_RETENTION" } ] } }, "com.amazonaws.kinesisvideo#UpdateDataRetentionOutput": { "type": "structure", "members": {} }, "com.amazonaws.kinesisvideo#UpdateSignalingChannel": { "type": "operation", "input": { "target": "com.amazonaws.kinesisvideo#UpdateSignalingChannelInput" }, "output": { "target": "com.amazonaws.kinesisvideo#UpdateSignalingChannelOutput" }, "errors": [ { "target": "com.amazonaws.kinesisvideo#AccessDeniedException" }, { "target": "com.amazonaws.kinesisvideo#ClientLimitExceededException" }, { "target": "com.amazonaws.kinesisvideo#InvalidArgumentException" }, { "target": "com.amazonaws.kinesisvideo#ResourceInUseException" }, { "target": "com.amazonaws.kinesisvideo#ResourceNotFoundException" }, { "target": "com.amazonaws.kinesisvideo#VersionMismatchException" } ], "traits": { "smithy.api#documentation": "Updates the existing signaling channel. This is an asynchronous operation and takes\n time to complete.
\nIf the MessageTtlSeconds
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 MessageTtlSeconds
\n value.
The Amazon Resource Name (ARN) of the signaling channel that you want to\n update.
", "smithy.api#required": {} } }, "CurrentVersion": { "target": "com.amazonaws.kinesisvideo#Version", "traits": { "smithy.api#documentation": "The current version of the signaling channel that you want to update.
", "smithy.api#required": {} } }, "SingleMasterConfiguration": { "target": "com.amazonaws.kinesisvideo#SingleMasterConfiguration", "traits": { "smithy.api#documentation": "The structure containing the configuration for the SINGLE_MASTER
type of\n the signaling channel that you want to update.
Updates stream metadata, such as the device name and media type.
\nYou must provide the stream name or the Amazon Resource Name (ARN) of the\n stream.
\nTo 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 DescribeStream
API.
\n UpdateStream
is an asynchronous operation, and takes time to\n complete.
The name of the stream whose metadata you want to update.
\nThe stream name is an identifier for the stream, and must be unique for each\n account and region.
" } }, "StreamARN": { "target": "com.amazonaws.kinesisvideo#ResourceARN", "traits": { "smithy.api#documentation": "The ARN of the stream whose metadata you want to update.
" } }, "CurrentVersion": { "target": "com.amazonaws.kinesisvideo#Version", "traits": { "smithy.api#documentation": "The version of the stream whose metadata you want to update.
", "smithy.api#required": {} } }, "DeviceName": { "target": "com.amazonaws.kinesisvideo#DeviceName", "traits": { "smithy.api#documentation": "The name of the device that is writing to the stream.
\nIn the current implementation, Kinesis Video Streams does not use this name.\n
\nThe stream's media type. Use MediaType
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 Media\n Types. If you choose to specify the MediaType
, see Naming\n Requirements.
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 video/h264
as the\n MediaType
.
The stream version that you specified is not the latest version. To get the latest\n version, use the DescribeStream\n API.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } } } }