aws-sdk-for-zig/codegen/models/ivs.2020-07-14.json

2634 lines
121 KiB
JSON
Raw Permalink Normal View History

2021-05-30 01:17:45 +00:00
{
"smithy": "1.0",
"metadata": {
"suppressions": [
{
"id": "HttpMethodSemantics",
"namespace": "*"
},
{
"id": "HttpResponseCodeSemantics",
"namespace": "*"
},
{
"id": "PaginatedTrait",
"namespace": "*"
},
{
"id": "HttpHeaderTrait",
"namespace": "*"
},
{
"id": "HttpUriConflict",
"namespace": "*"
},
{
"id": "Service",
"namespace": "*"
}
]
},
"shapes": {
"com.amazonaws.ivs#AccessDeniedException": {
"type": "structure",
"members": {
"exceptionMessage": {
"target": "com.amazonaws.ivs#errorMessage",
"traits": {
"smithy.api#documentation": "<p>User does not have sufficient access to perform this action.</p>"
}
}
},
"traits": {
"smithy.api#error": "client",
"smithy.api#httpError": 403
}
},
"com.amazonaws.ivs#AmazonInteractiveVideoService": {
"type": "service",
"version": "2020-07-14",
"operations": [
{
"target": "com.amazonaws.ivs#BatchGetChannel"
},
{
"target": "com.amazonaws.ivs#BatchGetStreamKey"
},
{
"target": "com.amazonaws.ivs#CreateChannel"
},
{
"target": "com.amazonaws.ivs#CreateRecordingConfiguration"
},
{
"target": "com.amazonaws.ivs#CreateStreamKey"
},
{
"target": "com.amazonaws.ivs#DeleteChannel"
},
{
"target": "com.amazonaws.ivs#DeletePlaybackKeyPair"
},
{
"target": "com.amazonaws.ivs#DeleteRecordingConfiguration"
},
{
"target": "com.amazonaws.ivs#DeleteStreamKey"
},
{
"target": "com.amazonaws.ivs#GetChannel"
},
{
"target": "com.amazonaws.ivs#GetPlaybackKeyPair"
},
{
"target": "com.amazonaws.ivs#GetRecordingConfiguration"
},
{
"target": "com.amazonaws.ivs#GetStream"
},
{
"target": "com.amazonaws.ivs#GetStreamKey"
},
{
"target": "com.amazonaws.ivs#ImportPlaybackKeyPair"
},
{
"target": "com.amazonaws.ivs#ListChannels"
},
{
"target": "com.amazonaws.ivs#ListPlaybackKeyPairs"
},
{
"target": "com.amazonaws.ivs#ListRecordingConfigurations"
},
{
"target": "com.amazonaws.ivs#ListStreamKeys"
},
{
"target": "com.amazonaws.ivs#ListStreams"
},
{
"target": "com.amazonaws.ivs#ListTagsForResource"
},
{
"target": "com.amazonaws.ivs#PutMetadata"
},
{
"target": "com.amazonaws.ivs#StopStream"
},
{
"target": "com.amazonaws.ivs#TagResource"
},
{
"target": "com.amazonaws.ivs#UntagResource"
},
{
"target": "com.amazonaws.ivs#UpdateChannel"
}
],
"traits": {
"aws.api#service": {
"sdkId": "ivs",
"arnNamespace": "ivs",
"cloudFormationName": "Ivs",
"cloudTrailEventSource": "ivs.amazonaws.com",
"endpointPrefix": "ivs"
},
"aws.auth#sigv4": {
"name": "ivs"
},
"aws.protocols#restJson1": {},
"smithy.api#documentation": "<p>\n <b>Introduction</b>\n </p>\n\n <p>The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP\n API and an AWS EventBridge event stream for responses. JSON is used for both requests and\n responses, including errors.</p>\n\n <p>The API is an AWS regional service, currently in these regions: us-west-2, us-east-1, and\n eu-west-1.</p>\n <p>\n <i>\n <b>All API request parameters and URLs are case sensitive.\n </b>\n </i>\n </p>\n\n <p>For a summary of notable documentation changes in each release, see <a href=\"https://docs.aws.amazon.com/ivs/latest/userguide/doc-history.html\"> Document\n History</a>.</p>\n\n <p>\n <b>Service Endpoints</b>\n </p>\n <p>The following are the Amazon IVS service endpoints (all HTTPS): </p>\n <p>Region name: US West (Oregon)</p>\n <ul>\n <li>\n <p>Region: <code>us-west-2</code>\n </p>\n </li>\n <li>\n <p>Endpoint: <code>ivs.us-west-2.amazonaws.com</code>\n </p>\n </li>\n </ul>\n <p>Region name: US East (Virginia)</p>\n <ul>\n <li>\n <p>Region: <code>us-east-1</code>\n </p>\n </li>\n <li>\n <p>Endpoint: <code>ivs.us-east-1.amazonaws.com</code>\n </p>\n </li>\n </ul>\n <p>Region name: EU West (Dublin)</p>\n <ul>\n <li>\n <p>Region: <code>eu-west-1</code>\n </p>\n </li>\n <li>\n <p>Endpoint: <code>ivs.eu-west-1.amazonaws.com</code>\n </p>\n </li>\n </ul>\n\n <p>\n <b>Allowed Header Values</b>\n </p>\n\n <ul>\n <li>\n <p>\n <code>\n <b>Accept:</b>\n </code> application/json</p>\n </li>\n <li>\n <p>\n <code>\n <b>Accept-Encoding:</b>\n </code> gzip, deflate</p>\n </li>\n <li>\n <p>\n <code>\n <b>Content-Type:</b>\n </code>application/json</p>\n </li>\n </ul>\n\n <p>\n <b>Resources</b>\n </p>\n <p>The following resources contain information about your IVS live stream (see <a href=\"https://docs.aws.amazon.com/ivs/latest/userguide/getting-started.html\"> Getting Started with Amazon\n IVS</a>):</p>\n\n <ul>\n <li>\n <p>Channel Stores configuration data related to your live stream. You first create a\n channel and then use the channels stream key to start your live stream. See the Channel\n endpoints for more information. </p>\n </li>\n <li>\n <p>Stream key An identifier assigned by Amazon IVS when you create a channel, which is\n then used to authorize streaming. See the StreamKey endpoints for more information.\n <i>\n <b>Treat the stream key like a secret, since it allows\n anyone to stream to the channel.</b>\n </i>\n </p>\n </li>\n <li>\n <p>Playback key pair Video playback may be restricted using playback-authorization\n tokens, which use public-key encryption. A playback key pair is the public-private pair of\n keys used to sign and validate the playback-authorization token. See the PlaybackKeyPair\n endpoints for more information.</p>\n </li>\n <li>\n <p>Recording configuration Stores configuration related to recording a live stream and\n where to store t
"smithy.api#title": "Amazon Interactive Video Service"
}
},
"com.amazonaws.ivs#BatchError": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.ivs#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>Channel ARN.</p>"
}
},
"code": {
"target": "com.amazonaws.ivs#errorCode",
"traits": {
"smithy.api#documentation": "<p>Error code.</p>"
}
},
"message": {
"target": "com.amazonaws.ivs#errorMessage",
"traits": {
"smithy.api#documentation": "<p>Error message, determined by the application.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Error related to a specific channel, specified by its ARN.</p>"
}
},
"com.amazonaws.ivs#BatchErrors": {
"type": "list",
"member": {
"target": "com.amazonaws.ivs#BatchError"
}
},
"com.amazonaws.ivs#BatchGetChannel": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#BatchGetChannelRequest"
},
"output": {
"target": "com.amazonaws.ivs#BatchGetChannelResponse"
},
"traits": {
"smithy.api#documentation": "<p>Performs <a>GetChannel</a> on multiple ARNs simultaneously.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/BatchGetChannel",
"code": 200
}
}
},
"com.amazonaws.ivs#BatchGetChannelRequest": {
"type": "structure",
"members": {
"arns": {
"target": "com.amazonaws.ivs#ChannelArnList",
"traits": {
"smithy.api#documentation": "<p>Array of ARNs, one per channel.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.ivs#BatchGetChannelResponse": {
"type": "structure",
"members": {
"channels": {
"target": "com.amazonaws.ivs#Channels"
},
"errors": {
"target": "com.amazonaws.ivs#BatchErrors",
"traits": {
"smithy.api#documentation": "<p>Each error object is related to a specific ARN in the request.</p>"
}
}
}
},
"com.amazonaws.ivs#BatchGetStreamKey": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#BatchGetStreamKeyRequest"
},
"output": {
"target": "com.amazonaws.ivs#BatchGetStreamKeyResponse"
},
"traits": {
"smithy.api#documentation": "<p>Performs <a>GetStreamKey</a> on multiple ARNs simultaneously.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/BatchGetStreamKey",
"code": 200
}
}
},
"com.amazonaws.ivs#BatchGetStreamKeyRequest": {
"type": "structure",
"members": {
"arns": {
"target": "com.amazonaws.ivs#StreamKeyArnList",
"traits": {
"smithy.api#documentation": "<p>Array of ARNs, one per channel.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.ivs#BatchGetStreamKeyResponse": {
"type": "structure",
"members": {
"streamKeys": {
"target": "com.amazonaws.ivs#StreamKeys"
},
"errors": {
"target": "com.amazonaws.ivs#BatchErrors"
}
}
},
"com.amazonaws.ivs#Boolean": {
"type": "boolean"
},
"com.amazonaws.ivs#Channel": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.ivs#ChannelArn",
"traits": {
"smithy.api#documentation": "<p>Channel ARN.</p>"
}
},
"name": {
"target": "com.amazonaws.ivs#ChannelName",
"traits": {
"smithy.api#documentation": "<p>Channel name.</p>"
}
},
"latencyMode": {
"target": "com.amazonaws.ivs#ChannelLatencyMode",
"traits": {
"smithy.api#documentation": "<p>Channel latency mode. Use <code>NORMAL</code> to broadcast and deliver live video up to\n Full HD. Use <code>LOW</code> for near-real-time interaction with viewers. Default: <code>LOW</code>. (Note: In the Amazon IVS console, <code>LOW</code> and\n <code>NORMAL</code> correspond to Ultra-low and Standard, respectively.)</p>"
}
},
"type": {
"target": "com.amazonaws.ivs#ChannelType",
"traits": {
"smithy.api#documentation": "<p>Channel type, which determines the allowable resolution and bitrate. <i>If you\n exceed the allowable resolution or bitrate, the stream probably will disconnect\n immediately.</i> Default: <code>STANDARD</code>. Valid values:</p>\n <ul>\n <li>\n <p>\n <code>STANDARD</code>: Multiple qualities are generated from the original input, to\n automatically give viewers the best experience for their devices and network conditions.\n Vertical resolution can be up to 1080 and bitrate can be up to 8.5 Mbps.</p>\n </li>\n <li>\n <p>\n <code>BASIC</code>: Amazon IVS delivers the original input to viewers. The viewers\n video-quality choice is limited to the original input. Vertical resolution can be up to\n 480 and bitrate can be up to 1.5 Mbps.</p>\n </li>\n </ul>"
}
},
"recordingConfigurationArn": {
"target": "com.amazonaws.ivs#ChannelRecordingConfigurationArn",
"traits": {
"smithy.api#documentation": "<p>Recording-configuration ARN. A value other than an empty string indicates that recording\n is enabled. Default: \"\" (empty string, recording is disabled).</p>"
}
},
"ingestEndpoint": {
"target": "com.amazonaws.ivs#IngestEndpoint",
"traits": {
"smithy.api#documentation": "<p>Channel ingest endpoint, part of the definition of an ingest server, used when you set up\n streaming software.</p>"
}
},
"playbackUrl": {
"target": "com.amazonaws.ivs#PlaybackURL",
"traits": {
"smithy.api#documentation": "<p>Channel playback URL.</p>"
}
},
"authorized": {
"target": "com.amazonaws.ivs#IsAuthorized",
"traits": {
"smithy.api#documentation": "<p>Whether the channel is private (enabled for playback authorization). Default:\n <code>false</code>.</p>"
}
},
"tags": {
"target": "com.amazonaws.ivs#Tags",
"traits": {
"smithy.api#documentation": "<p>Array of 1-50 maps, each of the form <code>string:string (key:value)</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Object specifying a channel.</p>"
}
},
"com.amazonaws.ivs#ChannelArn": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:channel/[a-zA-Z0-9-]+$"
}
},
"com.amazonaws.ivs#ChannelArnList": {
"type": "list",
"member": {
"target": "com.amazonaws.ivs#ChannelArn"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.ivs#ChannelLatencyMode": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "NORMAL",
"name": "NormalLatency"
},
{
"value": "LOW",
"name": "LowLatency"
}
]
}
},
"com.amazonaws.ivs#ChannelList": {
"type": "list",
"member": {
"target": "com.amazonaws.ivs#ChannelSummary"
}
},
"com.amazonaws.ivs#ChannelName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 128
},
"smithy.api#pattern": "^[a-zA-Z0-9-_]*$"
}
},
"com.amazonaws.ivs#ChannelNotBroadcasting": {
"type": "structure",
"members": {
"exceptionMessage": {
"target": "com.amazonaws.ivs#errorMessage",
"traits": {
"smithy.api#documentation": "<p>The stream is offline for the given channel ARN.</p>"
}
}
},
"traits": {
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.ivs#ChannelRecordingConfigurationArn": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 128
},
"smithy.api#pattern": "^$|^arn:aws:ivs:[a-z0-9-]+:[0-9]+:recording-configuration/[a-zA-Z0-9-]+$"
}
},
"com.amazonaws.ivs#ChannelSummary": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.ivs#ChannelArn",
"traits": {
"smithy.api#documentation": "<p>Channel ARN.</p>"
}
},
"name": {
"target": "com.amazonaws.ivs#ChannelName",
"traits": {
"smithy.api#documentation": "<p>Channel name.</p>"
}
},
"latencyMode": {
"target": "com.amazonaws.ivs#ChannelLatencyMode",
"traits": {
"smithy.api#documentation": "<p>Channel latency mode. Use <code>NORMAL</code> to broadcast and deliver live video up to Full HD. Use\n <code>LOW</code> for near-real-time interaction with viewers. Default: <code>LOW</code>. (Note: In the Amazon IVS\n console, <code>LOW</code> and <code>NORMAL</code> correspond to Ultra-low and Standard, respectively.)</p>"
}
},
"authorized": {
"target": "com.amazonaws.ivs#IsAuthorized",
"traits": {
"smithy.api#documentation": "<p>Whether the channel is private (enabled for playback authorization). Default: <code>false</code>.</p>"
}
},
"recordingConfigurationArn": {
"target": "com.amazonaws.ivs#ChannelRecordingConfigurationArn",
"traits": {
"smithy.api#documentation": "<p>Recording-configuration ARN. A value other than an empty string indicates that recording\n is enabled. Default: \"\" (empty string, recording is disabled).</p>"
}
},
"tags": {
"target": "com.amazonaws.ivs#Tags",
"traits": {
"smithy.api#documentation": "<p>Array of 1-50 maps, each of the form <code>string:string (key:value)</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Summary information about a channel.</p>"
}
},
"com.amazonaws.ivs#ChannelType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "BASIC",
"name": "BasicChannelType"
},
{
"value": "STANDARD",
"name": "StandardChannelType"
}
]
}
},
"com.amazonaws.ivs#Channels": {
"type": "list",
"member": {
"target": "com.amazonaws.ivs#Channel"
}
},
"com.amazonaws.ivs#ConflictException": {
"type": "structure",
"members": {
"exceptionMessage": {
"target": "com.amazonaws.ivs#errorMessage",
"traits": {
"smithy.api#documentation": "<p>Updating or deleting a resource can cause an inconsistent state.</p>"
}
}
},
"traits": {
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.ivs#CreateChannel": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#CreateChannelRequest"
},
"output": {
"target": "com.amazonaws.ivs#CreateChannelResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#PendingVerification"
},
{
"target": "com.amazonaws.ivs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ivs#ServiceQuotaExceededException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a new channel and an associated stream key to start streaming.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/CreateChannel",
"code": 200
}
}
},
"com.amazonaws.ivs#CreateChannelRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.ivs#ChannelName",
"traits": {
"smithy.api#documentation": "<p>Channel name.</p>"
}
},
"latencyMode": {
"target": "com.amazonaws.ivs#ChannelLatencyMode",
"traits": {
"smithy.api#documentation": "<p>Channel latency mode. Use <code>NORMAL</code> to broadcast and deliver live video up to\n Full HD. Use <code>LOW</code> for near-real-time interaction with viewers. (Note: In the\n Amazon IVS console, <code>LOW</code> and <code>NORMAL</code> correspond to Ultra-low and Standard, respectively.)\n Default: <code>LOW</code>.</p>"
}
},
"type": {
"target": "com.amazonaws.ivs#ChannelType",
"traits": {
"smithy.api#documentation": "<p>Channel type, which determines the allowable resolution and bitrate. <i>If you\n exceed the allowable resolution or bitrate, the stream probably will disconnect\n immediately.</i> Default: <code>STANDARD</code>. Valid values:</p>\n <ul>\n <li>\n <p>\n <code>STANDARD</code>: Multiple qualities are generated from the original input, to\n automatically give viewers the best experience for their devices and network conditions.\n Vertical resolution can be up to 1080 and bitrate can be up to 8.5 Mbps.</p>\n </li>\n <li>\n <p>\n <code>BASIC</code>: Amazon IVS delivers the original input to viewers. The viewers\n video-quality choice is limited to the original input. Vertical resolution can be up to\n 480 and bitrate can be up to 1.5 Mbps.</p>\n </li>\n </ul>"
}
},
"authorized": {
"target": "com.amazonaws.ivs#Boolean",
"traits": {
"smithy.api#documentation": "<p>Whether the channel is private (enabled for playback authorization). Default:\n <code>false</code>.</p>"
}
},
"recordingConfigurationArn": {
"target": "com.amazonaws.ivs#ChannelRecordingConfigurationArn",
"traits": {
"smithy.api#documentation": "<p>Recording-configuration ARN. Default: \"\" (empty string, recording is disabled).</p>"
}
},
"tags": {
"target": "com.amazonaws.ivs#Tags",
"traits": {
"smithy.api#documentation": "<p>Array of 1-50 maps, each of the form <code>string:string (key:value)</code>.</p>"
}
}
}
},
"com.amazonaws.ivs#CreateChannelResponse": {
"type": "structure",
"members": {
"channel": {
"target": "com.amazonaws.ivs#Channel"
},
"streamKey": {
"target": "com.amazonaws.ivs#StreamKey"
}
}
},
"com.amazonaws.ivs#CreateRecordingConfiguration": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#CreateRecordingConfigurationRequest"
},
"output": {
"target": "com.amazonaws.ivs#CreateRecordingConfigurationResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#ConflictException"
},
{
"target": "com.amazonaws.ivs#InternalServerException"
},
{
"target": "com.amazonaws.ivs#PendingVerification"
},
{
"target": "com.amazonaws.ivs#ServiceQuotaExceededException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a new recording configuration, used to enable recording to Amazon S3.</p>\n <p>\n <b>Known issue:</b> In the us-east-1 region, if you use the AWS\n CLI to create a recording configuration, it returns success even if the S3 bucket is in a\n different region. In this case, the <code>state</code> of the recording configuration is\n <code>CREATE_FAILED</code> (instead of <code>ACTIVE</code>). (In other regions, the CLI\n correctly returns failure if the bucket is in a different region.)</p>\n <p>\n <b>Workaround:</b> Ensure that your S3 bucket is in the same region as the recording\n configuration. If you create a recording configuration in a different region as your S3\n bucket, delete that recording configuration and create a new one with an S3 bucket from the\n correct region.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/CreateRecordingConfiguration",
"code": 200
}
}
},
"com.amazonaws.ivs#CreateRecordingConfigurationRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.ivs#RecordingConfigurationName",
"traits": {
"smithy.api#documentation": "<p>An arbitrary string (a nickname) that helps the customer identify that resource. The value\n does not need to be unique.</p>"
}
},
"destinationConfiguration": {
"target": "com.amazonaws.ivs#DestinationConfiguration",
"traits": {
"smithy.api#documentation": "<p>A complex type that contains a destination configuration for where recorded video will be\n stored.</p>",
"smithy.api#required": {}
}
},
"tags": {
"target": "com.amazonaws.ivs#Tags",
"traits": {
"smithy.api#documentation": "<p>Array of 1-50 maps, each of the form <code>string:string (key:value)</code>.</p>"
}
}
}
},
"com.amazonaws.ivs#CreateRecordingConfigurationResponse": {
"type": "structure",
"members": {
"recordingConfiguration": {
"target": "com.amazonaws.ivs#RecordingConfiguration"
}
}
},
"com.amazonaws.ivs#CreateStreamKey": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#CreateStreamKeyRequest"
},
"output": {
"target": "com.amazonaws.ivs#CreateStreamKeyResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#PendingVerification"
},
{
"target": "com.amazonaws.ivs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ivs#ServiceQuotaExceededException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a stream key, used to initiate a stream, for the specified channel ARN.</p>\n <p>Note that <a>CreateChannel</a> creates a stream key. If you subsequently use\n CreateStreamKey on the same channel, it will fail because a stream key already exists and\n there is a limit of 1 stream key per channel. To reset the stream key on a channel, use <a>DeleteStreamKey</a> and then CreateStreamKey.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/CreateStreamKey",
"code": 200
}
}
},
"com.amazonaws.ivs#CreateStreamKeyRequest": {
"type": "structure",
"members": {
"channelArn": {
"target": "com.amazonaws.ivs#ChannelArn",
"traits": {
"smithy.api#documentation": "<p>ARN of the channel for which to create the stream key.</p>",
"smithy.api#required": {}
}
},
"tags": {
"target": "com.amazonaws.ivs#Tags",
"traits": {
"smithy.api#documentation": "<p>Array of 1-50 maps, each of the form <code>string:string (key:value)</code>.</p>"
}
}
}
},
"com.amazonaws.ivs#CreateStreamKeyResponse": {
"type": "structure",
"members": {
"streamKey": {
"target": "com.amazonaws.ivs#StreamKey",
"traits": {
"smithy.api#documentation": "<p>Stream key used to authenticate an RTMPS stream for ingestion.</p>"
}
}
}
},
"com.amazonaws.ivs#DeleteChannel": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#DeleteChannelRequest"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#ConflictException"
},
{
"target": "com.amazonaws.ivs#PendingVerification"
},
{
"target": "com.amazonaws.ivs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes the specified channel and its associated stream keys.</p>\n <p>If you try to delete a live channel, you will get an error (409 ConflictException). To\n delete a channel that is live, call <a>StopStream</a>, wait for the Amazon\n EventBridge \"Stream End\" event (to verify that the stream's state was changed from Live to\n Offline), then call DeleteChannel. (See <a href=\"https://docs.aws.amazon.com/ivs/latest/userguide/eventbridge.html\"> Using EventBridge with Amazon IVS</a>.) </p>",
"smithy.api#http": {
"method": "POST",
"uri": "/DeleteChannel",
"code": 204
}
}
},
"com.amazonaws.ivs#DeleteChannelRequest": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.ivs#ChannelArn",
"traits": {
"smithy.api#documentation": "<p>ARN of the channel to be deleted.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.ivs#DeletePlaybackKeyPair": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#DeletePlaybackKeyPairRequest"
},
"output": {
"target": "com.amazonaws.ivs#DeletePlaybackKeyPairResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#PendingVerification"
},
{
"target": "com.amazonaws.ivs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes a specified authorization key pair. This invalidates future viewer tokens\n generated using the key pairs <code>privateKey</code>. For more information, see <a href=\"https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html\">Setting Up Private\n Channels</a> in the <i>Amazon IVS User Guide</i>.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/DeletePlaybackKeyPair",
"code": 200
}
}
},
"com.amazonaws.ivs#DeletePlaybackKeyPairRequest": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.ivs#PlaybackKeyPairArn",
"traits": {
"smithy.api#documentation": "<p>ARN of the key pair to be deleted.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.ivs#DeletePlaybackKeyPairResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.ivs#DeleteRecordingConfiguration": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#DeleteRecordingConfigurationRequest"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#ConflictException"
},
{
"target": "com.amazonaws.ivs#InternalServerException"
},
{
"target": "com.amazonaws.ivs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes the recording configuration for the specified ARN.</p>\n <p>If you try to delete a recording configuration that is associated with a channel, you will\n get an error (409 ConflictException). To avoid this, for all channels that reference the\n recording configuration, first use <a>UpdateChannel</a> to set the\n <code>recordingConfigurationArn</code> field to an empty string, then use\n DeleteRecordingConfiguration.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/DeleteRecordingConfiguration",
"code": 200
}
}
},
"com.amazonaws.ivs#DeleteRecordingConfigurationRequest": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.ivs#RecordingConfigurationArn",
"traits": {
"smithy.api#documentation": "<p>ARN of the recording configuration to be deleted.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.ivs#DeleteStreamKey": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#DeleteStreamKeyRequest"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#PendingVerification"
},
{
"target": "com.amazonaws.ivs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes the stream key for the specified ARN, so it can no longer be used to\n stream.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/DeleteStreamKey",
"code": 204
}
}
},
"com.amazonaws.ivs#DeleteStreamKeyRequest": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.ivs#StreamKeyArn",
"traits": {
"smithy.api#documentation": "<p>ARN of the stream key to be deleted.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.ivs#DestinationConfiguration": {
"type": "structure",
"members": {
"s3": {
"target": "com.amazonaws.ivs#S3DestinationConfiguration",
"traits": {
"smithy.api#documentation": "<p>An S3 destination configuration where recorded videos will be stored.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A complex type that describes a location where recorded videos will be stored. Each member\n represents a type of destination configuration. For recording, you define one and only one\n type of destination configuration.</p>"
}
},
"com.amazonaws.ivs#GetChannel": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#GetChannelRequest"
},
"output": {
"target": "com.amazonaws.ivs#GetChannelResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets the channel configuration for the specified channel ARN. See also <a>BatchGetChannel</a>.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/GetChannel",
"code": 200
}
}
},
"com.amazonaws.ivs#GetChannelRequest": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.ivs#ChannelArn",
"traits": {
"smithy.api#documentation": "<p>ARN of the channel for which the configuration is to be retrieved.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.ivs#GetChannelResponse": {
"type": "structure",
"members": {
"channel": {
"target": "com.amazonaws.ivs#Channel"
}
}
},
"com.amazonaws.ivs#GetPlaybackKeyPair": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#GetPlaybackKeyPairRequest"
},
"output": {
"target": "com.amazonaws.ivs#GetPlaybackKeyPairResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets a specified playback authorization key pair and returns the <code>arn</code> and\n <code>fingerprint</code>. The <code>privateKey</code> held by the caller can be used to\n generate viewer authorization tokens, to grant viewers access to private channels. For more\n information, see <a href=\"https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html\">Setting Up Private Channels</a> in the <i>Amazon IVS User\n Guide</i>.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/GetPlaybackKeyPair",
"code": 200
}
}
},
"com.amazonaws.ivs#GetPlaybackKeyPairRequest": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.ivs#PlaybackKeyPairArn",
"traits": {
"smithy.api#documentation": "<p>ARN of the key pair to be returned.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.ivs#GetPlaybackKeyPairResponse": {
"type": "structure",
"members": {
"keyPair": {
"target": "com.amazonaws.ivs#PlaybackKeyPair"
}
}
},
"com.amazonaws.ivs#GetRecordingConfiguration": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#GetRecordingConfigurationRequest"
},
"output": {
"target": "com.amazonaws.ivs#GetRecordingConfigurationResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#InternalServerException"
},
{
"target": "com.amazonaws.ivs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets the recording configuration for the specified ARN.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/GetRecordingConfiguration",
"code": 200
}
}
},
"com.amazonaws.ivs#GetRecordingConfigurationRequest": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.ivs#RecordingConfigurationArn",
"traits": {
"smithy.api#documentation": "<p>ARN of the recording configuration to be retrieved.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.ivs#GetRecordingConfigurationResponse": {
"type": "structure",
"members": {
"recordingConfiguration": {
"target": "com.amazonaws.ivs#RecordingConfiguration"
}
}
},
"com.amazonaws.ivs#GetStream": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#GetStreamRequest"
},
"output": {
"target": "com.amazonaws.ivs#GetStreamResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#ChannelNotBroadcasting"
},
{
"target": "com.amazonaws.ivs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets information about the active (live) stream on a specified channel.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/GetStream",
"code": 200
}
}
},
"com.amazonaws.ivs#GetStreamKey": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#GetStreamKeyRequest"
},
"output": {
"target": "com.amazonaws.ivs#GetStreamKeyResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets stream-key information for a specified ARN.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/GetStreamKey",
"code": 200
}
}
},
"com.amazonaws.ivs#GetStreamKeyRequest": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.ivs#StreamKeyArn",
"traits": {
"smithy.api#documentation": "<p>ARN for the stream key to be retrieved.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.ivs#GetStreamKeyResponse": {
"type": "structure",
"members": {
"streamKey": {
"target": "com.amazonaws.ivs#StreamKey"
}
}
},
"com.amazonaws.ivs#GetStreamRequest": {
"type": "structure",
"members": {
"channelArn": {
"target": "com.amazonaws.ivs#ChannelArn",
"traits": {
"smithy.api#documentation": "<p>Channel ARN for stream to be accessed.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.ivs#GetStreamResponse": {
"type": "structure",
"members": {
"stream": {
"target": "com.amazonaws.ivs#Stream"
}
}
},
"com.amazonaws.ivs#ImportPlaybackKeyPair": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#ImportPlaybackKeyPairRequest"
},
"output": {
"target": "com.amazonaws.ivs#ImportPlaybackKeyPairResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#ConflictException"
},
{
"target": "com.amazonaws.ivs#PendingVerification"
},
{
"target": "com.amazonaws.ivs#ServiceQuotaExceededException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Imports the public portion of a new key pair and returns its <code>arn</code> and\n <code>fingerprint</code>. The <code>privateKey</code> can then be used to generate viewer\n authorization tokens, to grant viewers access to private channels. For more information, see\n <a href=\"https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html\">Setting Up\n Private Channels</a> in the <i>Amazon IVS User Guide</i>.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/ImportPlaybackKeyPair",
"code": 200
}
}
},
"com.amazonaws.ivs#ImportPlaybackKeyPairRequest": {
"type": "structure",
"members": {
"publicKeyMaterial": {
"target": "com.amazonaws.ivs#PlaybackPublicKeyMaterial",
"traits": {
"smithy.api#documentation": "<p>The public portion of a customer-generated key pair.</p>",
"smithy.api#required": {}
}
},
"name": {
"target": "com.amazonaws.ivs#PlaybackKeyPairName",
"traits": {
"smithy.api#documentation": "<p>An arbitrary string (a nickname) assigned to a playback key pair that helps the customer\n identify that resource. The value does not need to be unique.</p>"
}
},
"tags": {
"target": "com.amazonaws.ivs#Tags",
"traits": {
"smithy.api#documentation": "<p>Any tags provided with the request are added to the playback key pair tags.</p>"
}
}
}
},
"com.amazonaws.ivs#ImportPlaybackKeyPairResponse": {
"type": "structure",
"members": {
"keyPair": {
"target": "com.amazonaws.ivs#PlaybackKeyPair"
}
}
},
"com.amazonaws.ivs#IngestEndpoint": {
"type": "string"
},
"com.amazonaws.ivs#InternalServerException": {
"type": "structure",
"members": {
"exceptionMessage": {
"target": "com.amazonaws.ivs#errorMessage",
"traits": {
"smithy.api#documentation": "<p>Unexpected error during processing of request.</p>"
}
}
},
"traits": {
"smithy.api#error": "server",
"smithy.api#httpError": 500
}
},
"com.amazonaws.ivs#IsAuthorized": {
"type": "boolean"
},
"com.amazonaws.ivs#ListChannels": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#ListChannelsRequest"
},
"output": {
"target": "com.amazonaws.ivs#ListChannelsResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#ConflictException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets summary information about all channels in your account, in the AWS region where the\n API request is processed. This list can be filtered to match a specified name or\n recording-configuration ARN. Filters are mutually exclusive and cannot be used together. If\n you try to use both filters, you will get an error (409 ConflictException).</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/ListChannels",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.ivs#ListChannelsRequest": {
"type": "structure",
"members": {
"filterByName": {
"target": "com.amazonaws.ivs#ChannelName",
"traits": {
"smithy.api#documentation": "<p>Filters the channel list to match the specified name.</p>"
}
},
"filterByRecordingConfigurationArn": {
"target": "com.amazonaws.ivs#ChannelRecordingConfigurationArn",
"traits": {
"smithy.api#documentation": "<p>Filters the channel list to match the specified recording-configuration ARN.</p>"
}
},
"nextToken": {
"target": "com.amazonaws.ivs#PaginationToken",
"traits": {
"smithy.api#documentation": "<p>The first channel to retrieve. This is used for pagination; see the <code>nextToken</code>\n response field.</p>"
}
},
"maxResults": {
"target": "com.amazonaws.ivs#MaxChannelResults",
"traits": {
"smithy.api#documentation": "<p>Maximum number of channels to return. Default: 50.</p>"
}
}
}
},
"com.amazonaws.ivs#ListChannelsResponse": {
"type": "structure",
"members": {
"channels": {
"target": "com.amazonaws.ivs#ChannelList",
"traits": {
"smithy.api#documentation": "<p>List of the matching channels.</p>",
"smithy.api#required": {}
}
},
"nextToken": {
"target": "com.amazonaws.ivs#PaginationToken",
"traits": {
"smithy.api#documentation": "<p>If there are more channels than <code>maxResults</code>, use <code>nextToken</code> in the\n request to get the next set.</p>"
}
}
}
},
"com.amazonaws.ivs#ListPlaybackKeyPairs": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#ListPlaybackKeyPairsRequest"
},
"output": {
"target": "com.amazonaws.ivs#ListPlaybackKeyPairsResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets summary information about playback key pairs. For more information, see <a href=\"https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html\">Setting Up Private\n Channels</a> in the <i>Amazon IVS User Guide</i>.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/ListPlaybackKeyPairs",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.ivs#ListPlaybackKeyPairsRequest": {
"type": "structure",
"members": {
"nextToken": {
"target": "com.amazonaws.ivs#PaginationToken",
"traits": {
"smithy.api#documentation": "<p>Maximum number of key pairs to return.</p>"
}
},
"maxResults": {
"target": "com.amazonaws.ivs#MaxPlaybackKeyPairResults",
"traits": {
"smithy.api#documentation": "<p>The first key pair to retrieve. This is used for pagination; see the\n <code>nextToken</code> response field. Default: 50.</p>"
}
}
}
},
"com.amazonaws.ivs#ListPlaybackKeyPairsResponse": {
"type": "structure",
"members": {
"keyPairs": {
"target": "com.amazonaws.ivs#PlaybackKeyPairList",
"traits": {
"smithy.api#documentation": "<p>List of key pairs.</p>",
"smithy.api#required": {}
}
},
"nextToken": {
"target": "com.amazonaws.ivs#PaginationToken",
"traits": {
"smithy.api#documentation": "<p>If there are more key pairs than <code>maxResults</code>, use <code>nextToken</code> in\n the request to get the next set.</p>"
}
}
}
},
"com.amazonaws.ivs#ListRecordingConfigurations": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#ListRecordingConfigurationsRequest"
},
"output": {
"target": "com.amazonaws.ivs#ListRecordingConfigurationsResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#InternalServerException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets summary information about all recording configurations in your account, in the AWS\n region where the API request is processed.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/ListRecordingConfigurations",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.ivs#ListRecordingConfigurationsRequest": {
"type": "structure",
"members": {
"nextToken": {
"target": "com.amazonaws.ivs#PaginationToken",
"traits": {
"smithy.api#documentation": "<p>The first recording configuration to retrieve. This is used for pagination; see the\n <code>nextToken</code> response field.</p>"
}
},
"maxResults": {
"target": "com.amazonaws.ivs#MaxRecordingConfigurationResults",
"traits": {
"smithy.api#documentation": "<p>Maximum number of recording configurations to return. Default: 50. </p>"
}
}
}
},
"com.amazonaws.ivs#ListRecordingConfigurationsResponse": {
"type": "structure",
"members": {
"recordingConfigurations": {
"target": "com.amazonaws.ivs#RecordingConfigurationList",
"traits": {
"smithy.api#documentation": "<p>List of the matching recording configurations.</p>",
"smithy.api#required": {}
}
},
"nextToken": {
"target": "com.amazonaws.ivs#PaginationToken",
"traits": {
"smithy.api#documentation": "<p>If there are more recording configurations than <code>maxResults</code>, use\n <code>nextToken</code> in the request to get the next set.</p>"
}
}
}
},
"com.amazonaws.ivs#ListStreamKeys": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#ListStreamKeysRequest"
},
"output": {
"target": "com.amazonaws.ivs#ListStreamKeysResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets summary information about stream keys for the specified channel.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/ListStreamKeys",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.ivs#ListStreamKeysRequest": {
"type": "structure",
"members": {
"channelArn": {
"target": "com.amazonaws.ivs#ChannelArn",
"traits": {
"smithy.api#documentation": "<p>Channel ARN used to filter the list.</p>",
"smithy.api#required": {}
}
},
"nextToken": {
"target": "com.amazonaws.ivs#PaginationToken",
"traits": {
"smithy.api#documentation": "<p>The first stream key to retrieve. This is used for pagination; see the\n <code>nextToken</code> response field.</p>"
}
},
"maxResults": {
"target": "com.amazonaws.ivs#MaxStreamKeyResults",
"traits": {
"smithy.api#documentation": "<p>Maximum number of streamKeys to return. Default: 50.</p>"
}
}
}
},
"com.amazonaws.ivs#ListStreamKeysResponse": {
"type": "structure",
"members": {
"streamKeys": {
"target": "com.amazonaws.ivs#StreamKeyList",
"traits": {
"smithy.api#documentation": "<p>List of stream keys.</p>",
"smithy.api#required": {}
}
},
"nextToken": {
"target": "com.amazonaws.ivs#PaginationToken",
"traits": {
"smithy.api#documentation": "<p>If there are more stream keys than <code>maxResults</code>, use <code>nextToken</code> in\n the request to get the next set.</p>"
}
}
}
},
"com.amazonaws.ivs#ListStreams": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#ListStreamsRequest"
},
"output": {
"target": "com.amazonaws.ivs#ListStreamsResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets summary information about live streams in your account, in the AWS region where the\n API request is processed.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/ListStreams",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.ivs#ListStreamsRequest": {
"type": "structure",
"members": {
"nextToken": {
"target": "com.amazonaws.ivs#PaginationToken",
"traits": {
"smithy.api#documentation": "<p>The first stream to retrieve. This is used for pagination; see the <code>nextToken</code>\n response field.</p>"
}
},
"maxResults": {
"target": "com.amazonaws.ivs#MaxStreamResults",
"traits": {
"smithy.api#documentation": "<p>Maximum number of streams to return. Default: 50.</p>"
}
}
}
},
"com.amazonaws.ivs#ListStreamsResponse": {
"type": "structure",
"members": {
"streams": {
"target": "com.amazonaws.ivs#StreamList",
"traits": {
"smithy.api#documentation": "<p>List of streams.</p>",
"smithy.api#required": {}
}
},
"nextToken": {
"target": "com.amazonaws.ivs#PaginationToken",
"traits": {
"smithy.api#documentation": "<p>If there are more streams than <code>maxResults</code>, use <code>nextToken</code> in the\n request to get the next set.</p>"
}
}
}
},
"com.amazonaws.ivs#ListTagsForResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#ListTagsForResourceRequest"
},
"output": {
"target": "com.amazonaws.ivs#ListTagsForResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#InternalServerException"
},
{
"target": "com.amazonaws.ivs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets information about AWS tags for the specified ARN.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/tags/{resourceArn}",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.ivs#ListTagsForResourceRequest": {
"type": "structure",
"members": {
"resourceArn": {
"target": "com.amazonaws.ivs#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the resource to be retrieved.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"nextToken": {
"target": "com.amazonaws.ivs#String",
"traits": {
"smithy.api#documentation": "<p>The first tag to retrieve. This is used for pagination; see the <code>nextToken</code>\n response field.</p>"
}
},
"maxResults": {
"target": "com.amazonaws.ivs#MaxTagResults",
"traits": {
"smithy.api#documentation": "<p>Maximum number of tags to return. Default: 50.</p>"
}
}
}
},
"com.amazonaws.ivs#ListTagsForResourceResponse": {
"type": "structure",
"members": {
"tags": {
"target": "com.amazonaws.ivs#Tags",
"traits": {
"smithy.api#required": {}
}
},
"nextToken": {
"target": "com.amazonaws.ivs#String",
"traits": {
"smithy.api#documentation": "<p>If there are more tags than <code>maxResults</code>, use <code>nextToken</code> in the\n request to get the next set.</p>"
}
}
}
},
"com.amazonaws.ivs#MaxChannelResults": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.ivs#MaxPlaybackKeyPairResults": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.ivs#MaxRecordingConfigurationResults": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.ivs#MaxStreamKeyResults": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.ivs#MaxStreamResults": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.ivs#MaxTagResults": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.ivs#PaginationToken": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 500
}
}
},
"com.amazonaws.ivs#PendingVerification": {
"type": "structure",
"members": {
"exceptionMessage": {
"target": "com.amazonaws.ivs#errorMessage",
"traits": {
"smithy.api#documentation": "<p> Your account is pending verification. </p>"
}
}
},
"traits": {
"smithy.api#error": "client",
"smithy.api#httpError": 403
}
},
"com.amazonaws.ivs#PlaybackKeyPair": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.ivs#PlaybackKeyPairArn",
"traits": {
"smithy.api#documentation": "<p>Key-pair ARN.</p>"
}
},
"name": {
"target": "com.amazonaws.ivs#PlaybackKeyPairName",
"traits": {
"smithy.api#documentation": "<p>An arbitrary string (a nickname) assigned to a playback key pair that helps the customer\n identify that resource. The value does not need to be unique.</p>"
}
},
"fingerprint": {
"target": "com.amazonaws.ivs#PlaybackKeyPairFingerprint",
"traits": {
"smithy.api#documentation": "<p>Key-pair identifier.</p>"
}
},
"tags": {
"target": "com.amazonaws.ivs#Tags",
"traits": {
"smithy.api#documentation": "<p>Array of 1-50 maps, each of the form <code>string:string (key:value)</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A key pair used to sign and validate a playback authorization token.</p>"
}
},
"com.amazonaws.ivs#PlaybackKeyPairArn": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:playback-key/[a-zA-Z0-9-]+$"
}
},
"com.amazonaws.ivs#PlaybackKeyPairFingerprint": {
"type": "string"
},
"com.amazonaws.ivs#PlaybackKeyPairList": {
"type": "list",
"member": {
"target": "com.amazonaws.ivs#PlaybackKeyPairSummary"
}
},
"com.amazonaws.ivs#PlaybackKeyPairName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 128
},
"smithy.api#pattern": "^[a-zA-Z0-9-_]*$"
}
},
"com.amazonaws.ivs#PlaybackKeyPairSummary": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.ivs#PlaybackKeyPairArn",
"traits": {
"smithy.api#documentation": "<p>Key-pair ARN.</p>"
}
},
"name": {
"target": "com.amazonaws.ivs#PlaybackKeyPairName",
"traits": {
"smithy.api#documentation": "<p>An arbitrary string (a nickname) assigned to a playback key pair that helps the customer\n identify that resource. The value does not need to be unique.</p>"
}
},
"tags": {
"target": "com.amazonaws.ivs#Tags",
"traits": {
"smithy.api#documentation": "<p>Array of 1-50 maps, each of the form <code>string:string (key:value)</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Summary information about a playback key pair.</p>"
}
},
"com.amazonaws.ivs#PlaybackPublicKeyMaterial": {
"type": "string"
},
"com.amazonaws.ivs#PlaybackURL": {
"type": "string"
},
"com.amazonaws.ivs#PutMetadata": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#PutMetadataRequest"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#ChannelNotBroadcasting"
},
{
"target": "com.amazonaws.ivs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ivs#ThrottlingException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Inserts metadata into the active stream of the specified channel. A maximum of 5 requests\n per second per channel is allowed, each with a maximum 1 KB payload. (If 5 TPS is not\n sufficient for your needs, we recommend batching your data into a single PutMetadata call.)\n\n Also see <a href=\"https://docs.aws.amazon.com/ivs/latest/userguide/metadata.html\">Embedding Metadata\n\n within a Video Stream</a> in the <i>Amazon IVS User Guide</i>.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/PutMetadata",
"code": 200
}
}
},
"com.amazonaws.ivs#PutMetadataRequest": {
"type": "structure",
"members": {
"channelArn": {
"target": "com.amazonaws.ivs#ChannelArn",
"traits": {
"smithy.api#documentation": "<p>ARN of the channel into which metadata is inserted. This channel must have an active\n stream.</p>",
"smithy.api#required": {}
}
},
"metadata": {
"target": "com.amazonaws.ivs#StreamMetadata",
"traits": {
"smithy.api#documentation": "<p>Metadata to insert into the stream. Maximum: 1 KB per request.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.ivs#RecordingConfiguration": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.ivs#RecordingConfigurationArn",
"traits": {
"smithy.api#documentation": "<p>Recording-configuration ARN.</p>",
"smithy.api#required": {}
}
},
"name": {
"target": "com.amazonaws.ivs#RecordingConfigurationName",
"traits": {
"smithy.api#documentation": "<p>An arbitrary string (a nickname) assigned to a recording configuration that helps the\n customer identify that resource. The value does not need to be unique.</p>"
}
},
"destinationConfiguration": {
"target": "com.amazonaws.ivs#DestinationConfiguration",
"traits": {
"smithy.api#documentation": "<p>A complex type that contains information about where recorded video will be stored.</p>",
"smithy.api#required": {}
}
},
"state": {
"target": "com.amazonaws.ivs#RecordingConfigurationState",
"traits": {
"smithy.api#documentation": "<p>Indicates the current state of the recording configuration. When the state is\n <code>ACTIVE</code>, the configuration is ready for recording a channel stream.</p>",
"smithy.api#required": {}
}
},
"tags": {
"target": "com.amazonaws.ivs#Tags",
"traits": {
"smithy.api#documentation": "<p>Array of 1-50 maps, each of the form <code>string:string (key:value)</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>An object representing a configuration to record a channel stream.</p>"
}
},
"com.amazonaws.ivs#RecordingConfigurationArn": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 128
},
"smithy.api#pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:recording-configuration/[a-zA-Z0-9-]+$"
}
},
"com.amazonaws.ivs#RecordingConfigurationList": {
"type": "list",
"member": {
"target": "com.amazonaws.ivs#RecordingConfigurationSummary"
}
},
"com.amazonaws.ivs#RecordingConfigurationName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 128
},
"smithy.api#pattern": "^[a-zA-Z0-9-_]*$"
}
},
"com.amazonaws.ivs#RecordingConfigurationState": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "CREATING",
"name": "Creating"
},
{
"value": "CREATE_FAILED",
"name": "CreateFailed"
},
{
"value": "ACTIVE",
"name": "Active"
}
]
}
},
"com.amazonaws.ivs#RecordingConfigurationSummary": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.ivs#RecordingConfigurationArn",
"traits": {
"smithy.api#documentation": "<p>Recording-configuration ARN.</p>",
"smithy.api#required": {}
}
},
"name": {
"target": "com.amazonaws.ivs#RecordingConfigurationName",
"traits": {
"smithy.api#documentation": "<p>An arbitrary string (a nickname) assigned to a recording configuration that helps the\n customer identify that resource. The value does not need to be unique.</p>"
}
},
"destinationConfiguration": {
"target": "com.amazonaws.ivs#DestinationConfiguration",
"traits": {
"smithy.api#documentation": "<p>A complex type that contains information about where recorded video will be stored.</p>",
"smithy.api#required": {}
}
},
"state": {
"target": "com.amazonaws.ivs#RecordingConfigurationState",
"traits": {
"smithy.api#documentation": "<p>Indicates the current state of the recording configuration. When the state is\n <code>ACTIVE</code>, the configuration is ready for recording a channel stream.</p>",
"smithy.api#required": {}
}
},
"tags": {
"target": "com.amazonaws.ivs#Tags",
"traits": {
"smithy.api#documentation": "<p>Array of 1-50 maps, each of the form <code>string:string (key:value)</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Summary information about a RecordingConfiguration.</p>"
}
},
"com.amazonaws.ivs#ResourceArn": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:[a-z-]/[a-zA-Z0-9-]+$"
}
},
"com.amazonaws.ivs#ResourceNotFoundException": {
"type": "structure",
"members": {
"exceptionMessage": {
"target": "com.amazonaws.ivs#errorMessage",
"traits": {
"smithy.api#documentation": "<p>Request references a resource which does not exist.</p>"
}
}
},
"traits": {
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.ivs#S3DestinationBucketName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 3,
"max": 63
},
"smithy.api#pattern": "^[a-z0-9-.]+$"
}
},
"com.amazonaws.ivs#S3DestinationConfiguration": {
"type": "structure",
"members": {
"bucketName": {
"target": "com.amazonaws.ivs#S3DestinationBucketName",
"traits": {
"smithy.api#documentation": "<p>Location (S3 bucket name) where recorded videos will be stored.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A complex type that describes an S3 location where recorded videos will be stored.</p>"
}
},
"com.amazonaws.ivs#ServiceQuotaExceededException": {
"type": "structure",
"members": {
"exceptionMessage": {
"target": "com.amazonaws.ivs#errorMessage",
"traits": {
"smithy.api#documentation": "<p>Request would cause a service quota to be exceeded.</p>"
}
}
},
"traits": {
"smithy.api#error": "client",
"smithy.api#httpError": 402
}
},
"com.amazonaws.ivs#StopStream": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#StopStreamRequest"
},
"output": {
"target": "com.amazonaws.ivs#StopStreamResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#ChannelNotBroadcasting"
},
{
"target": "com.amazonaws.ivs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ivs#StreamUnavailable"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Disconnects the incoming RTMPS stream for the specified channel. Can be used in\n conjunction with <a>DeleteStreamKey</a> to prevent further streaming to a\n channel.</p>\n <note>\n <p>Many streaming client-software libraries automatically reconnect a dropped RTMPS\n session, so to stop the stream permanently, you may want to first revoke the\n <code>streamKey</code> attached to the channel.</p>\n </note>",
"smithy.api#http": {
"method": "POST",
"uri": "/StopStream",
"code": 200
}
}
},
"com.amazonaws.ivs#StopStreamRequest": {
"type": "structure",
"members": {
"channelArn": {
"target": "com.amazonaws.ivs#ChannelArn",
"traits": {
"smithy.api#documentation": "<p>ARN of the channel for which the stream is to be stopped.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.ivs#StopStreamResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.ivs#Stream": {
"type": "structure",
"members": {
"channelArn": {
"target": "com.amazonaws.ivs#ChannelArn",
"traits": {
"smithy.api#documentation": "<p>Channel ARN for the stream.</p>"
}
},
"playbackUrl": {
"target": "com.amazonaws.ivs#PlaybackURL",
"traits": {
"smithy.api#documentation": "<p>URL of the master playlist, required by the video player to play the HLS stream.</p>"
}
},
"startTime": {
"target": "com.amazonaws.ivs#StreamStartTime",
"traits": {
"smithy.api#documentation": "<p>ISO-8601 formatted timestamp of the streams start.</p>"
}
},
"state": {
"target": "com.amazonaws.ivs#StreamState",
"traits": {
"smithy.api#documentation": "<p>The streams state.</p>"
}
},
"health": {
"target": "com.amazonaws.ivs#StreamHealth",
"traits": {
"smithy.api#documentation": "<p>The streams health.</p>"
}
},
"viewerCount": {
"target": "com.amazonaws.ivs#StreamViewerCount",
"traits": {
"smithy.api#documentation": "<p>Number of current viewers of the stream. A value of -1 indicates that the request timed\n out; in this case, retry.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Specifies a live video stream that has been ingested and distributed.</p>"
}
},
"com.amazonaws.ivs#StreamHealth": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "HEALTHY",
"name": "StreamHealthy"
},
{
"value": "STARVING",
"name": "Starving"
},
{
"value": "UNKNOWN",
"name": "Unknown"
}
]
}
},
"com.amazonaws.ivs#StreamKey": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.ivs#StreamKeyArn",
"traits": {
"smithy.api#documentation": "<p>Stream-key ARN.</p>"
}
},
"value": {
"target": "com.amazonaws.ivs#StreamKeyValue",
"traits": {
"smithy.api#documentation": "<p>Stream-key value.</p>"
}
},
"channelArn": {
"target": "com.amazonaws.ivs#ChannelArn",
"traits": {
"smithy.api#documentation": "<p>Channel ARN for the stream.</p>"
}
},
"tags": {
"target": "com.amazonaws.ivs#Tags",
"traits": {
"smithy.api#documentation": "<p>Array of 1-50 maps, each of the form <code>string:string (key:value)</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Object specifying a stream key.</p>"
}
},
"com.amazonaws.ivs#StreamKeyArn": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:stream-key/[a-zA-Z0-9-]+$"
}
},
"com.amazonaws.ivs#StreamKeyArnList": {
"type": "list",
"member": {
"target": "com.amazonaws.ivs#StreamKeyArn"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.ivs#StreamKeyList": {
"type": "list",
"member": {
"target": "com.amazonaws.ivs#StreamKeySummary"
}
},
"com.amazonaws.ivs#StreamKeySummary": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.ivs#StreamKeyArn",
"traits": {
"smithy.api#documentation": "<p>Stream-key ARN.</p>"
}
},
"channelArn": {
"target": "com.amazonaws.ivs#ChannelArn",
"traits": {
"smithy.api#documentation": "<p>Channel ARN for the stream.</p>"
}
},
"tags": {
"target": "com.amazonaws.ivs#Tags",
"traits": {
"smithy.api#documentation": "<p>Array of 1-50 maps, each of the form <code>string:string (key:value)</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Summary information about a stream key.</p>"
}
},
"com.amazonaws.ivs#StreamKeyValue": {
"type": "string"
},
"com.amazonaws.ivs#StreamKeys": {
"type": "list",
"member": {
"target": "com.amazonaws.ivs#StreamKey"
}
},
"com.amazonaws.ivs#StreamList": {
"type": "list",
"member": {
"target": "com.amazonaws.ivs#StreamSummary"
}
},
"com.amazonaws.ivs#StreamMetadata": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.ivs#StreamStartTime": {
"type": "timestamp",
"traits": {
"smithy.api#timestampFormat": "date-time"
}
},
"com.amazonaws.ivs#StreamState": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "LIVE",
"name": "StreamLive"
},
{
"value": "OFFLINE",
"name": "StreamOffline"
}
]
}
},
"com.amazonaws.ivs#StreamSummary": {
"type": "structure",
"members": {
"channelArn": {
"target": "com.amazonaws.ivs#ChannelArn",
"traits": {
"smithy.api#documentation": "<p>Channel ARN for the stream.</p>"
}
},
"state": {
"target": "com.amazonaws.ivs#StreamState",
"traits": {
"smithy.api#documentation": "<p>The streams state.</p>"
}
},
"health": {
"target": "com.amazonaws.ivs#StreamHealth",
"traits": {
"smithy.api#documentation": "<p>The streams health.</p>"
}
},
"viewerCount": {
"target": "com.amazonaws.ivs#StreamViewerCount",
"traits": {
"smithy.api#documentation": "<p>Number of current viewers of the stream. A value of -1 indicates that the request timed\n out; in this case, retry.</p>"
}
},
"startTime": {
"target": "com.amazonaws.ivs#StreamStartTime",
"traits": {
"smithy.api#documentation": "<p>ISO-8601 formatted timestamp of the streams start.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Summary information about a stream.</p>"
}
},
"com.amazonaws.ivs#StreamUnavailable": {
"type": "structure",
"members": {
"exceptionMessage": {
"target": "com.amazonaws.ivs#errorMessage",
"traits": {
"smithy.api#documentation": "<p>The stream is temporarily unavailable.</p>"
}
}
},
"traits": {
"smithy.api#error": "server",
"smithy.api#httpError": 503
}
},
"com.amazonaws.ivs#StreamViewerCount": {
"type": "long"
},
"com.amazonaws.ivs#String": {
"type": "string"
},
"com.amazonaws.ivs#TagKey": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
}
}
},
"com.amazonaws.ivs#TagKeyList": {
"type": "list",
"member": {
"target": "com.amazonaws.ivs#TagKey"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 50
}
}
},
"com.amazonaws.ivs#TagResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#TagResourceRequest"
},
"output": {
"target": "com.amazonaws.ivs#TagResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#InternalServerException"
},
{
"target": "com.amazonaws.ivs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Adds or updates tags for the AWS resource with the specified ARN.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/tags/{resourceArn}",
"code": 200
}
}
},
"com.amazonaws.ivs#TagResourceRequest": {
"type": "structure",
"members": {
"resourceArn": {
"target": "com.amazonaws.ivs#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>ARN of the resource for which tags are to be added or updated.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"tags": {
"target": "com.amazonaws.ivs#Tags",
"traits": {
"smithy.api#documentation": "<p>Array of tags to be added or updated.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.ivs#TagResourceResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.ivs#TagValue": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 256
}
}
},
"com.amazonaws.ivs#Tags": {
"type": "map",
"key": {
"target": "com.amazonaws.ivs#TagKey"
},
"value": {
"target": "com.amazonaws.ivs#TagValue"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 50
}
}
},
"com.amazonaws.ivs#ThrottlingException": {
"type": "structure",
"members": {
"exceptionMessage": {
"target": "com.amazonaws.ivs#errorMessage",
"traits": {
"smithy.api#documentation": "<p>Request was denied due to request throttling.</p>"
}
}
},
"traits": {
"smithy.api#error": "client",
"smithy.api#httpError": 429
}
},
"com.amazonaws.ivs#UntagResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#UntagResourceRequest"
},
"output": {
"target": "com.amazonaws.ivs#UntagResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#InternalServerException"
},
{
"target": "com.amazonaws.ivs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Removes tags from the resource with the specified ARN.</p>",
"smithy.api#http": {
"method": "DELETE",
"uri": "/tags/{resourceArn}",
"code": 200
}
}
},
"com.amazonaws.ivs#UntagResourceRequest": {
"type": "structure",
"members": {
"resourceArn": {
"target": "com.amazonaws.ivs#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>ARN of the resource for which tags are to be removed.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"tagKeys": {
"target": "com.amazonaws.ivs#TagKeyList",
"traits": {
"smithy.api#documentation": "<p>Array of tags to be removed.</p>",
"smithy.api#httpQuery": "tagKeys",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.ivs#UntagResourceResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.ivs#UpdateChannel": {
"type": "operation",
"input": {
"target": "com.amazonaws.ivs#UpdateChannelRequest"
},
"output": {
"target": "com.amazonaws.ivs#UpdateChannelResponse"
},
"errors": [
{
"target": "com.amazonaws.ivs#AccessDeniedException"
},
{
"target": "com.amazonaws.ivs#ConflictException"
},
{
"target": "com.amazonaws.ivs#PendingVerification"
},
{
"target": "com.amazonaws.ivs#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ivs#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates a channel's configuration. This does not affect an ongoing stream of this channel.\n You must stop and restart the stream for the changes to take effect.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/UpdateChannel",
"code": 200
}
}
},
"com.amazonaws.ivs#UpdateChannelRequest": {
"type": "structure",
"members": {
"arn": {
"target": "com.amazonaws.ivs#ChannelArn",
"traits": {
"smithy.api#documentation": "<p>ARN of the channel to be updated.</p>",
"smithy.api#required": {}
}
},
"name": {
"target": "com.amazonaws.ivs#ChannelName",
"traits": {
"smithy.api#documentation": "<p>Channel name.</p>"
}
},
"latencyMode": {
"target": "com.amazonaws.ivs#ChannelLatencyMode",
"traits": {
"smithy.api#documentation": "<p>Channel latency mode. Use <code>NORMAL</code> to broadcast and deliver live video up to Full HD. Use\n <code>LOW</code> for near-real-time interaction with viewers. (Note: In the Amazon IVS console,\n <code>LOW</code> and <code>NORMAL</code> correspond to Ultra-low and Standard,\n respectively.)</p>"
}
},
"type": {
"target": "com.amazonaws.ivs#ChannelType",
"traits": {
"smithy.api#documentation": "<p>Channel type, which determines the allowable resolution and bitrate. <i>If you\n exceed the allowable resolution or bitrate, the stream probably will disconnect\n immediately</i>. Valid values:</p>\n <ul>\n <li>\n <p>\n <code>STANDARD</code>: Multiple qualities are generated from the original input, to\n automatically give viewers the best experience for their devices and network conditions.\n Vertical resolution can be up to 1080 and bitrate can be up to 8.5 Mbps.</p>\n </li>\n <li>\n <p>\n <code>BASIC</code>: Amazon IVS delivers the original input to viewers. The viewers\n video-quality choice is limited to the original input. Vertical resolution can be up to\n 480 and bitrate can be up to 1.5 Mbps.</p>\n </li>\n </ul>"
}
},
"authorized": {
"target": "com.amazonaws.ivs#Boolean",
"traits": {
"smithy.api#documentation": "<p>Whether the channel is private (enabled for playback authorization).</p>"
}
},
"recordingConfigurationArn": {
"target": "com.amazonaws.ivs#ChannelRecordingConfigurationArn",
"traits": {
"smithy.api#documentation": "<p>Recording-configuration ARN. If this is set to an empty string, recording is disabled. A\n value other than an empty string indicates that recording is enabled</p>"
}
}
}
},
"com.amazonaws.ivs#UpdateChannelResponse": {
"type": "structure",
"members": {
"channel": {
"target": "com.amazonaws.ivs#Channel"
}
}
},
"com.amazonaws.ivs#ValidationException": {
"type": "structure",
"members": {
"exceptionMessage": {
"target": "com.amazonaws.ivs#errorMessage",
"traits": {
"smithy.api#documentation": "<p>The input fails to satisfy the constraints specified by an AWS service.</p>"
}
}
},
"traits": {
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.ivs#errorCode": {
"type": "string"
},
"com.amazonaws.ivs#errorMessage": {
"type": "string"
}
}
}