python-botocore/botocore/data/kinesisvideo/2017-09-30/service-2.json
2018-08-16 15:01:54 +09:00

730 lines
30 KiB
JSON

{
"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":{
"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"}
],
"documentation":"<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>"
},
"DeleteStream":{
"name":"DeleteStream",
"http":{
"method":"POST",
"requestUri":"/deleteStream"
},
"input":{"shape":"DeleteStreamInput"},
"output":{"shape":"DeleteStreamOutput"},
"errors":[
{"shape":"ClientLimitExceededException"},
{"shape":"InvalidArgumentException"},
{"shape":"ResourceNotFoundException"},
{"shape":"NotAuthorizedException"}
],
"documentation":"<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>"
},
"DescribeStream":{
"name":"DescribeStream",
"http":{
"method":"POST",
"requestUri":"/describeStream"
},
"input":{"shape":"DescribeStreamInput"},
"output":{"shape":"DescribeStreamOutput"},
"errors":[
{"shape":"InvalidArgumentException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ClientLimitExceededException"},
{"shape":"NotAuthorizedException"}
],
"documentation":"<p>Returns the most current information about the specified stream. You must specify either the <code>StreamName</code> or the <code>StreamARN</code>. </p>"
},
"GetDataEndpoint":{
"name":"GetDataEndpoint",
"http":{
"method":"POST",
"requestUri":"/getDataEndpoint"
},
"input":{"shape":"GetDataEndpointInput"},
"output":{"shape":"GetDataEndpointOutput"},
"errors":[
{"shape":"InvalidArgumentException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ClientLimitExceededException"},
{"shape":"NotAuthorizedException"}
],
"documentation":"<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>"
},
"ListStreams":{
"name":"ListStreams",
"http":{
"method":"POST",
"requestUri":"/listStreams"
},
"input":{"shape":"ListStreamsInput"},
"output":{"shape":"ListStreamsOutput"},
"errors":[
{"shape":"ClientLimitExceededException"},
{"shape":"InvalidArgumentException"}
],
"documentation":"<p>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>. </p>"
},
"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":"<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>"
},
"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":"<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>"
},
"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":"<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>"
},
"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":"<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>"
},
"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":"<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>"
}
},
"shapes":{
"APIName":{
"type":"string",
"enum":[
"PUT_MEDIA",
"GET_MEDIA",
"LIST_FRAGMENTS",
"GET_MEDIA_FOR_FRAGMENT_LIST",
"GET_HLS_STREAMING_SESSION_URL"
]
},
"AccountStreamLimitExceededException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"}
},
"documentation":"<p>The number of streams created for the account is too high.</p>",
"error":{"httpStatusCode":400},
"exception":true
},
"ClientLimitExceededException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"}
},
"documentation":"<p>Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client calls. Try making the call later.</p>",
"error":{"httpStatusCode":400},
"exception":true
},
"ComparisonOperator":{
"type":"string",
"enum":["BEGINS_WITH"]
},
"CreateStreamInput":{
"type":"structure",
"required":["StreamName"],
"members":{
"DeviceName":{
"shape":"DeviceName",
"documentation":"<p>The name of the device that is writing to the stream. </p> <note> <p>In the current implementation, Kinesis Video Streams does not use this name.</p> </note>"
},
"StreamName":{
"shape":"StreamName",
"documentation":"<p>A name for the stream that you are creating.</p> <p>The stream name is an identifier for the stream, and must be unique for each account and region.</p>"
},
"MediaType":{
"shape":"MediaType",
"documentation":"<p>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 <a href=\"http://www.iana.org/assignments/media-types/media-types.xhtml\">Media Types</a>. If you choose to specify the <code>MediaType</code>, see <a href=\"https://tools.ietf.org/html/rfc6838#section-4.2\">Naming Requirements</a> for guidelines.</p> <p>To play video on the console, the media must be H.264 encoded, and you need to specify this video type in this parameter as <code>video/h264</code>. </p> <p>This parameter is optional; the default value is <code>null</code> (or empty in JSON).</p>"
},
"KmsKeyId":{
"shape":"KmsKeyId",
"documentation":"<p>The ID of the AWS Key Management Service (AWS KMS) key that you want Kinesis Video Streams to use to encrypt stream data.</p> <p>If no key ID is specified, the default, Kinesis Video-managed key (<code>aws/kinesisvideo</code>) is used.</p> <p> For more information, see <a href=\"http://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters\">DescribeKey</a>. </p>"
},
"DataRetentionInHours":{
"shape":"DataRetentionInHours",
"documentation":"<p>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.</p> <p>The default value is 0, indicating that the stream does not persist data.</p> <p>When the <code>DataRetentionInHours</code> 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.</p>"
}
}
},
"CreateStreamOutput":{
"type":"structure",
"members":{
"StreamARN":{
"shape":"ResourceARN",
"documentation":"<p>The Amazon Resource Name (ARN) of the stream.</p>"
}
}
},
"DataEndpoint":{"type":"string"},
"DataRetentionChangeInHours":{
"type":"integer",
"min":1
},
"DataRetentionInHours":{
"type":"integer",
"min":0
},
"DeleteStreamInput":{
"type":"structure",
"required":["StreamARN"],
"members":{
"StreamARN":{
"shape":"ResourceARN",
"documentation":"<p>The Amazon Resource Name (ARN) of the stream that you want to delete. </p>"
},
"CurrentVersion":{
"shape":"Version",
"documentation":"<p>Optional: The version of the stream that you want to delete. </p> <p>Specify the version as a safeguard to ensure that your are deleting the correct stream. To get the stream version, use the <code>DescribeStream</code> API.</p> <p>If not specified, only the <code>CreationTime</code> is checked before deleting the stream.</p>"
}
}
},
"DeleteStreamOutput":{
"type":"structure",
"members":{
}
},
"DescribeStreamInput":{
"type":"structure",
"members":{
"StreamName":{
"shape":"StreamName",
"documentation":"<p>The name of the stream.</p>"
},
"StreamARN":{
"shape":"ResourceARN",
"documentation":"<p>The Amazon Resource Name (ARN) of the stream.</p>"
}
}
},
"DescribeStreamOutput":{
"type":"structure",
"members":{
"StreamInfo":{
"shape":"StreamInfo",
"documentation":"<p>An object that describes the stream.</p>"
}
}
},
"DeviceName":{
"type":"string",
"max":128,
"min":1,
"pattern":"[a-zA-Z0-9_.-]+"
},
"DeviceStreamLimitExceededException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"}
},
"documentation":"<p>Not implemented. </p>",
"error":{"httpStatusCode":400},
"exception":true
},
"ErrorMessage":{"type":"string"},
"GetDataEndpointInput":{
"type":"structure",
"required":["APIName"],
"members":{
"StreamName":{
"shape":"StreamName",
"documentation":"<p>The name of the stream that you want to get the endpoint for. You must specify either this parameter or a <code>StreamARN</code> in the request.</p>"
},
"StreamARN":{
"shape":"ResourceARN",
"documentation":"<p>The Amazon Resource Name (ARN) of the stream that you want to get the endpoint for. You must specify either this parameter or a <code>StreamName</code> in the request. </p>"
},
"APIName":{
"shape":"APIName",
"documentation":"<p>The name of the API action for which to get an endpoint.</p>"
}
}
},
"GetDataEndpointOutput":{
"type":"structure",
"members":{
"DataEndpoint":{
"shape":"DataEndpoint",
"documentation":"<p>The endpoint value. To read data from the stream or to write data to it, specify this endpoint in your application.</p>"
}
}
},
"InvalidArgumentException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"}
},
"documentation":"<p>The value for this input parameter is invalid.</p>",
"error":{"httpStatusCode":400},
"exception":true
},
"InvalidDeviceException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"}
},
"documentation":"<p>Not implemented.</p>",
"error":{"httpStatusCode":400},
"exception":true
},
"InvalidResourceFormatException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"}
},
"documentation":"<p>The format of the <code>StreamARN</code> is invalid.</p>",
"error":{"httpStatusCode":400},
"exception":true
},
"KmsKeyId":{
"type":"string",
"max":2048,
"min":1
},
"ListStreamsInput":{
"type":"structure",
"members":{
"MaxResults":{
"shape":"ListStreamsInputLimit",
"documentation":"<p>The maximum number of streams to return in the response. The default is 10,000.</p>"
},
"NextToken":{
"shape":"NextToken",
"documentation":"<p>If you specify this parameter, when the result of a <code>ListStreams</code> operation is truncated, the call returns the <code>NextToken</code> in the response. To get another batch of streams, provide this token in your next request.</p>"
},
"StreamNameCondition":{
"shape":"StreamNameCondition",
"documentation":"<p>Optional: Returns only streams that satisfy a specific condition. Currently, you can specify only the prefix of a stream name as a condition. </p>"
}
}
},
"ListStreamsInputLimit":{
"type":"integer",
"max":10000,
"min":1
},
"ListStreamsOutput":{
"type":"structure",
"members":{
"StreamInfoList":{
"shape":"StreamInfoList",
"documentation":"<p>An array of <code>StreamInfo</code> objects.</p>"
},
"NextToken":{
"shape":"NextToken",
"documentation":"<p>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. </p>"
}
}
},
"ListTagsForStreamInput":{
"type":"structure",
"members":{
"NextToken":{
"shape":"NextToken",
"documentation":"<p>If you specify this parameter and the result of a <code>ListTagsForStream</code> call is truncated, the response includes a token that you can use in the next request to fetch the next batch of tags.</p>"
},
"StreamARN":{
"shape":"ResourceARN",
"documentation":"<p>The Amazon Resource Name (ARN) of the stream that you want to list tags for.</p>"
},
"StreamName":{
"shape":"StreamName",
"documentation":"<p>The name of the stream that you want to list tags for.</p>"
}
}
},
"ListTagsForStreamOutput":{
"type":"structure",
"members":{
"NextToken":{
"shape":"NextToken",
"documentation":"<p>If you specify this parameter and the result of a <code>ListTags</code> call is truncated, the response includes a token that you can use in the next request to fetch the next set of tags.</p>"
},
"Tags":{
"shape":"ResourceTags",
"documentation":"<p>A map of tag keys and values associated with the specified stream.</p>"
}
}
},
"MediaType":{
"type":"string",
"max":128,
"min":1,
"pattern":"[\\w\\-\\.\\+]+/[\\w\\-\\.\\+]+"
},
"NextToken":{
"type":"string",
"max":512,
"min":0
},
"NotAuthorizedException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"}
},
"documentation":"<p>The caller is not authorized to perform this operation.</p>",
"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]+"
},
"ResourceInUseException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"}
},
"documentation":"<p>The stream is currently not available for this operation.</p>",
"error":{"httpStatusCode":400},
"exception":true
},
"ResourceNotFoundException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"}
},
"documentation":"<p>Amazon Kinesis Video Streams can't find the stream that you specified.</p>",
"error":{"httpStatusCode":404},
"exception":true
},
"ResourceTags":{
"type":"map",
"key":{"shape":"TagKey"},
"value":{"shape":"TagValue"},
"max":50,
"min":1
},
"Status":{
"type":"string",
"enum":[
"CREATING",
"ACTIVE",
"UPDATING",
"DELETING"
]
},
"StreamInfo":{
"type":"structure",
"members":{
"DeviceName":{
"shape":"DeviceName",
"documentation":"<p>The name of the device that is associated with the stream.</p>"
},
"StreamName":{
"shape":"StreamName",
"documentation":"<p>The name of the stream.</p>"
},
"StreamARN":{
"shape":"ResourceARN",
"documentation":"<p>The Amazon Resource Name (ARN) of the stream.</p>"
},
"MediaType":{
"shape":"MediaType",
"documentation":"<p>The <code>MediaType</code> of the stream. </p>"
},
"KmsKeyId":{
"shape":"KmsKeyId",
"documentation":"<p>The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video Streams uses to encrypt data on the stream.</p>"
},
"Version":{
"shape":"Version",
"documentation":"<p>The version of the stream.</p>"
},
"Status":{
"shape":"Status",
"documentation":"<p>The status of the stream.</p>"
},
"CreationTime":{
"shape":"Timestamp",
"documentation":"<p>A time stamp that indicates when the stream was created.</p>"
},
"DataRetentionInHours":{
"shape":"DataRetentionInHours",
"documentation":"<p>How long the stream retains data, in hours.</p>"
}
},
"documentation":"<p>An object describing a Kinesis video stream.</p>"
},
"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":"<p>A comparison operator. Currently, you can specify only the <code>BEGINS_WITH</code> operator, which finds streams whose names start with a given prefix.</p>"
},
"ComparisonValue":{
"shape":"StreamName",
"documentation":"<p>A value to compare.</p>"
}
},
"documentation":"<p>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. </p>"
},
"TagKey":{
"type":"string",
"max":128,
"min":1
},
"TagKeyList":{
"type":"list",
"member":{"shape":"TagKey"},
"max":50,
"min":1
},
"TagStreamInput":{
"type":"structure",
"required":["Tags"],
"members":{
"StreamARN":{
"shape":"ResourceARN",
"documentation":"<p>The Amazon Resource Name (ARN) of the resource that you want to add the tag or tags to.</p>"
},
"StreamName":{
"shape":"StreamName",
"documentation":"<p>The name of the stream that you want to add the tag or tags to.</p>"
},
"Tags":{
"shape":"ResourceTags",
"documentation":"<p>A list of tags to associate with the specified stream. Each tag is a key-value pair (the value is optional).</p>"
}
}
},
"TagStreamOutput":{
"type":"structure",
"members":{
}
},
"TagValue":{
"type":"string",
"max":256,
"min":0
},
"TagsPerResourceExceededLimitException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"}
},
"documentation":"<p>You have exceeded the limit of tags that you can associate with the resource. Kinesis video streams support up to 50 tags. </p>",
"error":{"httpStatusCode":400},
"exception":true
},
"Timestamp":{"type":"timestamp"},
"UntagStreamInput":{
"type":"structure",
"required":["TagKeyList"],
"members":{
"StreamARN":{
"shape":"ResourceARN",
"documentation":"<p>The Amazon Resource Name (ARN) of the stream that you want to remove tags from.</p>"
},
"StreamName":{
"shape":"StreamName",
"documentation":"<p>The name of the stream that you want to remove tags from.</p>"
},
"TagKeyList":{
"shape":"TagKeyList",
"documentation":"<p>A list of the keys of the tags that you want to remove.</p>"
}
}
},
"UntagStreamOutput":{
"type":"structure",
"members":{
}
},
"UpdateDataRetentionInput":{
"type":"structure",
"required":[
"CurrentVersion",
"Operation",
"DataRetentionChangeInHours"
],
"members":{
"StreamName":{
"shape":"StreamName",
"documentation":"<p>The name of the stream whose retention period you want to change.</p>"
},
"StreamARN":{
"shape":"ResourceARN",
"documentation":"<p>The Amazon Resource Name (ARN) of the stream whose retention period you want to change.</p>"
},
"CurrentVersion":{
"shape":"Version",
"documentation":"<p>The version of the stream whose retention period you want to change. To get the version, call either the <code>DescribeStream</code> or the <code>ListStreams</code> API.</p>"
},
"Operation":{
"shape":"UpdateDataRetentionOperation",
"documentation":"<p>Indicates whether you want to increase or decrease the retention period.</p>"
},
"DataRetentionChangeInHours":{
"shape":"DataRetentionChangeInHours",
"documentation":"<p>The retention period, in hours. The value you specify replaces the current value.</p>"
}
}
},
"UpdateDataRetentionOperation":{
"type":"string",
"enum":[
"INCREASE_DATA_RETENTION",
"DECREASE_DATA_RETENTION"
]
},
"UpdateDataRetentionOutput":{
"type":"structure",
"members":{
}
},
"UpdateStreamInput":{
"type":"structure",
"required":["CurrentVersion"],
"members":{
"StreamName":{
"shape":"StreamName",
"documentation":"<p>The name of the stream whose metadata you want to update.</p> <p>The stream name is an identifier for the stream, and must be unique for each account and region.</p>"
},
"StreamARN":{
"shape":"ResourceARN",
"documentation":"<p>The ARN of the stream whose metadata you want to update.</p>"
},
"CurrentVersion":{
"shape":"Version",
"documentation":"<p>The version of the stream whose metadata you want to update.</p>"
},
"DeviceName":{
"shape":"DeviceName",
"documentation":"<p>The name of the device that is writing to the stream. </p> <note> <p> In the current implementation, Kinesis Video Streams does not use this name. </p> </note>"
},
"MediaType":{
"shape":"MediaType",
"documentation":"<p>The stream's media type. Use <code>MediaType</code> to specify the type of content that the stream contains to the consumers of the stream. For more information about media types, see <a href=\"http://www.iana.org/assignments/media-types/media-types.xhtml\">Media Types</a>. If you choose to specify the <code>MediaType</code>, see <a href=\"https://tools.ietf.org/html/rfc6838#section-4.2\">Naming Requirements</a>.</p> <p>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 <code>video/h264</code> as the <code>MediaType</code>.</p>"
}
}
},
"UpdateStreamOutput":{
"type":"structure",
"members":{
}
},
"Version":{
"type":"string",
"max":64,
"min":1,
"pattern":"[a-zA-Z0-9]+"
},
"VersionMismatchException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"}
},
"documentation":"<p>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.</p>",
"error":{"httpStatusCode":400},
"exception":true
}
},
"documentation":"<p/>"
}