| 1 |
{ |
| 2 |
"version":"2.0", |
| 3 |
"metadata":{ |
| 4 |
"apiVersion":"2019-12-04", |
| 5 |
"endpointPrefix":"kinesisvideo", |
| 6 |
"protocol":"rest-json", |
| 7 |
"serviceAbbreviation":"Amazon Kinesis Video Signaling Channels", |
| 8 |
"serviceFullName":"Amazon Kinesis Video Signaling Channels", |
| 9 |
"serviceId":"Kinesis Video Signaling", |
| 10 |
"signatureVersion":"v4", |
| 11 |
"uid":"kinesis-video-signaling-2019-12-04" |
| 12 |
}, |
| 13 |
"operations":{ |
| 14 |
"GetIceServerConfig":{ |
| 15 |
"name":"GetIceServerConfig", |
| 16 |
"http":{ |
| 17 |
"method":"POST", |
| 18 |
"requestUri":"/v1/get-ice-server-config" |
| 19 |
}, |
| 20 |
"input":{"shape":"GetIceServerConfigRequest"}, |
| 21 |
"output":{"shape":"GetIceServerConfigResponse"}, |
| 22 |
"errors":[ |
| 23 |
{"shape":"InvalidClientException"}, |
| 24 |
{"shape":"SessionExpiredException"}, |
| 25 |
{"shape":"ClientLimitExceededException"}, |
| 26 |
{"shape":"ResourceNotFoundException"}, |
| 27 |
{"shape":"InvalidArgumentException"}, |
| 28 |
{"shape":"NotAuthorizedException"} |
| 29 |
] |
| 30 |
}, |
| 31 |
"SendAlexaOfferToMaster":{ |
| 32 |
"name":"SendAlexaOfferToMaster", |
| 33 |
"http":{ |
| 34 |
"method":"POST", |
| 35 |
"requestUri":"/v1/send-alexa-offer-to-master" |
| 36 |
}, |
| 37 |
"input":{"shape":"SendAlexaOfferToMasterRequest"}, |
| 38 |
"output":{"shape":"SendAlexaOfferToMasterResponse"}, |
| 39 |
"errors":[ |
| 40 |
{"shape":"ClientLimitExceededException"}, |
| 41 |
{"shape":"ResourceNotFoundException"}, |
| 42 |
{"shape":"InvalidArgumentException"}, |
| 43 |
{"shape":"NotAuthorizedException"} |
| 44 |
] |
| 45 |
} |
| 46 |
}, |
| 47 |
"shapes":{ |
| 48 |
"Answer":{ |
| 49 |
"type":"string", |
| 50 |
"max":10000, |
| 51 |
"min":1 |
| 52 |
}, |
| 53 |
"ClientId":{ |
| 54 |
"type":"string", |
| 55 |
"max":256, |
| 56 |
"min":1, |
| 57 |
"pattern":"[a-zA-Z0-9_.-]+" |
| 58 |
}, |
| 59 |
"ClientLimitExceededException":{ |
| 60 |
"type":"structure", |
| 61 |
"members":{ |
| 62 |
"Message":{"shape":"ErrorMessage"} |
| 63 |
}, |
| 64 |
"error":{"httpStatusCode":400}, |
| 65 |
"exception":true |
| 66 |
}, |
| 67 |
"ErrorMessage":{"type":"string"}, |
| 68 |
"GetIceServerConfigRequest":{ |
| 69 |
"type":"structure", |
| 70 |
"required":["ChannelARN"], |
| 71 |
"members":{ |
| 72 |
"ChannelARN":{"shape":"ResourceARN"}, |
| 73 |
"ClientId":{"shape":"ClientId"}, |
| 74 |
"Service":{"shape":"Service"}, |
| 75 |
"Username":{"shape":"Username"} |
| 76 |
} |
| 77 |
}, |
| 78 |
"GetIceServerConfigResponse":{ |
| 79 |
"type":"structure", |
| 80 |
"members":{ |
| 81 |
"IceServerList":{"shape":"IceServerList"} |
| 82 |
} |
| 83 |
}, |
| 84 |
"IceServer":{ |
| 85 |
"type":"structure", |
| 86 |
"members":{ |
| 87 |
"Uris":{"shape":"Uris"}, |
| 88 |
"Username":{"shape":"Username"}, |
| 89 |
"Password":{"shape":"Password"}, |
| 90 |
"Ttl":{"shape":"Ttl"} |
| 91 |
} |
| 92 |
}, |
| 93 |
"IceServerList":{ |
| 94 |
"type":"list", |
| 95 |
"member":{"shape":"IceServer"} |
| 96 |
}, |
| 97 |
"InvalidArgumentException":{ |
| 98 |
"type":"structure", |
| 99 |
"members":{ |
| 100 |
"Message":{"shape":"ErrorMessage"} |
| 101 |
}, |
| 102 |
"error":{"httpStatusCode":400}, |
| 103 |
"exception":true |
| 104 |
}, |
| 105 |
"InvalidClientException":{ |
| 106 |
"type":"structure", |
| 107 |
"members":{ |
| 108 |
"message":{"shape":"errorMessage"} |
| 109 |
}, |
| 110 |
"error":{"httpStatusCode":400}, |
| 111 |
"exception":true |
| 112 |
}, |
| 113 |
"MessagePayload":{ |
| 114 |
"type":"string", |
| 115 |
"max":10000, |
| 116 |
"min":1, |
| 117 |
"pattern":"[a-zA-Z0-9+/=]+" |
| 118 |
}, |
| 119 |
"NotAuthorizedException":{ |
| 120 |
"type":"structure", |
| 121 |
"members":{ |
| 122 |
"Message":{"shape":"ErrorMessage"} |
| 123 |
}, |
| 124 |
"error":{"httpStatusCode":401}, |
| 125 |
"exception":true |
| 126 |
}, |
| 127 |
"Password":{ |
| 128 |
"type":"string", |
| 129 |
"max":256, |
| 130 |
"min":1, |
| 131 |
"pattern":"[a-zA-Z0-9_.-]+" |
| 132 |
}, |
| 133 |
"ResourceARN":{ |
| 134 |
"type":"string", |
| 135 |
"max":1024, |
| 136 |
"min":1, |
| 137 |
"pattern":"arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+" |
| 138 |
}, |
| 139 |
"ResourceNotFoundException":{ |
| 140 |
"type":"structure", |
| 141 |
"members":{ |
| 142 |
"Message":{"shape":"ErrorMessage"} |
| 143 |
}, |
| 144 |
"error":{"httpStatusCode":404}, |
| 145 |
"exception":true |
| 146 |
}, |
| 147 |
"SendAlexaOfferToMasterRequest":{ |
| 148 |
"type":"structure", |
| 149 |
"required":[ |
| 150 |
"ChannelARN", |
| 151 |
"SenderClientId", |
| 152 |
"MessagePayload" |
| 153 |
], |
| 154 |
"members":{ |
| 155 |
"ChannelARN":{"shape":"ResourceARN"}, |
| 156 |
"SenderClientId":{"shape":"ClientId"}, |
| 157 |
"MessagePayload":{"shape":"MessagePayload"} |
| 158 |
} |
| 159 |
}, |
| 160 |
"SendAlexaOfferToMasterResponse":{ |
| 161 |
"type":"structure", |
| 162 |
"members":{ |
| 163 |
"Answer":{"shape":"Answer"} |
| 164 |
} |
| 165 |
}, |
| 166 |
"Service":{ |
| 167 |
"type":"string", |
| 168 |
"enum":["TURN"] |
| 169 |
}, |
| 170 |
"SessionExpiredException":{ |
| 171 |
"type":"structure", |
| 172 |
"members":{ |
| 173 |
"message":{"shape":"errorMessage"} |
| 174 |
}, |
| 175 |
"error":{"httpStatusCode":400}, |
| 176 |
"exception":true |
| 177 |
}, |
| 178 |
"Ttl":{ |
| 179 |
"type":"integer", |
| 180 |
"max":86400, |
| 181 |
"min":30 |
| 182 |
}, |
| 183 |
"Uri":{ |
| 184 |
"type":"string", |
| 185 |
"max":256, |
| 186 |
"min":1 |
| 187 |
}, |
| 188 |
"Uris":{ |
| 189 |
"type":"list", |
| 190 |
"member":{"shape":"Uri"} |
| 191 |
}, |
| 192 |
"Username":{ |
| 193 |
"type":"string", |
| 194 |
"max":256, |
| 195 |
"min":1, |
| 196 |
"pattern":"[a-zA-Z0-9_.-]+" |
| 197 |
}, |
| 198 |
"errorMessage":{"type":"string"} |
| 199 |
} |
| 200 |
} |