{ "version":"2.0", "metadata":{ "apiVersion":"2020-07-14", "endpointPrefix":"ivs", "protocol":"rest-json", "serviceAbbreviation":"Amazon IVS", "serviceFullName":"Amazon Interactive Video Service", "serviceId":"ivs", "signatureVersion":"v4", "signingName":"ivs", "uid":"ivs-2020-07-14" }, "operations":{ "BatchGetChannel":{ "name":"BatchGetChannel", "http":{ "method":"POST", "requestUri":"/BatchGetChannel" }, "input":{"shape":"BatchGetChannelRequest"}, "output":{"shape":"BatchGetChannelResponse"}, "documentation":"

Performs GetChannel on multiple ARNs simultaneously.

" }, "BatchGetStreamKey":{ "name":"BatchGetStreamKey", "http":{ "method":"POST", "requestUri":"/BatchGetStreamKey" }, "input":{"shape":"BatchGetStreamKeyRequest"}, "output":{"shape":"BatchGetStreamKeyResponse"}, "documentation":"

Performs GetStreamKey on multiple ARNs simultaneously.

" }, "CreateChannel":{ "name":"CreateChannel", "http":{ "method":"POST", "requestUri":"/CreateChannel" }, "input":{"shape":"CreateChannelRequest"}, "output":{"shape":"CreateChannelResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"PendingVerification"} ], "documentation":"

Creates a new channel and an associated stream key to start streaming.

" }, "CreateStreamKey":{ "name":"CreateStreamKey", "http":{ "method":"POST", "requestUri":"/CreateStreamKey" }, "input":{"shape":"CreateStreamKeyRequest"}, "output":{"shape":"CreateStreamKeyResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"PendingVerification"} ], "documentation":"

Creates a stream key, used to initiate a stream, for the specified channel ARN.

Note that CreateChannel creates a stream key. If you subsequently use CreateStreamKey on the same channel, it will fail because a stream key already exists and there is a limit of 1 stream key per channel. To reset the stream key on a channel, use DeleteStreamKey and then CreateStreamKey.

" }, "DeleteChannel":{ "name":"DeleteChannel", "http":{ "method":"POST", "requestUri":"/DeleteChannel", "responseCode":204 }, "input":{"shape":"DeleteChannelRequest"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"PendingVerification"} ], "documentation":"

Deletes the specified channel and its associated stream keys.

" }, "DeletePlaybackKeyPair":{ "name":"DeletePlaybackKeyPair", "http":{ "method":"POST", "requestUri":"/DeletePlaybackKeyPair" }, "input":{"shape":"DeletePlaybackKeyPairRequest"}, "output":{"shape":"DeletePlaybackKeyPairResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"PendingVerification"} ], "documentation":"

Deletes a specified authorization key pair. This invalidates future viewer tokens generated using the key pair’s privateKey.

" }, "DeleteStreamKey":{ "name":"DeleteStreamKey", "http":{ "method":"POST", "requestUri":"/DeleteStreamKey", "responseCode":204 }, "input":{"shape":"DeleteStreamKeyRequest"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"PendingVerification"} ], "documentation":"

Deletes the stream key for the specified ARN, so it can no longer be used to stream.

" }, "GetChannel":{ "name":"GetChannel", "http":{ "method":"POST", "requestUri":"/GetChannel" }, "input":{"shape":"GetChannelRequest"}, "output":{"shape":"GetChannelResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Gets the channel configuration for the specified channel ARN. See also BatchGetChannel.

" }, "GetPlaybackKeyPair":{ "name":"GetPlaybackKeyPair", "http":{ "method":"POST", "requestUri":"/GetPlaybackKeyPair" }, "input":{"shape":"GetPlaybackKeyPairRequest"}, "output":{"shape":"GetPlaybackKeyPairResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Gets a specified playback authorization key pair and returns the arn and fingerprint. The privateKey held by the caller can be used to generate viewer authorization tokens, to grant viewers access to authorized channels.

" }, "GetStream":{ "name":"GetStream", "http":{ "method":"POST", "requestUri":"/GetStream" }, "input":{"shape":"GetStreamRequest"}, "output":{"shape":"GetStreamResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ChannelNotBroadcasting"} ], "documentation":"

Gets information about the active (live) stream on a specified channel.

" }, "GetStreamKey":{ "name":"GetStreamKey", "http":{ "method":"POST", "requestUri":"/GetStreamKey" }, "input":{"shape":"GetStreamKeyRequest"}, "output":{"shape":"GetStreamKeyResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Gets stream-key information for a specified ARN.

" }, "ImportPlaybackKeyPair":{ "name":"ImportPlaybackKeyPair", "http":{ "method":"POST", "requestUri":"/ImportPlaybackKeyPair" }, "input":{"shape":"ImportPlaybackKeyPairRequest"}, "output":{"shape":"ImportPlaybackKeyPairResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"AccessDeniedException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"PendingVerification"} ], "documentation":"

Imports the public portion of a new key pair and returns its arn and fingerprint. The privateKey can then be used to generate viewer authorization tokens, to grant viewers access to authorized channels.

" }, "ListChannels":{ "name":"ListChannels", "http":{ "method":"POST", "requestUri":"/ListChannels" }, "input":{"shape":"ListChannelsRequest"}, "output":{"shape":"ListChannelsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ConflictException"} ], "documentation":"

Gets summary information about all channels in your account, in the AWS region where the API request is processed. This list can be filtered to match a specified string.

" }, "ListPlaybackKeyPairs":{ "name":"ListPlaybackKeyPairs", "http":{ "method":"POST", "requestUri":"/ListPlaybackKeyPairs" }, "input":{"shape":"ListPlaybackKeyPairsRequest"}, "output":{"shape":"ListPlaybackKeyPairsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Gets summary information about playback key pairs.

" }, "ListStreamKeys":{ "name":"ListStreamKeys", "http":{ "method":"POST", "requestUri":"/ListStreamKeys" }, "input":{"shape":"ListStreamKeysRequest"}, "output":{"shape":"ListStreamKeysResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Gets summary information about stream keys for the specified channel.

" }, "ListStreams":{ "name":"ListStreams", "http":{ "method":"POST", "requestUri":"/ListStreams" }, "input":{"shape":"ListStreamsRequest"}, "output":{"shape":"ListStreamsResponse"}, "errors":[ {"shape":"AccessDeniedException"} ], "documentation":"

Gets summary information about live streams in your account, in the AWS region where the API request is processed.

" }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ "method":"GET", "requestUri":"/tags/{resourceArn}" }, "input":{"shape":"ListTagsForResourceRequest"}, "output":{"shape":"ListTagsForResourceResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Gets information about AWS tags for the specified ARN.

" }, "PutMetadata":{ "name":"PutMetadata", "http":{ "method":"POST", "requestUri":"/PutMetadata" }, "input":{"shape":"PutMetadataRequest"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ChannelNotBroadcasting"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Inserts metadata into an RTMPS stream for the specified channel. A maximum of 5 requests per second per channel is allowed, each with a maximum 1KB payload.

" }, "StopStream":{ "name":"StopStream", "http":{ "method":"POST", "requestUri":"/StopStream" }, "input":{"shape":"StopStreamRequest"}, "output":{"shape":"StopStreamResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ChannelNotBroadcasting"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"StreamUnavailable"} ], "documentation":"

Disconnects the incoming RTMPS stream for the specified channel. Can be used in conjunction with DeleteStreamKey to prevent further streaming to a channel.

Many streaming client-software libraries automatically reconnect a dropped RTMPS session, so to stop the stream permanently, you may want to first revoke the streamKey attached to the channel.

" }, "TagResource":{ "name":"TagResource", "http":{ "method":"POST", "requestUri":"/tags/{resourceArn}" }, "input":{"shape":"TagResourceRequest"}, "output":{"shape":"TagResourceResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Adds or updates tags for the AWS resource with the specified ARN.

" }, "UntagResource":{ "name":"UntagResource", "http":{ "method":"DELETE", "requestUri":"/tags/{resourceArn}" }, "input":{"shape":"UntagResourceRequest"}, "output":{"shape":"UntagResourceResponse"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"

Removes tags from the resource with the specified ARN.

" }, "UpdateChannel":{ "name":"UpdateChannel", "http":{ "method":"POST", "requestUri":"/UpdateChannel" }, "input":{"shape":"UpdateChannelRequest"}, "output":{"shape":"UpdateChannelResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"PendingVerification"} ], "documentation":"

Updates a channel's configuration. This does not affect an ongoing stream of this channel. You must stop and restart the stream for the changes to take effect.

" } }, "shapes":{ "AccessDeniedException":{ "type":"structure", "members":{ "exceptionMessage":{ "shape":"errorMessage", "documentation":"

User does not have sufficient access to perform this action.

" } }, "error":{"httpStatusCode":403}, "exception":true }, "BatchError":{ "type":"structure", "members":{ "arn":{ "shape":"ResourceArn", "documentation":"

Channel ARN.

" }, "code":{ "shape":"errorCode", "documentation":"

Error code.

" }, "message":{ "shape":"errorMessage", "documentation":"

Error message, determined by the application.

" } }, "documentation":"

Error related to a specific channel, specified by its ARN.

" }, "BatchErrors":{ "type":"list", "member":{"shape":"BatchError"} }, "BatchGetChannelRequest":{ "type":"structure", "required":["arns"], "members":{ "arns":{ "shape":"ChannelArnList", "documentation":"

Array of ARNs, one per channel.

" } } }, "BatchGetChannelResponse":{ "type":"structure", "members":{ "channels":{"shape":"Channels"}, "errors":{ "shape":"BatchErrors", "documentation":"

Each error object is related to a specific ARN in the request.

" } } }, "BatchGetStreamKeyRequest":{ "type":"structure", "required":["arns"], "members":{ "arns":{ "shape":"StreamKeyArnList", "documentation":"

Array of ARNs, one per channel.

" } } }, "BatchGetStreamKeyResponse":{ "type":"structure", "members":{ "streamKeys":{"shape":"StreamKeys"}, "errors":{"shape":"BatchErrors"} } }, "Boolean":{"type":"boolean"}, "Channel":{ "type":"structure", "members":{ "arn":{ "shape":"ChannelArn", "documentation":"

Channel ARN.

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

Channel name.

" }, "latencyMode":{ "shape":"ChannelLatencyMode", "documentation":"

Channel latency mode. Default: LOW.

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

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately. Valid values:

Default: STANDARD.

" }, "ingestEndpoint":{ "shape":"IngestEndpoint", "documentation":"

Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.

" }, "playbackUrl":{ "shape":"PlaybackURL", "documentation":"

Channel playback URL.

" }, "authorized":{ "shape":"IsAuthorized", "documentation":"

Whether the channel is authorized.

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

Array of 1-50 maps, each of the form string:string (key:value).

" } }, "documentation":"

Object specifying a channel.

" }, "ChannelArn":{ "type":"string", "max":128, "min":1, "pattern":"^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:channel/[a-zA-Z0-9-]+$" }, "ChannelArnList":{ "type":"list", "member":{"shape":"ChannelArn"}, "max":50, "min":1 }, "ChannelLatencyMode":{ "type":"string", "enum":[ "NORMAL", "LOW" ] }, "ChannelList":{ "type":"list", "member":{"shape":"ChannelSummary"} }, "ChannelName":{ "type":"string", "max":128, "min":0, "pattern":"^[a-zA-Z0-9-_]*$" }, "ChannelNotBroadcasting":{ "type":"structure", "members":{ "exceptionMessage":{ "shape":"errorMessage", "documentation":"

The stream is offline for the given channel ARN.

" } }, "error":{"httpStatusCode":404}, "exception":true }, "ChannelSummary":{ "type":"structure", "members":{ "arn":{ "shape":"ChannelArn", "documentation":"

Channel ARN.

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

Channel name.

" }, "latencyMode":{ "shape":"ChannelLatencyMode", "documentation":"

Channel latency mode. Default: LOW.

" }, "authorized":{ "shape":"IsAuthorized", "documentation":"

Whether the channel is authorized.

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

Array of 1-50 maps, each of the form string:string (key:value).

" } }, "documentation":"

Summary information about a channel.

" }, "ChannelType":{ "type":"string", "enum":[ "BASIC", "STANDARD" ] }, "Channels":{ "type":"list", "member":{"shape":"Channel"} }, "ConflictException":{ "type":"structure", "members":{ "exceptionMessage":{ "shape":"errorMessage", "documentation":"

Updating or deleting a resource can cause an inconsistent state.

" } }, "error":{"httpStatusCode":409}, "exception":true }, "CreateChannelRequest":{ "type":"structure", "members":{ "name":{ "shape":"ChannelName", "documentation":"

Channel name.

" }, "latencyMode":{ "shape":"ChannelLatencyMode", "documentation":"

Channel latency mode. Default: LOW.

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

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately. Valid values:

Default: STANDARD.

" }, "authorized":{ "shape":"Boolean", "documentation":"

Whether the channel is authorized. Default: false.

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

See Channel$tags.

" } } }, "CreateChannelResponse":{ "type":"structure", "members":{ "channel":{"shape":"Channel"}, "streamKey":{"shape":"StreamKey"} } }, "CreateStreamKeyRequest":{ "type":"structure", "required":["channelArn"], "members":{ "channelArn":{ "shape":"ChannelArn", "documentation":"

ARN of the channel for which to create the stream key.

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

See Channel$tags.

" } } }, "CreateStreamKeyResponse":{ "type":"structure", "members":{ "streamKey":{ "shape":"StreamKey", "documentation":"

Stream key used to authenticate an RTMPS stream for ingestion.

" } } }, "DeleteChannelRequest":{ "type":"structure", "required":["arn"], "members":{ "arn":{ "shape":"ChannelArn", "documentation":"

ARN of the channel to be deleted.

" } } }, "DeletePlaybackKeyPairRequest":{ "type":"structure", "required":["arn"], "members":{ "arn":{ "shape":"PlaybackKeyPairArn", "documentation":"

ARN of the key pair to be deleted.

" } } }, "DeletePlaybackKeyPairResponse":{ "type":"structure", "members":{ } }, "DeleteStreamKeyRequest":{ "type":"structure", "required":["arn"], "members":{ "arn":{ "shape":"StreamKeyArn", "documentation":"

ARN of the stream key to be deleted.

" } } }, "GetChannelRequest":{ "type":"structure", "required":["arn"], "members":{ "arn":{ "shape":"ChannelArn", "documentation":"

ARN of the channel for which the configuration is to be retrieved.

" } } }, "GetChannelResponse":{ "type":"structure", "members":{ "channel":{"shape":"Channel"} } }, "GetPlaybackKeyPairRequest":{ "type":"structure", "required":["arn"], "members":{ "arn":{ "shape":"PlaybackKeyPairArn", "documentation":"

ARN of the key pair to be returned.

" } } }, "GetPlaybackKeyPairResponse":{ "type":"structure", "members":{ "keyPair":{"shape":"PlaybackKeyPair"} } }, "GetStreamKeyRequest":{ "type":"structure", "required":["arn"], "members":{ "arn":{ "shape":"StreamKeyArn", "documentation":"

ARN for the stream key to be retrieved.

" } } }, "GetStreamKeyResponse":{ "type":"structure", "members":{ "streamKey":{"shape":"StreamKey"} } }, "GetStreamRequest":{ "type":"structure", "required":["channelArn"], "members":{ "channelArn":{ "shape":"ChannelArn", "documentation":"

Channel ARN for stream to be accessed.

" } } }, "GetStreamResponse":{ "type":"structure", "members":{ "stream":{"shape":"Stream"} } }, "ImportPlaybackKeyPairRequest":{ "type":"structure", "required":["publicKeyMaterial"], "members":{ "publicKeyMaterial":{ "shape":"PlaybackPublicKeyMaterial", "documentation":"

The public portion of a customer-generated key pair.

" }, "name":{ "shape":"PlaybackKeyPairName", "documentation":"

An arbitrary string (a nickname) assigned to a playback key pair that helps the customer identify that resource. The value does not need to be unique.

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

Any tags provided with the request are added to the playback key pair tags.

" } } }, "ImportPlaybackKeyPairResponse":{ "type":"structure", "members":{ "keyPair":{"shape":"PlaybackKeyPair"} } }, "IngestEndpoint":{"type":"string"}, "InternalServerException":{ "type":"structure", "members":{ "exceptionMessage":{ "shape":"errorMessage", "documentation":"

Unexpected error during processing of request.

" } }, "error":{"httpStatusCode":500}, "exception":true }, "IsAuthorized":{"type":"boolean"}, "ListChannelsRequest":{ "type":"structure", "members":{ "filterByName":{ "shape":"ChannelName", "documentation":"

Filters the channel list to match the specified name.

" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The first channel to retrieve. This is used for pagination; see the nextToken response field.

" }, "maxResults":{ "shape":"MaxChannelResults", "documentation":"

Maximum number of channels to return.

" } } }, "ListChannelsResponse":{ "type":"structure", "required":["channels"], "members":{ "channels":{ "shape":"ChannelList", "documentation":"

List of the matching channels.

" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

If there are more channels than maxResults, use nextToken in the request to get the next set.

" } } }, "ListPlaybackKeyPairsRequest":{ "type":"structure", "members":{ "nextToken":{ "shape":"PaginationToken", "documentation":"

Maximum number of key pairs to return.

" }, "maxResults":{ "shape":"MaxPlaybackKeyPairResults", "documentation":"

The first key pair to retrieve. This is used for pagination; see the nextToken response field.

" } } }, "ListPlaybackKeyPairsResponse":{ "type":"structure", "required":["keyPairs"], "members":{ "keyPairs":{ "shape":"PlaybackKeyPairList", "documentation":"

List of key pairs.

" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

If there are more key pairs than maxResults, use nextToken in the request to get the next set.

" } } }, "ListStreamKeysRequest":{ "type":"structure", "required":["channelArn"], "members":{ "channelArn":{ "shape":"ChannelArn", "documentation":"

Channel ARN used to filter the list.

" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The first stream key to retrieve. This is used for pagination; see the nextToken response field.

" }, "maxResults":{ "shape":"MaxStreamKeyResults", "documentation":"

Maximum number of streamKeys to return.

" } } }, "ListStreamKeysResponse":{ "type":"structure", "required":["streamKeys"], "members":{ "streamKeys":{ "shape":"StreamKeyList", "documentation":"

List of stream keys.

" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

If there are more stream keys than maxResults, use nextToken in the request to get the next set.

" } } }, "ListStreamsRequest":{ "type":"structure", "members":{ "nextToken":{ "shape":"PaginationToken", "documentation":"

The first stream to retrieve. This is used for pagination; see the nextToken response field.

" }, "maxResults":{ "shape":"MaxStreamResults", "documentation":"

Maximum number of streams to return.

" } } }, "ListStreamsResponse":{ "type":"structure", "required":["streams"], "members":{ "streams":{ "shape":"StreamList", "documentation":"

List of streams.

" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

If there are more streams than maxResults, use nextToken in the request to get the next set.

" } } }, "ListTagsForResourceRequest":{ "type":"structure", "required":["resourceArn"], "members":{ "resourceArn":{ "shape":"ResourceArn", "documentation":"

The ARN of the resource to be retrieved.

", "location":"uri", "locationName":"resourceArn" }, "nextToken":{ "shape":"String", "documentation":"

The first tag to retrieve. This is used for pagination; see the nextToken response field.

" }, "maxResults":{ "shape":"MaxTagResults", "documentation":"

Maximum number of tags to return.

" } } }, "ListTagsForResourceResponse":{ "type":"structure", "required":["tags"], "members":{ "tags":{"shape":"Tags"}, "nextToken":{ "shape":"String", "documentation":"

If there are more tags than maxResults, use nextToken in the request to get the next set.

" } } }, "MaxChannelResults":{ "type":"integer", "max":50, "min":1 }, "MaxPlaybackKeyPairResults":{ "type":"integer", "max":50, "min":1 }, "MaxStreamKeyResults":{ "type":"integer", "max":50, "min":1 }, "MaxStreamResults":{ "type":"integer", "max":50, "min":1 }, "MaxTagResults":{ "type":"integer", "max":50, "min":1 }, "PaginationToken":{ "type":"string", "max":500, "min":0 }, "PendingVerification":{ "type":"structure", "members":{ "exceptionMessage":{ "shape":"errorMessage", "documentation":"

Your account is pending verification.

" } }, "error":{"httpStatusCode":403}, "exception":true }, "PlaybackKeyPair":{ "type":"structure", "members":{ "arn":{ "shape":"PlaybackKeyPairArn", "documentation":"

Key-pair ARN.

" }, "name":{ "shape":"PlaybackKeyPairName", "documentation":"

Key-pair name.

" }, "fingerprint":{ "shape":"PlaybackKeyPairFingerprint", "documentation":"

Key-pair identifier.

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

Array of 1-50 maps, each of the form string:string (key:value).

" } }, "documentation":"

A key pair used to sign and validate a playback authorization token.

" }, "PlaybackKeyPairArn":{ "type":"string", "max":128, "min":1, "pattern":"^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:playback-key/[a-zA-Z0-9-]+$" }, "PlaybackKeyPairFingerprint":{"type":"string"}, "PlaybackKeyPairList":{ "type":"list", "member":{"shape":"PlaybackKeyPairSummary"} }, "PlaybackKeyPairName":{ "type":"string", "max":128, "min":0, "pattern":"^[a-zA-Z0-9-_]*$" }, "PlaybackKeyPairSummary":{ "type":"structure", "members":{ "arn":{ "shape":"PlaybackKeyPairArn", "documentation":"

Key-pair ARN.

" }, "name":{ "shape":"PlaybackKeyPairName", "documentation":"

Key-pair name.

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

Array of 1-50 maps, each of the form string:string (key:value)

" } }, "documentation":"

Summary information about a playback key pair.

" }, "PlaybackPublicKeyMaterial":{"type":"string"}, "PlaybackURL":{"type":"string"}, "PutMetadataRequest":{ "type":"structure", "required":[ "channelArn", "metadata" ], "members":{ "channelArn":{ "shape":"ChannelArn", "documentation":"

ARN of the channel into which metadata is inserted. This channel must have an active stream.

" }, "metadata":{ "shape":"StreamMetadata", "documentation":"

Metadata to insert into the stream. Maximum: 1 KB per request.

" } } }, "ResourceArn":{ "type":"string", "max":128, "min":1, "pattern":"^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:[a-z-]/[a-zA-Z0-9-]+$" }, "ResourceNotFoundException":{ "type":"structure", "members":{ "exceptionMessage":{ "shape":"errorMessage", "documentation":"

Request references a resource which does not exist.

" } }, "error":{"httpStatusCode":404}, "exception":true }, "ServiceQuotaExceededException":{ "type":"structure", "members":{ "exceptionMessage":{ "shape":"errorMessage", "documentation":"

Request would cause a service quota to be exceeded.

" } }, "error":{"httpStatusCode":402}, "exception":true }, "StopStreamRequest":{ "type":"structure", "required":["channelArn"], "members":{ "channelArn":{ "shape":"ChannelArn", "documentation":"

ARN of the channel for which the stream is to be stopped.

" } } }, "StopStreamResponse":{ "type":"structure", "members":{ } }, "Stream":{ "type":"structure", "members":{ "channelArn":{ "shape":"ChannelArn", "documentation":"

Channel ARN for the stream.

" }, "playbackUrl":{ "shape":"PlaybackURL", "documentation":"

URL of the video master manifest, required by the video player to play the HLS stream.

" }, "startTime":{ "shape":"StreamStartTime", "documentation":"

ISO-8601 formatted timestamp of the stream’s start.

" }, "state":{ "shape":"StreamState", "documentation":"

The stream’s state.

" }, "health":{ "shape":"StreamHealth", "documentation":"

The stream’s health.

" }, "viewerCount":{ "shape":"StreamViewerCount", "documentation":"

Number of current viewers of the stream.

" } }, "documentation":"

Specifies a live video stream that has been ingested and distributed.

" }, "StreamHealth":{ "type":"string", "enum":[ "HEALTHY", "STARVING", "UNKNOWN" ] }, "StreamKey":{ "type":"structure", "members":{ "arn":{ "shape":"StreamKeyArn", "documentation":"

Stream-key ARN.

" }, "value":{ "shape":"StreamKeyValue", "documentation":"

Stream-key value.

" }, "channelArn":{ "shape":"ChannelArn", "documentation":"

Channel ARN for the stream.

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

Array of 1-50 maps, each of the form string:string (key:value).

" } }, "documentation":"

Object specifying a stream key.

" }, "StreamKeyArn":{ "type":"string", "max":128, "min":1, "pattern":"^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:stream-key/[a-zA-Z0-9-]+$" }, "StreamKeyArnList":{ "type":"list", "member":{"shape":"StreamKeyArn"}, "max":50, "min":1 }, "StreamKeyList":{ "type":"list", "member":{"shape":"StreamKeySummary"} }, "StreamKeySummary":{ "type":"structure", "members":{ "arn":{ "shape":"StreamKeyArn", "documentation":"

Stream-key ARN.

" }, "channelArn":{ "shape":"ChannelArn", "documentation":"

Channel ARN for the stream.

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

Array of 1-50 maps, each of the form string:string (key:value).

" } }, "documentation":"

Summary information about a stream key.

" }, "StreamKeyValue":{"type":"string"}, "StreamKeys":{ "type":"list", "member":{"shape":"StreamKey"} }, "StreamList":{ "type":"list", "member":{"shape":"StreamSummary"} }, "StreamMetadata":{"type":"string"}, "StreamStartTime":{ "type":"timestamp", "timestampFormat":"iso8601" }, "StreamState":{ "type":"string", "enum":[ "LIVE", "OFFLINE" ] }, "StreamSummary":{ "type":"structure", "members":{ "channelArn":{ "shape":"ChannelArn", "documentation":"

Channel ARN for the stream.

" }, "state":{ "shape":"StreamState", "documentation":"

The stream’s state.

" }, "health":{ "shape":"StreamHealth", "documentation":"

The stream’s health.

" }, "viewerCount":{ "shape":"StreamViewerCount", "documentation":"

Number of current viewers of the stream.

" }, "startTime":{ "shape":"StreamStartTime", "documentation":"

ISO-8601 formatted timestamp of the stream’s start.

" } }, "documentation":"

Summary information about a stream.

" }, "StreamUnavailable":{ "type":"structure", "members":{ "exceptionMessage":{ "shape":"errorMessage", "documentation":"

The stream is temporarily unavailable.

" } }, "error":{"httpStatusCode":503}, "exception":true }, "StreamViewerCount":{"type":"long"}, "String":{"type":"string"}, "TagKey":{ "type":"string", "max":128, "min":1 }, "TagKeyList":{ "type":"list", "member":{"shape":"TagKey"}, "max":50, "min":0 }, "TagResourceRequest":{ "type":"structure", "required":[ "resourceArn", "tags" ], "members":{ "resourceArn":{ "shape":"ResourceArn", "documentation":"

ARN of the resource for which tags are to be added or updated.

", "location":"uri", "locationName":"resourceArn" }, "tags":{ "shape":"Tags", "documentation":"

Array of tags to be added or updated.

" } } }, "TagResourceResponse":{ "type":"structure", "members":{ } }, "TagValue":{ "type":"string", "max":256 }, "Tags":{ "type":"map", "key":{"shape":"TagKey"}, "value":{"shape":"TagValue"}, "max":50, "min":0 }, "ThrottlingException":{ "type":"structure", "members":{ "exceptionMessage":{ "shape":"errorMessage", "documentation":"

Request was denied due to request throttling.

" } }, "error":{"httpStatusCode":429}, "exception":true }, "UntagResourceRequest":{ "type":"structure", "required":[ "resourceArn", "tagKeys" ], "members":{ "resourceArn":{ "shape":"ResourceArn", "documentation":"

ARN of the resource for which tags are to be removed.

", "location":"uri", "locationName":"resourceArn" }, "tagKeys":{ "shape":"TagKeyList", "documentation":"

Array of tags to be removed.

", "location":"querystring", "locationName":"tagKeys" } } }, "UntagResourceResponse":{ "type":"structure", "members":{ } }, "UpdateChannelRequest":{ "type":"structure", "required":["arn"], "members":{ "arn":{ "shape":"ChannelArn", "documentation":"

ARN of the channel to be updated.

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

Channel name.

" }, "latencyMode":{ "shape":"ChannelLatencyMode", "documentation":"

Channel latency mode. Default: LOW.

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

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately. Valid values:

Default: STANDARD.

" }, "authorized":{ "shape":"Boolean", "documentation":"

Whether the channel is authorized. Default: false.

" } } }, "UpdateChannelResponse":{ "type":"structure", "members":{ "channel":{"shape":"Channel"} } }, "ValidationException":{ "type":"structure", "members":{ "exceptionMessage":{ "shape":"errorMessage", "documentation":"

The input fails to satisfy the constraints specified by an AWS service.

" } }, "error":{"httpStatusCode":400}, "exception":true }, "errorCode":{"type":"string"}, "errorMessage":{"type":"string"} }, "documentation":"

Introduction

The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP API and an AWS SNS event stream for responses. JSON is used for both requests and responses, including errors.

The API is an AWS regional service, currently in these regions: us-west-2, us-east-1, and eu-west-1.

All API request parameters and URLs are case sensitive.

For a summary of notable documentation changes in each release, see Document History.

Service Endpoints

The following are the Amazon IVS service endpoints (all HTTPS):

Region name: US West (Oregon)

Region name: US East (Virginia)

Region name: EU West (Dublin)

Allowed Header Values

Resources

The following resources contain information about your IVS live stream (see Getting Started with Amazon IVS):

Tagging

A tag is a metadata label that you assign to an AWS resource. A tag comprises a key and a value, both set by you. For example, you might set a tag as topic:nature to label a particular video category. See Tagging AWS Resources for more information, including restrictions that apply to tags.

Tags can help you identify and organize your AWS resources. For example, you can use the same tag for different resources to indicate that they are related. You can also use tags to manage access (see Access Tags).

The Amazon IVS API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following resources support tagging: Channels, Stream Keys, and Playback Key Pairs.

Channel Endpoints

StreamKey Endpoints

Stream Endpoints

PlaybackKeyPair Endpoints

AWS Tags Endpoints

" }