{
  "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":"<p>Creates a signaling channel. </p> <p> <code>CreateSignalingChannel</code> is an asynchronous operation.</p>"
    },
    "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":"<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=\"https://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>"
    },
    "DeleteEdgeConfiguration":{
      "name":"DeleteEdgeConfiguration",
      "http":{
        "method":"POST",
        "requestUri":"/deleteEdgeConfiguration"
      },
      "input":{"shape":"DeleteEdgeConfigurationInput"},
      "output":{"shape":"DeleteEdgeConfigurationOutput"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"ClientLimitExceededException"},
        {"shape":"InvalidArgumentException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"StreamEdgeConfigurationNotFoundException"}
      ],
      "documentation":"<p>An asynchronous API that deletes a stream’s existing edge configuration, as well as the corresponding media from the Edge Agent.</p> <p>When you invoke this API, the sync status is set to <code>DELETING</code>. A deletion process starts, in which active edge jobs are stopped and all media is deleted from the edge device. The time to delete varies, depending on the total amount of stored media. If the deletion process fails, the sync status changes to <code>DELETE_FAILED</code>. You will need to re-try the deletion.</p> <p>When the deletion process has completed successfully, the edge configuration is no longer accessible.</p>"
    },
    "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":"<p>Deletes a specified signaling channel. <code>DeleteSignalingChannel</code> is an asynchronous operation. If you don't specify the channel's current version, the most recent version is deleted.</p>"
    },
    "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":"<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>"
    },
    "DescribeEdgeConfiguration":{
      "name":"DescribeEdgeConfiguration",
      "http":{
        "method":"POST",
        "requestUri":"/describeEdgeConfiguration"
      },
      "input":{"shape":"DescribeEdgeConfigurationInput"},
      "output":{"shape":"DescribeEdgeConfigurationOutput"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"ClientLimitExceededException"},
        {"shape":"InvalidArgumentException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"StreamEdgeConfigurationNotFoundException"}
      ],
      "documentation":"<p>Describes a stream’s edge configuration that was set using the <code>StartEdgeConfigurationUpdate</code> API and the latest status of the edge agent's recorder and uploader jobs. Use this API to get the status of the configuration to determine if the configuration is in sync with the Edge Agent. Use this API to evaluate the health of the Edge Agent.</p>"
    },
    "DescribeImageGenerationConfiguration":{
      "name":"DescribeImageGenerationConfiguration",
      "http":{
        "method":"POST",
        "requestUri":"/describeImageGenerationConfiguration"
      },
      "input":{"shape":"DescribeImageGenerationConfigurationInput"},
      "output":{"shape":"DescribeImageGenerationConfigurationOutput"},
      "errors":[
        {"shape":"InvalidArgumentException"},
        {"shape":"ClientLimitExceededException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"}
      ],
      "documentation":"<p>Gets the <code>ImageGenerationConfiguration</code> for a given Kinesis video stream.</p>"
    },
    "DescribeMappedResourceConfiguration":{
      "name":"DescribeMappedResourceConfiguration",
      "http":{
        "method":"POST",
        "requestUri":"/describeMappedResourceConfiguration"
      },
      "input":{"shape":"DescribeMappedResourceConfigurationInput"},
      "output":{"shape":"DescribeMappedResourceConfigurationOutput"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidArgumentException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ClientLimitExceededException"}
      ],
      "documentation":"<p>Returns the most current information about the stream. The <code>streamName</code> or <code>streamARN</code> should be provided in the input.</p>"
    },
    "DescribeMediaStorageConfiguration":{
      "name":"DescribeMediaStorageConfiguration",
      "http":{
        "method":"POST",
        "requestUri":"/describeMediaStorageConfiguration"
      },
      "input":{"shape":"DescribeMediaStorageConfigurationInput"},
      "output":{"shape":"DescribeMediaStorageConfigurationOutput"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InvalidArgumentException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ClientLimitExceededException"}
      ],
      "documentation":"<p>Returns the most current information about the channel. Specify the <code>ChannelName</code> or <code>ChannelARN</code> in the input.</p>"
    },
    "DescribeNotificationConfiguration":{
      "name":"DescribeNotificationConfiguration",
      "http":{
        "method":"POST",
        "requestUri":"/describeNotificationConfiguration"
      },
      "input":{"shape":"DescribeNotificationConfigurationInput"},
      "output":{"shape":"DescribeNotificationConfigurationOutput"},
      "errors":[
        {"shape":"InvalidArgumentException"},
        {"shape":"ClientLimitExceededException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"}
      ],
      "documentation":"<p>Gets the <code>NotificationConfiguration</code> for a given Kinesis video stream.</p>"
    },
    "DescribeSignalingChannel":{
      "name":"DescribeSignalingChannel",
      "http":{
        "method":"POST",
        "requestUri":"/describeSignalingChannel"
      },
      "input":{"shape":"DescribeSignalingChannelInput"},
      "output":{"shape":"DescribeSignalingChannelOutput"},
      "errors":[
        {"shape":"InvalidArgumentException"},
        {"shape":"ClientLimitExceededException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"}
      ],
      "documentation":"<p>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.</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>"
    },
    "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":"<p>Provides an endpoint for the specified signaling channel to send and receive messages. This API uses the <code>SingleMasterChannelEndpointConfiguration</code> input parameter, which consists of the <code>Protocols</code> and <code>Role</code> properties.</p> <p> <code>Protocols</code> is used to determine the communication mechanism. For example, if you specify <code>WSS</code> as the protocol, this API produces a secure websocket endpoint. If you specify <code>HTTPS</code> as the protocol, this API generates an HTTPS endpoint. </p> <p> <code>Role</code> determines the messaging permissions. A <code>MASTER</code> role results in this API generating an endpoint that a client can use to communicate with any of the viewers on the channel. A <code>VIEWER</code> role results in this API generating an endpoint that a client can use to communicate only with a <code>MASTER</code>. </p>"
    },
    "ListEdgeAgentConfigurations":{
      "name":"ListEdgeAgentConfigurations",
      "http":{
        "method":"POST",
        "requestUri":"/listEdgeAgentConfigurations"
      },
      "input":{"shape":"ListEdgeAgentConfigurationsInput"},
      "output":{"shape":"ListEdgeAgentConfigurationsOutput"},
      "errors":[
        {"shape":"NotAuthorizedException"},
        {"shape":"ClientLimitExceededException"},
        {"shape":"InvalidArgumentException"}
      ],
      "documentation":"<p>Returns an array of edge configurations associated with the specified Edge Agent.</p> <p>In the request, you must specify the Edge Agent <code>HubDeviceArn</code>.</p>"
    },
    "ListSignalingChannels":{
      "name":"ListSignalingChannels",
      "http":{
        "method":"POST",
        "requestUri":"/listSignalingChannels"
      },
      "input":{"shape":"ListSignalingChannelsInput"},
      "output":{"shape":"ListSignalingChannelsOutput"},
      "errors":[
        {"shape":"InvalidArgumentException"},
        {"shape":"ClientLimitExceededException"},
        {"shape":"AccessDeniedException"}
      ],
      "documentation":"<p>Returns an array of <code>ChannelInfo</code> objects. Each object describes a signaling channel. To retrieve only those channels that satisfy a specific condition, you can specify a <code>ChannelNameCondition</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>"
    },
    "ListTagsForResource":{
      "name":"ListTagsForResource",
      "http":{
        "method":"POST",
        "requestUri":"/ListTagsForResource"
      },
      "input":{"shape":"ListTagsForResourceInput"},
      "output":{"shape":"ListTagsForResourceOutput"},
      "errors":[
        {"shape":"InvalidArgumentException"},
        {"shape":"ClientLimitExceededException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"}
      ],
      "documentation":"<p>Returns a list of tags associated with the specified signaling channel.</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>"
    },
    "StartEdgeConfigurationUpdate":{
      "name":"StartEdgeConfigurationUpdate",
      "http":{
        "method":"POST",
        "requestUri":"/startEdgeConfigurationUpdate"
      },
      "input":{"shape":"StartEdgeConfigurationUpdateInput"},
      "output":{"shape":"StartEdgeConfigurationUpdateOutput"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"ClientLimitExceededException"},
        {"shape":"InvalidArgumentException"},
        {"shape":"NoDataRetentionException"},
        {"shape":"ResourceInUseException"},
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>An asynchronous API that updates a stream’s existing edge configuration. The Kinesis Video Stream will sync the stream’s edge configuration with the Edge Agent IoT Greengrass component that runs on an IoT Hub Device, setup at your premise. The time to sync can vary and depends on the connectivity of the Hub Device. The <code>SyncStatus</code> will be updated as the edge configuration is acknowledged, and synced with the Edge Agent. </p> <p>If this API is invoked for the first time, a new edge configuration will be created for the stream, and the sync status will be set to <code>SYNCING</code>. You will have to wait for the sync status to reach a terminal state such as: <code>IN_SYNC</code>, or <code>SYNC_FAILED</code>, before using this API again. If you invoke this API during the syncing process, a <code>ResourceInUseException</code> will be thrown. The connectivity of the stream’s edge configuration and the Edge Agent will be retried for 15 minutes. After 15 minutes, the status will transition into the <code>SYNC_FAILED</code> state.</p> <p>To move an edge configuration from one device to another, use <a>DeleteEdgeConfiguration</a> to delete the current edge configuration. You can then invoke StartEdgeConfigurationUpdate with an updated Hub Device ARN.</p>"
    },
    "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":"<p>Adds one or more tags to a signaling channel. A <i>tag</i> is a key-value pair (the value is optional) that you can define and assign to Amazon Web Services 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=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html\">Using Cost Allocation Tags</a> in the <i>Billing and Cost Management and Cost Management User Guide</i>.</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 Amazon Web Services 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=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html\">Using Cost Allocation Tags</a> in the <i>Billing and Cost Management 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>A Kinesis video stream can support up to 50 tags.</p>"
    },
    "UntagResource":{
      "name":"UntagResource",
      "http":{
        "method":"POST",
        "requestUri":"/UntagResource"
      },
      "input":{"shape":"UntagResourceInput"},
      "output":{"shape":"UntagResourceOutput"},
      "errors":[
        {"shape":"InvalidArgumentException"},
        {"shape":"ClientLimitExceededException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"}
      ],
      "documentation":"<p>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.</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> <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>"
    },
    "UpdateImageGenerationConfiguration":{
      "name":"UpdateImageGenerationConfiguration",
      "http":{
        "method":"POST",
        "requestUri":"/updateImageGenerationConfiguration"
      },
      "input":{"shape":"UpdateImageGenerationConfigurationInput"},
      "output":{"shape":"UpdateImageGenerationConfigurationOutput"},
      "errors":[
        {"shape":"InvalidArgumentException"},
        {"shape":"ClientLimitExceededException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ResourceInUseException"},
        {"shape":"NoDataRetentionException"}
      ],
      "documentation":"<p>Updates the <code>StreamInfo</code> and <code>ImageProcessingConfiguration</code> fields.</p>"
    },
    "UpdateMediaStorageConfiguration":{
      "name":"UpdateMediaStorageConfiguration",
      "http":{
        "method":"POST",
        "requestUri":"/updateMediaStorageConfiguration"
      },
      "input":{"shape":"UpdateMediaStorageConfigurationInput"},
      "output":{"shape":"UpdateMediaStorageConfigurationOutput"},
      "errors":[
        {"shape":"ResourceInUseException"},
        {"shape":"InvalidArgumentException"},
        {"shape":"ClientLimitExceededException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"NoDataRetentionException"}
      ],
      "documentation":"<p>Associates a <code>SignalingChannel</code> to a stream to store the media. There are two signaling modes that you can specify :</p> <ul> <li> <p>If <code>StorageStatus</code> is enabled, the data will be stored in the <code>StreamARN</code> provided. In order for WebRTC Ingestion to work, the stream must have data retention enabled.</p> </li> <li> <p>If <code>StorageStatus</code> is disabled, no data will be stored, and the <code>StreamARN</code> parameter will not be needed. </p> </li> </ul> <important> <p>If <code>StorageStatus</code> is enabled, direct peer-to-peer (master-viewer) connections no longer occur. Peers connect directly to the storage session. You must call the <code>JoinStorageSession</code> API to trigger an SDP offer send and establish a connection between a peer and the storage session. </p> </important>"
    },
    "UpdateNotificationConfiguration":{
      "name":"UpdateNotificationConfiguration",
      "http":{
        "method":"POST",
        "requestUri":"/updateNotificationConfiguration"
      },
      "input":{"shape":"UpdateNotificationConfigurationInput"},
      "output":{"shape":"UpdateNotificationConfigurationOutput"},
      "errors":[
        {"shape":"InvalidArgumentException"},
        {"shape":"ClientLimitExceededException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ResourceInUseException"},
        {"shape":"NoDataRetentionException"}
      ],
      "documentation":"<p>Updates the notification information for a stream.</p>"
    },
    "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":"<p>Updates the existing signaling channel. This is an asynchronous operation and takes time to complete. </p> <p>If the <code>MessageTtlSeconds</code> 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 <code>MessageTtlSeconds</code> value.</p>"
    },
    "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",
        "GET_DASH_STREAMING_SESSION_URL",
        "GET_CLIP",
        "GET_IMAGES"
      ]
    },
    "AccessDeniedException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p>You do not have required permissions to perform this operation.</p>",
      "error":{"httpStatusCode":401},
      "exception":true
    },
    "AccountChannelLimitExceededException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p>You have reached the maximum limit of active signaling channels for this Amazon Web Services account in this region.</p>",
      "error":{"httpStatusCode":400},
      "exception":true
    },
    "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
    },
    "ChannelInfo":{
      "type":"structure",
      "members":{
        "ChannelName":{
          "shape":"ChannelName",
          "documentation":"<p>The name of the signaling channel.</p>"
        },
        "ChannelARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the signaling channel.</p>"
        },
        "ChannelType":{
          "shape":"ChannelType",
          "documentation":"<p>The type of the signaling channel.</p>"
        },
        "ChannelStatus":{
          "shape":"Status",
          "documentation":"<p>Current status of the signaling channel.</p>"
        },
        "CreationTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the signaling channel was created.</p>"
        },
        "SingleMasterConfiguration":{
          "shape":"SingleMasterConfiguration",
          "documentation":"<p>A structure that contains the configuration for the <code>SINGLE_MASTER</code> channel type.</p>"
        },
        "Version":{
          "shape":"Version",
          "documentation":"<p>The current version of the signaling channel.</p>"
        }
      },
      "documentation":"<p>A structure that encapsulates a signaling channel's metadata and properties.</p>"
    },
    "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":"<p>A comparison operator. Currently, you can only specify the <code>BEGINS_WITH</code> operator, which finds signaling channels whose names begin with a given prefix.</p>"
        },
        "ComparisonValue":{
          "shape":"ChannelName",
          "documentation":"<p>A value to compare.</p>"
        }
      },
      "documentation":"<p>An optional input parameter for the <code>ListSignalingChannels</code> API. When this parameter is specified while invoking <code>ListSignalingChannels</code>, the API returns only the channels that satisfy a condition specified in <code>ChannelNameCondition</code>.</p>"
    },
    "ChannelProtocol":{
      "type":"string",
      "enum":[
        "WSS",
        "HTTPS",
        "WEBRTC"
      ]
    },
    "ChannelRole":{
      "type":"string",
      "enum":[
        "MASTER",
        "VIEWER"
      ]
    },
    "ChannelType":{
      "type":"string",
      "enum":[
        "SINGLE_MASTER",
        "FULL_MESH"
      ]
    },
    "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"]
    },
    "ConfigurationStatus":{
      "type":"string",
      "enum":[
        "ENABLED",
        "DISABLED"
      ]
    },
    "CreateSignalingChannelInput":{
      "type":"structure",
      "required":["ChannelName"],
      "members":{
        "ChannelName":{
          "shape":"ChannelName",
          "documentation":"<p>A name for the signaling channel that you are creating. It must be unique for each Amazon Web Services account and Amazon Web Services Region.</p>"
        },
        "ChannelType":{
          "shape":"ChannelType",
          "documentation":"<p>A type of the signaling channel that you are creating. Currently, <code>SINGLE_MASTER</code> is the only supported channel type. </p>"
        },
        "SingleMasterConfiguration":{
          "shape":"SingleMasterConfiguration",
          "documentation":"<p>A structure containing the configuration for the <code>SINGLE_MASTER</code> channel type. </p>"
        },
        "Tags":{
          "shape":"TagOnCreateList",
          "documentation":"<p>A set of tags (key-value pairs) that you want to associate with this channel.</p>"
        }
      }
    },
    "CreateSignalingChannelOutput":{
      "type":"structure",
      "members":{
        "ChannelARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the created channel.</p>"
        }
      }
    },
    "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>Example valid values include \"video/h264\" and \"video/h264,audio/aac\".</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 Key Management Service (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>Amazon Web Services/kinesisvideo</code>) is used.</p> <p> For more information, see <a href=\"https://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>"
        },
        "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>"
        }
      }
    },
    "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
    },
    "DeleteAfterUpload":{"type":"boolean"},
    "DeleteEdgeConfigurationInput":{
      "type":"structure",
      "members":{
        "StreamName":{
          "shape":"StreamName",
          "documentation":"<p>The name of the stream from which to delete the edge configuration. Specify either the <code>StreamName</code> or the <code>StreamARN</code>.</p>"
        },
        "StreamARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the stream. Specify either the <code>StreamName</code> or the <code>StreamARN</code>.</p>"
        }
      }
    },
    "DeleteEdgeConfigurationOutput":{
      "type":"structure",
      "members":{
      }
    },
    "DeleteSignalingChannelInput":{
      "type":"structure",
      "required":["ChannelARN"],
      "members":{
        "ChannelARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the signaling channel that you want to delete.</p>"
        },
        "CurrentVersion":{
          "shape":"Version",
          "documentation":"<p>The current version of the signaling channel that you want to delete. You can obtain the current version by invoking the <code>DescribeSignalingChannel</code> or <code>ListSignalingChannels</code> API operations.</p>"
        }
      }
    },
    "DeleteSignalingChannelOutput":{
      "type":"structure",
      "members":{
      }
    },
    "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":{
      }
    },
    "DeletionConfig":{
      "type":"structure",
      "members":{
        "EdgeRetentionInHours":{
          "shape":"EdgeRetentionInHours",
          "documentation":"<p>The number of hours that you want to retain the data in the stream on the Edge Agent. The default value of the retention time is 720 hours, which translates to 30 days.</p>"
        },
        "LocalSizeConfig":{
          "shape":"LocalSizeConfig",
          "documentation":"<p>The value of the local size required in order to delete the edge configuration.</p>"
        },
        "DeleteAfterUpload":{
          "shape":"DeleteAfterUpload",
          "documentation":"<p>The <code>boolean</code> value used to indicate whether or not you want to mark the media for deletion, once it has been uploaded to the Kinesis Video Stream cloud. The media files can be deleted if any of the deletion configuration values are set to <code>true</code>, such as when the limit for the <code>EdgeRetentionInHours</code>, or the <code>MaxLocalMediaSizeInMB</code>, has been reached. </p> <p>Since the default value is set to <code>true</code>, configure the uploader schedule such that the media files are not being deleted before they are initially uploaded to the Amazon Web Services cloud.</p>"
        }
      },
      "documentation":"<p>The configuration details required to delete the connection of the stream from the Edge Agent.</p>"
    },
    "DescribeEdgeConfigurationInput":{
      "type":"structure",
      "members":{
        "StreamName":{
          "shape":"StreamName",
          "documentation":"<p>The name of the stream whose edge configuration you want to update. Specify either the <code>StreamName</code> or the <code>StreamARN</code>. </p>"
        },
        "StreamARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the stream. Specify either the <code>StreamName</code>or the <code>StreamARN</code>.</p>"
        }
      }
    },
    "DescribeEdgeConfigurationOutput":{
      "type":"structure",
      "members":{
        "StreamName":{
          "shape":"StreamName",
          "documentation":"<p>The name of the stream from which the edge configuration was updated.</p>"
        },
        "StreamARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the stream.</p>"
        },
        "CreationTime":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp at which a stream’s edge configuration was first created.</p>"
        },
        "LastUpdatedTime":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp at which a stream’s edge configuration was last updated.</p>"
        },
        "SyncStatus":{
          "shape":"SyncStatus",
          "documentation":"<p>The latest status of the edge configuration update.</p>"
        },
        "FailedStatusDetails":{
          "shape":"FailedStatusDetails",
          "documentation":"<p>A description of the generated failure status.</p>"
        },
        "EdgeConfig":{
          "shape":"EdgeConfig",
          "documentation":"<p>A description of the stream's edge configuration that will be used to sync with the Edge Agent IoT Greengrass component. The Edge Agent component will run on an IoT Hub Device setup at your premise.</p>"
        },
        "EdgeAgentStatus":{
          "shape":"EdgeAgentStatus",
          "documentation":"<p>An object that contains the latest status details for an edge agent's recorder and uploader jobs. Use this information to determine the current health of an edge agent.</p>"
        }
      }
    },
    "DescribeImageGenerationConfigurationInput":{
      "type":"structure",
      "members":{
        "StreamName":{
          "shape":"StreamName",
          "documentation":"<p>The name of the stream from which to retrieve the image generation configuration. You must specify either the <code>StreamName</code> or the <code>StreamARN</code>. </p>"
        },
        "StreamARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the Kinesis video stream from which to retrieve the image generation configuration. You must specify either the <code>StreamName</code> or the <code>StreamARN</code>.</p>"
        }
      }
    },
    "DescribeImageGenerationConfigurationOutput":{
      "type":"structure",
      "members":{
        "ImageGenerationConfiguration":{
          "shape":"ImageGenerationConfiguration",
          "documentation":"<p>The structure that contains the information required for the Kinesis video stream (KVS) images delivery. If this structure is null, the configuration will be deleted from the stream.</p>"
        }
      }
    },
    "DescribeMappedResourceConfigurationInput":{
      "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>"
        },
        "MaxResults":{
          "shape":"MappedResourceConfigurationListLimit",
          "documentation":"<p>The maximum number of results to return in the response.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token to provide in your next request, to get another batch of results.</p>"
        }
      }
    },
    "DescribeMappedResourceConfigurationOutput":{
      "type":"structure",
      "members":{
        "MappedResourceConfigurationList":{
          "shape":"MappedResourceConfigurationList",
          "documentation":"<p>A structure that encapsulates, or contains, the media storage configuration properties.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token that was used in the <code>NextToken</code>request to fetch the next set of results. </p>"
        }
      }
    },
    "DescribeMediaStorageConfigurationInput":{
      "type":"structure",
      "members":{
        "ChannelName":{
          "shape":"ChannelName",
          "documentation":"<p>The name of the channel.</p>"
        },
        "ChannelARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the channel.</p>"
        }
      }
    },
    "DescribeMediaStorageConfigurationOutput":{
      "type":"structure",
      "members":{
        "MediaStorageConfiguration":{
          "shape":"MediaStorageConfiguration",
          "documentation":"<p>A structure that encapsulates, or contains, the media storage configuration properties.</p>"
        }
      }
    },
    "DescribeNotificationConfigurationInput":{
      "type":"structure",
      "members":{
        "StreamName":{
          "shape":"StreamName",
          "documentation":"<p>The name of the stream from which to retrieve the notification configuration. You must specify either the <code>StreamName</code> or the <code>StreamARN</code>.</p>"
        },
        "StreamARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the Kinesis video stream from where you want to retrieve the notification configuration. You must specify either the <code>StreamName</code> or the StreamARN.</p>"
        }
      }
    },
    "DescribeNotificationConfigurationOutput":{
      "type":"structure",
      "members":{
        "NotificationConfiguration":{
          "shape":"NotificationConfiguration",
          "documentation":"<p>The structure that contains the information required for notifications. If the structure is null, the configuration will be deleted from the stream.</p>"
        }
      }
    },
    "DescribeSignalingChannelInput":{
      "type":"structure",
      "members":{
        "ChannelName":{
          "shape":"ChannelName",
          "documentation":"<p>The name of the signaling channel that you want to describe.</p>"
        },
        "ChannelARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The ARN of the signaling channel that you want to describe.</p>"
        }
      }
    },
    "DescribeSignalingChannelOutput":{
      "type":"structure",
      "members":{
        "ChannelInfo":{
          "shape":"ChannelInfo",
          "documentation":"<p>A structure that encapsulates the specified signaling channel's metadata and properties.</p>"
        }
      }
    },
    "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>"
        }
      }
    },
    "DestinationRegion":{
      "type":"string",
      "max":14,
      "min":9,
      "pattern":"^[a-z]+(-[a-z]+)?-[a-z]+-[0-9]$"
    },
    "DestinationUri":{
      "type":"string",
      "max":255,
      "min":1,
      "pattern":"^[a-zA-Z_0-9]+:(//)?([^/]+)/?([^*]*)$"
    },
    "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
    },
    "DurationInSeconds":{
      "type":"integer",
      "max":3600,
      "min":60
    },
    "EdgeAgentStatus":{
      "type":"structure",
      "members":{
        "LastRecorderStatus":{
          "shape":"LastRecorderStatus",
          "documentation":"<p>The latest status of a stream’s edge recording job.</p>"
        },
        "LastUploaderStatus":{
          "shape":"LastUploaderStatus",
          "documentation":"<p>The latest status of a stream’s edge to cloud uploader job.</p>"
        }
      },
      "documentation":"<p>An object that contains the latest status details for an edge agent's recorder and uploader jobs. Use this information to determine the current health of an edge agent.</p>"
    },
    "EdgeConfig":{
      "type":"structure",
      "required":[
        "HubDeviceArn",
        "RecorderConfig"
      ],
      "members":{
        "HubDeviceArn":{
          "shape":"HubDeviceArn",
          "documentation":"<p>The \"<b>Internet of Things (IoT) Thing</b>\" Arn of the stream.</p>"
        },
        "RecorderConfig":{
          "shape":"RecorderConfig",
          "documentation":"<p>The recorder configuration consists of the local <code>MediaSourceConfig</code> details, that are used as credentials to access the local media files streamed on the camera. </p>"
        },
        "UploaderConfig":{
          "shape":"UploaderConfig",
          "documentation":"<p>The uploader configuration contains the <code>ScheduleExpression</code> details that are used to schedule upload jobs for the recorded media files from the Edge Agent to a Kinesis Video Stream.</p>"
        },
        "DeletionConfig":{
          "shape":"DeletionConfig",
          "documentation":"<p>The deletion configuration is made up of the retention time (<code>EdgeRetentionInHours</code>) and local size configuration (<code>LocalSizeConfig</code>) details that are used to make the deletion.</p>"
        }
      },
      "documentation":"<p>A description of the stream's edge configuration that will be used to sync with the Edge Agent IoT Greengrass component. The Edge Agent component will run on an IoT Hub Device setup at your premise.</p>"
    },
    "EdgeRetentionInHours":{
      "type":"integer",
      "max":720,
      "min":1
    },
    "ErrorMessage":{"type":"string"},
    "FailedStatusDetails":{"type":"string"},
    "Format":{
      "type":"string",
      "enum":[
        "JPEG",
        "PNG"
      ]
    },
    "FormatConfig":{
      "type":"map",
      "key":{"shape":"FormatConfigKey"},
      "value":{"shape":"FormatConfigValue"},
      "max":1,
      "min":1
    },
    "FormatConfigKey":{
      "type":"string",
      "enum":["JPEGQuality"]
    },
    "FormatConfigValue":{
      "type":"string",
      "max":256,
      "min":0,
      "pattern":"^[a-zA-Z_0-9]+"
    },
    "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>"
        }
      }
    },
    "GetSignalingChannelEndpointInput":{
      "type":"structure",
      "required":["ChannelARN"],
      "members":{
        "ChannelARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the signalling channel for which you want to get an endpoint.</p>"
        },
        "SingleMasterChannelEndpointConfiguration":{
          "shape":"SingleMasterChannelEndpointConfiguration",
          "documentation":"<p>A structure containing the endpoint configuration for the <code>SINGLE_MASTER</code> channel type.</p>"
        }
      }
    },
    "GetSignalingChannelEndpointOutput":{
      "type":"structure",
      "members":{
        "ResourceEndpointList":{
          "shape":"ResourceEndpointList",
          "documentation":"<p>A list of endpoints for the specified signaling channel.</p>"
        }
      }
    },
    "HeightPixels":{
      "type":"integer",
      "max":2160,
      "min":1
    },
    "HubDeviceArn":{
      "type":"string",
      "max":1024,
      "min":1,
      "pattern":"arn:[a-z\\d-]+:iot:[a-z0-9-]+:[0-9]+:thing/[a-zA-Z0-9_.-]+"
    },
    "ImageGenerationConfiguration":{
      "type":"structure",
      "required":[
        "Status",
        "ImageSelectorType",
        "DestinationConfig",
        "SamplingInterval",
        "Format"
      ],
      "members":{
        "Status":{
          "shape":"ConfigurationStatus",
          "documentation":"<p>Indicates whether the <code>ContinuousImageGenerationConfigurations</code> API is enabled or disabled.</p>"
        },
        "ImageSelectorType":{
          "shape":"ImageSelectorType",
          "documentation":"<p>The origin of the Server or Producer timestamps to use to generate the images.</p>"
        },
        "DestinationConfig":{
          "shape":"ImageGenerationDestinationConfig",
          "documentation":"<p>The structure that contains the information required to deliver images to a customer.</p>"
        },
        "SamplingInterval":{
          "shape":"SamplingInterval",
          "documentation":"<p>The time interval in milliseconds (ms) at which the images need to be generated from the stream. The minimum value that can be provided is 200 ms. If the timestamp range is less than the sampling interval, the Image from the <code>StartTimestamp</code> will be returned if available. </p>"
        },
        "Format":{
          "shape":"Format",
          "documentation":"<p>The accepted image format.</p>"
        },
        "FormatConfig":{
          "shape":"FormatConfig",
          "documentation":"<p>The list of a key-value pair structure that contains extra parameters that can be applied when the image is generated. The <code>FormatConfig</code> key is the <code>JPEGQuality</code>, which indicates the JPEG quality key to be used to generate the image. The <code>FormatConfig</code> value accepts ints from 1 to 100. If the value is 1, the image will be generated with less quality and the best compression. If the value is 100, the image will be generated with the best quality and less compression. If no value is provided, the default value of the <code>JPEGQuality</code> key will be set to 80.</p>"
        },
        "WidthPixels":{
          "shape":"WidthPixels",
          "documentation":"<p>The width of the output image that is used in conjunction with the <code>HeightPixels</code> parameter. When both <code>WidthPixels</code> and <code>HeightPixels</code> parameters are provided, the image will be stretched to fit the specified aspect ratio. If only the <code>WidthPixels</code> parameter is provided, its original aspect ratio will be used to calculate the <code>HeightPixels</code> ratio. If neither parameter is provided, the original image size will be returned.</p>"
        },
        "HeightPixels":{
          "shape":"HeightPixels",
          "documentation":"<p>The height of the output image that is used in conjunction with the <code>WidthPixels</code> parameter. When both <code>HeightPixels</code> and <code>WidthPixels</code> parameters are provided, the image will be stretched to fit the specified aspect ratio. If only the <code>HeightPixels</code> parameter is provided, its original aspect ratio will be used to calculate the <code>WidthPixels</code> ratio. If neither parameter is provided, the original image size will be returned.</p>"
        }
      },
      "documentation":"<p>The structure that contains the information required for the KVS images delivery. If null, the configuration will be deleted from the stream.</p>"
    },
    "ImageGenerationDestinationConfig":{
      "type":"structure",
      "required":[
        "Uri",
        "DestinationRegion"
      ],
      "members":{
        "Uri":{
          "shape":"DestinationUri",
          "documentation":"<p>The Uniform Resource Identifier (URI) that identifies where the images will be delivered.</p>"
        },
        "DestinationRegion":{
          "shape":"DestinationRegion",
          "documentation":"<p>The Amazon Web Services Region of the S3 bucket where images will be delivered. This <code>DestinationRegion</code> must match the Region where the stream is located.</p>"
        }
      },
      "documentation":"<p>The structure that contains the information required to deliver images to a customer.</p>"
    },
    "ImageSelectorType":{
      "type":"string",
      "enum":[
        "SERVER_TIMESTAMP",
        "PRODUCER_TIMESTAMP"
      ]
    },
    "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
    },
    "JobStatusDetails":{"type":"string"},
    "KmsKeyId":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":".+"
    },
    "LastRecorderStatus":{
      "type":"structure",
      "members":{
        "JobStatusDetails":{
          "shape":"JobStatusDetails",
          "documentation":"<p>A description of a recorder job’s latest status.</p>"
        },
        "LastCollectedTime":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp at which the recorder job was last executed and media stored to local disk.</p>"
        },
        "LastUpdatedTime":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp at which the recorder status was last updated.</p>"
        },
        "RecorderStatus":{
          "shape":"RecorderStatus",
          "documentation":"<p>The status of the latest recorder job.</p>"
        }
      },
      "documentation":"<p>The latest status of a stream's edge recording job.</p>"
    },
    "LastUploaderStatus":{
      "type":"structure",
      "members":{
        "JobStatusDetails":{
          "shape":"JobStatusDetails",
          "documentation":"<p>A description of an uploader job’s latest status.</p>"
        },
        "LastCollectedTime":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp at which the uploader job was last executed and media collected to the cloud.</p>"
        },
        "LastUpdatedTime":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp at which the uploader status was last updated.</p>"
        },
        "UploaderStatus":{
          "shape":"UploaderStatus",
          "documentation":"<p>The status of the latest uploader job.</p>"
        }
      },
      "documentation":"<p>The latest status of a stream’s edge to cloud uploader job.</p>"
    },
    "ListEdgeAgentConfigurationsEdgeConfig":{
      "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>"
        },
        "CreationTime":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp when the stream first created the edge config.</p>"
        },
        "LastUpdatedTime":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp when the stream last updated the edge config.</p>"
        },
        "SyncStatus":{
          "shape":"SyncStatus",
          "documentation":"<p>The current sync status of the stream's edge configuration.</p>"
        },
        "FailedStatusDetails":{
          "shape":"FailedStatusDetails",
          "documentation":"<p>A description of the generated failure status.</p>"
        },
        "EdgeConfig":{"shape":"EdgeConfig"}
      },
      "documentation":"<p>A description of a single stream's edge configuration.</p>"
    },
    "ListEdgeAgentConfigurationsEdgeConfigList":{
      "type":"list",
      "member":{"shape":"ListEdgeAgentConfigurationsEdgeConfig"}
    },
    "ListEdgeAgentConfigurationsInput":{
      "type":"structure",
      "required":["HubDeviceArn"],
      "members":{
        "HubDeviceArn":{
          "shape":"HubDeviceArn",
          "documentation":"<p>The \"Internet of Things (IoT) Thing\" Arn of the edge agent.</p>"
        },
        "MaxResults":{
          "shape":"ListEdgeAgentConfigurationsInputLimit",
          "documentation":"<p>The maximum number of edge configurations to return in the response. The default is 5.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>If you specify this parameter, when the result of a <code>ListEdgeAgentConfigurations</code> operation is truncated, the call returns the <code>NextToken</code> in the response. To get another batch of edge configurations, provide this token in your next request. </p>"
        }
      }
    },
    "ListEdgeAgentConfigurationsInputLimit":{
      "type":"integer",
      "max":10,
      "min":1
    },
    "ListEdgeAgentConfigurationsOutput":{
      "type":"structure",
      "members":{
        "EdgeConfigs":{
          "shape":"ListEdgeAgentConfigurationsEdgeConfigList",
          "documentation":"<p>A description of a single stream's edge configuration.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>If the response is truncated, the call returns this element with a given token. To get the next batch of edge configurations, use this token in your next request.</p>"
        }
      }
    },
    "ListOfProtocols":{
      "type":"list",
      "member":{"shape":"ChannelProtocol"},
      "max":5,
      "min":1
    },
    "ListSignalingChannelsInput":{
      "type":"structure",
      "members":{
        "MaxResults":{
          "shape":"ListStreamsInputLimit",
          "documentation":"<p>The maximum number of channels to return in the response. The default is 500.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>If you specify this parameter, when the result of a <code>ListSignalingChannels</code> operation is truncated, the call returns the <code>NextToken</code> in the response. To get another batch of channels, provide this token in your next request.</p>"
        },
        "ChannelNameCondition":{
          "shape":"ChannelNameCondition",
          "documentation":"<p>Optional: Returns only the channels that satisfy a specific condition.</p>"
        }
      }
    },
    "ListSignalingChannelsOutput":{
      "type":"structure",
      "members":{
        "ChannelInfoList":{
          "shape":"ChannelInfoList",
          "documentation":"<p>An array of <code>ChannelInfo</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>"
        }
      }
    },
    "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>"
        }
      }
    },
    "ListTagsForResourceInput":{
      "type":"structure",
      "required":["ResourceARN"],
      "members":{
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>If you specify this parameter and the result of a <code>ListTagsForResource</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>"
        },
        "ResourceARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the signaling channel for which you want to list tags.</p>"
        }
      }
    },
    "ListTagsForResourceOutput":{
      "type":"structure",
      "members":{
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>If you specify this parameter and the result of a <code>ListTagsForResource</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 signaling channel.</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>"
        }
      }
    },
    "LocalSizeConfig":{
      "type":"structure",
      "members":{
        "MaxLocalMediaSizeInMB":{
          "shape":"MaxLocalMediaSizeInMB",
          "documentation":"<p>The overall maximum size of the media that you want to store for a stream on the Edge Agent. </p>"
        },
        "StrategyOnFullSize":{
          "shape":"StrategyOnFullSize",
          "documentation":"<p>The strategy to perform when a stream’s <code>MaxLocalMediaSizeInMB</code> limit is reached.</p>"
        }
      },
      "documentation":"<p>The configuration details that include the maximum size of the media (<code>MaxLocalMediaSizeInMB</code>) that you want to store for a stream on the Edge Agent, as well as the strategy that should be used (<code>StrategyOnFullSize</code>) when a stream's maximum size has been reached.</p>"
    },
    "MappedResourceConfigurationList":{
      "type":"list",
      "member":{"shape":"MappedResourceConfigurationListItem"},
      "max":1,
      "min":0
    },
    "MappedResourceConfigurationListItem":{
      "type":"structure",
      "members":{
        "Type":{
          "shape":"Type",
          "documentation":"<p>The type of the associated resource for the kinesis video stream.</p>"
        },
        "ARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the Kinesis Video Stream resource, associated with the stream.</p>"
        }
      },
      "documentation":"<p>A structure that encapsulates, or contains, the media storage configuration properties.</p>"
    },
    "MappedResourceConfigurationListLimit":{
      "type":"integer",
      "max":1,
      "min":1
    },
    "MaxLocalMediaSizeInMB":{
      "type":"integer",
      "max":2000000,
      "min":64
    },
    "MediaSourceConfig":{
      "type":"structure",
      "required":[
        "MediaUriSecretArn",
        "MediaUriType"
      ],
      "members":{
        "MediaUriSecretArn":{
          "shape":"MediaUriSecretArn",
          "documentation":"<p>The Amazon Web Services Secrets Manager ARN for the username and password of the camera, or a local media file location.</p>"
        },
        "MediaUriType":{
          "shape":"MediaUriType",
          "documentation":"<p>The Uniform Resource Identifier (URI) type. The <code>FILE_URI</code> value can be used to stream local media files.</p> <note> <p>Preview only supports the <code>RTSP_URI</code> media source URI format .</p> </note>"
        }
      },
      "documentation":"<p>The configuration details that consist of the credentials required (<code>MediaUriSecretArn</code> and <code>MediaUriType</code>) to access the media files that are streamed to the camera.</p>"
    },
    "MediaStorageConfiguration":{
      "type":"structure",
      "required":["Status"],
      "members":{
        "StreamARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the stream. </p>"
        },
        "Status":{
          "shape":"MediaStorageConfigurationStatus",
          "documentation":"<p>The status of the media storage configuration.</p>"
        }
      },
      "documentation":"<p>A structure that encapsulates, or contains, the media storage configuration properties.</p> <ul> <li> <p>If <code>StorageStatus</code> is enabled, the data will be stored in the <code>StreamARN</code> provided. In order for WebRTC Ingestion to work, the stream must have data retention enabled.</p> </li> <li> <p>If <code>StorageStatus</code> is disabled, no data will be stored, and the <code>StreamARN</code> parameter will not be needed. </p> </li> </ul>"
    },
    "MediaStorageConfigurationStatus":{
      "type":"string",
      "enum":[
        "ENABLED",
        "DISABLED"
      ]
    },
    "MediaType":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"[\\w\\-\\.\\+]+/[\\w\\-\\.\\+]+(,[\\w\\-\\.\\+]+/[\\w\\-\\.\\+]+)*"
    },
    "MediaUriSecretArn":{
      "type":"string",
      "max":2048,
      "min":20,
      "pattern":"arn:[a-z\\d-]+:secretsmanager:[a-z0-9-]+:[0-9]+:secret:[a-zA-Z0-9_.-]+",
      "sensitive":true
    },
    "MediaUriType":{
      "type":"string",
      "enum":[
        "RTSP_URI",
        "FILE_URI"
      ]
    },
    "MessageTtlSeconds":{
      "type":"integer",
      "max":120,
      "min":5
    },
    "NextToken":{
      "type":"string",
      "max":1024,
      "min":0,
      "pattern":"[a-zA-Z0-9+/=]*"
    },
    "NoDataRetentionException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p>The Stream data retention in hours is equal to zero.</p>",
      "error":{"httpStatusCode":400},
      "exception":true
    },
    "NotAuthorizedException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p>The caller is not authorized to perform this operation.</p>",
      "error":{"httpStatusCode":401},
      "exception":true
    },
    "NotificationConfiguration":{
      "type":"structure",
      "required":[
        "Status",
        "DestinationConfig"
      ],
      "members":{
        "Status":{
          "shape":"ConfigurationStatus",
          "documentation":"<p>Indicates if a notification configuration is enabled or disabled.</p>"
        },
        "DestinationConfig":{
          "shape":"NotificationDestinationConfig",
          "documentation":"<p>The destination information required to deliver a notification to a customer.</p>"
        }
      },
      "documentation":"<p>The structure that contains the notification information for the KVS images delivery. If this parameter is null, the configuration will be deleted from the stream.</p>"
    },
    "NotificationDestinationConfig":{
      "type":"structure",
      "required":["Uri"],
      "members":{
        "Uri":{
          "shape":"DestinationUri",
          "documentation":"<p>The Uniform Resource Identifier (URI) that identifies where the images will be delivered.</p>"
        }
      },
      "documentation":"<p>The structure that contains the information required to deliver a notification to a customer.</p>"
    },
    "RecorderConfig":{
      "type":"structure",
      "required":["MediaSourceConfig"],
      "members":{
        "MediaSourceConfig":{
          "shape":"MediaSourceConfig",
          "documentation":"<p>The configuration details that consist of the credentials required (<code>MediaUriSecretArn</code> and <code>MediaUriType</code>) to access the media files streamed to the camera. </p>"
        },
        "ScheduleConfig":{
          "shape":"ScheduleConfig",
          "documentation":"<p>The configuration that consists of the <code>ScheduleExpression</code> and the <code>DurationInMinutes</code> details that specify the scheduling to record from a camera, or local media file, onto the Edge Agent. If the <code>ScheduleExpression</code> attribute is not provided, then the Edge Agent will always be set to recording mode.</p>"
        }
      },
      "documentation":"<p>The recorder configuration consists of the local <code>MediaSourceConfig</code> details that are used as credentials to accesss the local media files streamed on the camera. </p>"
    },
    "RecorderStatus":{
      "type":"string",
      "enum":[
        "SUCCESS",
        "USER_ERROR",
        "SYSTEM_ERROR"
      ]
    },
    "ResourceARN":{
      "type":"string",
      "max":1024,
      "min":1,
      "pattern":"arn:[a-z\\d-]+: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":"<p>The protocol of the signaling channel returned by the <code>GetSignalingChannelEndpoint</code> API.</p>"
        },
        "ResourceEndpoint":{
          "shape":"ResourceEndpoint",
          "documentation":"<p>The endpoint of the signaling channel returned by the <code>GetSignalingChannelEndpoint</code> API.</p>"
        }
      },
      "documentation":"<p>An object that describes the endpoint of the signaling channel returned by the <code>GetSignalingChannelEndpoint</code> API.</p> <p>The media server endpoint will correspond to the <code>WEBRTC</code> Protocol.</p>"
    },
    "ResourceInUseException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p>When the input <code>StreamARN</code> or <code>ChannelARN</code> in <code>CLOUD_STORAGE_MODE</code> is already mapped to a different Kinesis Video Stream resource, or if the provided input <code>StreamARN</code> or <code>ChannelARN</code> is not in Active status, try one of the following : </p> <ol> <li> <p>The <code>DescribeMediaStorageConfiguration</code> API to determine what the stream given channel is mapped to. </p> </li> <li> <p>The <code>DescribeMappedResourceConfiguration</code> API to determine the channel that the given stream is mapped to. </p> </li> <li> <p>The <code>DescribeStream</code> or <code>DescribeSignalingChannel</code> API to determine the status of the resource. </p> </li> </ol>",
      "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
    },
    "SamplingInterval":{"type":"integer"},
    "ScheduleConfig":{
      "type":"structure",
      "required":[
        "ScheduleExpression",
        "DurationInSeconds"
      ],
      "members":{
        "ScheduleExpression":{
          "shape":"ScheduleExpression",
          "documentation":"<p>The Quartz cron expression that takes care of scheduling jobs to record from the camera, or local media file, onto the Edge Agent. If the <code>ScheduleExpression</code> is not provided for the <code>RecorderConfig</code>, then the Edge Agent will always be set to recording mode.</p> <p>For more information about Quartz, refer to the <a href=\"http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html\"> <i>Cron Trigger Tutorial</i> </a> page to understand the valid expressions and its use.</p>"
        },
        "DurationInSeconds":{
          "shape":"DurationInSeconds",
          "documentation":"<p>The total duration to record the media. If the <code>ScheduleExpression</code> attribute is provided, then the <code>DurationInSeconds</code> attribute should also be specified.</p>"
        }
      },
      "documentation":"<p>This API enables you to specify the duration that the camera, or local media file, should record onto the Edge Agent. The <code>ScheduleConfig</code> consists of the <code>ScheduleExpression</code> and the <code>DurationInMinutes</code> attributes. </p> <p>If the <code>ScheduleConfig</code> is not provided in the <code>RecorderConfig</code>, then the Edge Agent will always be set to recording mode.</p> <p>If the <code>ScheduleConfig</code> is not provided in the <code>UploaderConfig</code>, then the Edge Agent will upload at regular intervals (every 1 hour).</p>"
    },
    "ScheduleExpression":{
      "type":"string",
      "max":100,
      "min":11,
      "pattern":"[^\\n]{11,100}"
    },
    "SingleMasterChannelEndpointConfiguration":{
      "type":"structure",
      "members":{
        "Protocols":{
          "shape":"ListOfProtocols",
          "documentation":"<p>This property is used to determine the nature of communication over this <code>SINGLE_MASTER</code> signaling channel. If <code>WSS</code> is specified, this API returns a websocket endpoint. If <code>HTTPS</code> is specified, this API returns an <code>HTTPS</code> endpoint.</p>"
        },
        "Role":{
          "shape":"ChannelRole",
          "documentation":"<p>This property is used to determine messaging permissions in this <code>SINGLE_MASTER</code> signaling channel. If <code>MASTER</code> 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 <code>VIEWER</code> is specified, this API returns an endpoint that a client can use only to send offers to another <code>MASTER</code> client on this signaling channel. </p>"
        }
      },
      "documentation":"<p>An object that contains the endpoint configuration for the <code>SINGLE_MASTER</code> channel type. </p>"
    },
    "SingleMasterConfiguration":{
      "type":"structure",
      "members":{
        "MessageTtlSeconds":{
          "shape":"MessageTtlSeconds",
          "documentation":"<p>The period of time a signaling channel retains undelivered messages before they are discarded.</p>"
        }
      },
      "documentation":"<p>A structure that contains the configuration for the <code>SINGLE_MASTER</code> channel type.</p>"
    },
    "StartEdgeConfigurationUpdateInput":{
      "type":"structure",
      "required":["EdgeConfig"],
      "members":{
        "StreamName":{
          "shape":"StreamName",
          "documentation":"<p>The name of the stream whose edge configuration you want to update. Specify either the <code>StreamName</code> or the <code>StreamARN</code>.</p>"
        },
        "StreamARN":{
          "shape":"ResourceARN",
          "documentation":"<p> The Amazon Resource Name (ARN) of the stream. Specify either the <code>StreamName</code> or the <code>StreamARN</code>.</p>"
        },
        "EdgeConfig":{
          "shape":"EdgeConfig",
          "documentation":"<p>The edge configuration details required to invoke the update process.</p>"
        }
      }
    },
    "StartEdgeConfigurationUpdateOutput":{
      "type":"structure",
      "members":{
        "StreamName":{
          "shape":"StreamName",
          "documentation":"<p>The name of the stream from which the edge configuration was updated.</p>"
        },
        "StreamARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the stream.</p>"
        },
        "CreationTime":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp at which a stream’s edge configuration was first created.</p>"
        },
        "LastUpdatedTime":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp at which a stream’s edge configuration was last updated.</p>"
        },
        "SyncStatus":{
          "shape":"SyncStatus",
          "documentation":"<p> The current sync status of the stream's edge configuration. When you invoke this API, the sync status will be set to the <code>SYNCING</code> state. Use the <code>DescribeEdgeConfiguration</code> API to get the latest status of the edge configuration.</p>"
        },
        "FailedStatusDetails":{
          "shape":"FailedStatusDetails",
          "documentation":"<p>A description of the generated failure status.</p>"
        },
        "EdgeConfig":{
          "shape":"EdgeConfig",
          "documentation":"<p>A description of the stream's edge configuration that will be used to sync with the Edge Agent IoT Greengrass component. The Edge Agent component will run on an IoT Hub Device setup at your premise.</p>"
        }
      }
    },
    "Status":{
      "type":"string",
      "enum":[
        "CREATING",
        "ACTIVE",
        "UPDATING",
        "DELETING"
      ]
    },
    "StrategyOnFullSize":{
      "type":"string",
      "enum":[
        "DELETE_OLDEST_MEDIA",
        "DENY_NEW_MEDIA"
      ]
    },
    "StreamEdgeConfigurationNotFoundException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p>The Exception rendered when the Amazon Kinesis Video Stream can't find a stream's edge configuration that you specified. </p>",
      "error":{"httpStatusCode":404},
      "exception":true
    },
    "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 Key Management Service (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>"
    },
    "SyncStatus":{
      "type":"string",
      "enum":[
        "SYNCING",
        "ACKNOWLEDGED",
        "IN_SYNC",
        "SYNC_FAILED",
        "DELETING",
        "DELETE_FAILED",
        "DELETING_ACKNOWLEDGED"
      ]
    },
    "Tag":{
      "type":"structure",
      "required":[
        "Key",
        "Value"
      ],
      "members":{
        "Key":{
          "shape":"TagKey",
          "documentation":"<p>The key of the tag that is associated with the specified signaling channel.</p>"
        },
        "Value":{
          "shape":"TagValue",
          "documentation":"<p>The value of the tag that is associated with the specified signaling channel.</p>"
        }
      },
      "documentation":"<p>A key and value pair that is associated with the specified signaling channel.</p>"
    },
    "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":"<p>The Amazon Resource Name (ARN) of the signaling channel to which you want to add tags.</p>"
        },
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>A list of tags to associate with the specified signaling channel. Each tag is a key-value pair.</p>"
        }
      }
    },
    "TagResourceOutput":{
      "type":"structure",
      "members":{
      }
    },
    "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,
      "pattern":"[\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*"
    },
    "TagsPerResourceExceededLimitException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p>You have exceeded the limit of tags that you can associate with the resource. A Kinesis video stream can support up to 50 tags. </p>",
      "error":{"httpStatusCode":400},
      "exception":true
    },
    "Timestamp":{"type":"timestamp"},
    "Type":{"type":"string"},
    "UntagResourceInput":{
      "type":"structure",
      "required":[
        "ResourceARN",
        "TagKeyList"
      ],
      "members":{
        "ResourceARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the signaling channel from which you want to remove tags.</p>"
        },
        "TagKeyList":{
          "shape":"TagKeyList",
          "documentation":"<p>A list of the keys of the tags that you want to remove.</p>"
        }
      }
    },
    "UntagResourceOutput":{
      "type":"structure",
      "members":{
      }
    },
    "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 number of hours to adjust the current retention by. The value you specify is added to or subtracted from the current value, depending on the <code>operation</code>.</p> <p>The minimum value for data retention is 0 and the maximum value is 87600 (ten years).</p>"
        }
      }
    },
    "UpdateDataRetentionOperation":{
      "type":"string",
      "enum":[
        "INCREASE_DATA_RETENTION",
        "DECREASE_DATA_RETENTION"
      ]
    },
    "UpdateDataRetentionOutput":{
      "type":"structure",
      "members":{
      }
    },
    "UpdateImageGenerationConfigurationInput":{
      "type":"structure",
      "members":{
        "StreamName":{
          "shape":"StreamName",
          "documentation":"<p>The name of the stream from which to update the image generation configuration. You must specify either the <code>StreamName</code> or the <code>StreamARN</code>.</p>"
        },
        "StreamARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the Kinesis video stream from where you want to update the image generation configuration. You must specify either the <code>StreamName</code> or the <code>StreamARN</code>.</p>"
        },
        "ImageGenerationConfiguration":{
          "shape":"ImageGenerationConfiguration",
          "documentation":"<p>The structure that contains the information required for the KVS images delivery. If the structure is null, the configuration will be deleted from the stream.</p>"
        }
      }
    },
    "UpdateImageGenerationConfigurationOutput":{
      "type":"structure",
      "members":{
      }
    },
    "UpdateMediaStorageConfigurationInput":{
      "type":"structure",
      "required":[
        "ChannelARN",
        "MediaStorageConfiguration"
      ],
      "members":{
        "ChannelARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the channel.</p>"
        },
        "MediaStorageConfiguration":{
          "shape":"MediaStorageConfiguration",
          "documentation":"<p>A structure that encapsulates, or contains, the media storage configuration properties.</p>"
        }
      }
    },
    "UpdateMediaStorageConfigurationOutput":{
      "type":"structure",
      "members":{
      }
    },
    "UpdateNotificationConfigurationInput":{
      "type":"structure",
      "members":{
        "StreamName":{
          "shape":"StreamName",
          "documentation":"<p>The name of the stream from which to update the notification configuration. You must specify either the <code>StreamName</code> or the <code>StreamARN</code>.</p>"
        },
        "StreamARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the Kinesis video stream from where you want to update the notification configuration. You must specify either the <code>StreamName</code> or the <code>StreamARN</code>.</p>"
        },
        "NotificationConfiguration":{
          "shape":"NotificationConfiguration",
          "documentation":"<p>The structure containing the information required for notifications. If the structure is null, the configuration will be deleted from the stream.</p>"
        }
      }
    },
    "UpdateNotificationConfigurationOutput":{
      "type":"structure",
      "members":{
      }
    },
    "UpdateSignalingChannelInput":{
      "type":"structure",
      "required":[
        "ChannelARN",
        "CurrentVersion"
      ],
      "members":{
        "ChannelARN":{
          "shape":"ResourceARN",
          "documentation":"<p>The Amazon Resource Name (ARN) of the signaling channel that you want to update.</p>"
        },
        "CurrentVersion":{
          "shape":"Version",
          "documentation":"<p>The current version of the signaling channel that you want to update.</p>"
        },
        "SingleMasterConfiguration":{
          "shape":"SingleMasterConfiguration",
          "documentation":"<p>The structure containing the configuration for the <code>SINGLE_MASTER</code> type of the signaling channel that you want to update. </p>"
        }
      }
    },
    "UpdateSignalingChannelOutput":{
      "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":{
      }
    },
    "UploaderConfig":{
      "type":"structure",
      "required":["ScheduleConfig"],
      "members":{
        "ScheduleConfig":{
          "shape":"ScheduleConfig",
          "documentation":"<p>The configuration that consists of the <code>ScheduleExpression</code> and the <code>DurationInMinutes</code> details that specify the scheduling to record from a camera, or local media file, onto the Edge Agent. If the <code>ScheduleConfig</code> is not provided in this <code>UploaderConfig</code>, then the Edge Agent will upload at regular intervals (every 1 hour).</p>"
        }
      },
      "documentation":"<p>The configuration that consists of the <code>ScheduleExpression</code> and the <code>DurationInMinutes</code> details that specify the scheduling to record from a camera, or local media file, onto the Edge Agent. If the <code>ScheduleConfig</code> is not provided in the <code>UploaderConfig</code>, then the Edge Agent will upload at regular intervals (every 1 hour). </p>"
    },
    "UploaderStatus":{
      "type":"string",
      "enum":[
        "SUCCESS",
        "USER_ERROR",
        "SYSTEM_ERROR"
      ]
    },
    "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=\"https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_DescribeStream.html\">DescribeStream</a> API.</p>",
      "error":{"httpStatusCode":400},
      "exception":true
    },
    "WidthPixels":{
      "type":"integer",
      "max":3840,
      "min":1
    }
  },
  "documentation":"<p/>"
}
