github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/kinesis-video-archived-media/2017-09-30/api-2.json (about) 1 { 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2017-09-30", 5 "endpointPrefix":"kinesisvideo", 6 "protocol":"rest-json", 7 "serviceAbbreviation":"Kinesis Video Archived Media", 8 "serviceFullName":"Amazon Kinesis Video Streams Archived Media", 9 "serviceId":"Kinesis Video Archived Media", 10 "signatureVersion":"v4", 11 "uid":"kinesis-video-archived-media-2017-09-30" 12 }, 13 "operations":{ 14 "GetClip":{ 15 "name":"GetClip", 16 "http":{ 17 "method":"POST", 18 "requestUri":"/getClip" 19 }, 20 "input":{"shape":"GetClipInput"}, 21 "output":{"shape":"GetClipOutput"}, 22 "errors":[ 23 {"shape":"ResourceNotFoundException"}, 24 {"shape":"InvalidArgumentException"}, 25 {"shape":"ClientLimitExceededException"}, 26 {"shape":"NotAuthorizedException"}, 27 {"shape":"UnsupportedStreamMediaTypeException"}, 28 {"shape":"MissingCodecPrivateDataException"}, 29 {"shape":"InvalidCodecPrivateDataException"}, 30 {"shape":"InvalidMediaFrameException"}, 31 {"shape":"NoDataRetentionException"} 32 ] 33 }, 34 "GetDASHStreamingSessionURL":{ 35 "name":"GetDASHStreamingSessionURL", 36 "http":{ 37 "method":"POST", 38 "requestUri":"/getDASHStreamingSessionURL" 39 }, 40 "input":{"shape":"GetDASHStreamingSessionURLInput"}, 41 "output":{"shape":"GetDASHStreamingSessionURLOutput"}, 42 "errors":[ 43 {"shape":"ResourceNotFoundException"}, 44 {"shape":"InvalidArgumentException"}, 45 {"shape":"ClientLimitExceededException"}, 46 {"shape":"NotAuthorizedException"}, 47 {"shape":"UnsupportedStreamMediaTypeException"}, 48 {"shape":"NoDataRetentionException"}, 49 {"shape":"MissingCodecPrivateDataException"}, 50 {"shape":"InvalidCodecPrivateDataException"} 51 ] 52 }, 53 "GetHLSStreamingSessionURL":{ 54 "name":"GetHLSStreamingSessionURL", 55 "http":{ 56 "method":"POST", 57 "requestUri":"/getHLSStreamingSessionURL" 58 }, 59 "input":{"shape":"GetHLSStreamingSessionURLInput"}, 60 "output":{"shape":"GetHLSStreamingSessionURLOutput"}, 61 "errors":[ 62 {"shape":"ResourceNotFoundException"}, 63 {"shape":"InvalidArgumentException"}, 64 {"shape":"ClientLimitExceededException"}, 65 {"shape":"NotAuthorizedException"}, 66 {"shape":"UnsupportedStreamMediaTypeException"}, 67 {"shape":"NoDataRetentionException"}, 68 {"shape":"MissingCodecPrivateDataException"}, 69 {"shape":"InvalidCodecPrivateDataException"} 70 ] 71 }, 72 "GetMediaForFragmentList":{ 73 "name":"GetMediaForFragmentList", 74 "http":{ 75 "method":"POST", 76 "requestUri":"/getMediaForFragmentList" 77 }, 78 "input":{"shape":"GetMediaForFragmentListInput"}, 79 "output":{"shape":"GetMediaForFragmentListOutput"}, 80 "errors":[ 81 {"shape":"ResourceNotFoundException"}, 82 {"shape":"InvalidArgumentException"}, 83 {"shape":"ClientLimitExceededException"}, 84 {"shape":"NotAuthorizedException"} 85 ] 86 }, 87 "ListFragments":{ 88 "name":"ListFragments", 89 "http":{ 90 "method":"POST", 91 "requestUri":"/listFragments" 92 }, 93 "input":{"shape":"ListFragmentsInput"}, 94 "output":{"shape":"ListFragmentsOutput"}, 95 "errors":[ 96 {"shape":"ResourceNotFoundException"}, 97 {"shape":"InvalidArgumentException"}, 98 {"shape":"ClientLimitExceededException"}, 99 {"shape":"NotAuthorizedException"} 100 ] 101 } 102 }, 103 "shapes":{ 104 "ClientLimitExceededException":{ 105 "type":"structure", 106 "members":{ 107 "Message":{"shape":"ErrorMessage"} 108 }, 109 "error":{"httpStatusCode":400}, 110 "exception":true 111 }, 112 "ClipFragmentSelector":{ 113 "type":"structure", 114 "required":[ 115 "FragmentSelectorType", 116 "TimestampRange" 117 ], 118 "members":{ 119 "FragmentSelectorType":{"shape":"ClipFragmentSelectorType"}, 120 "TimestampRange":{"shape":"ClipTimestampRange"} 121 } 122 }, 123 "ClipFragmentSelectorType":{ 124 "type":"string", 125 "enum":[ 126 "PRODUCER_TIMESTAMP", 127 "SERVER_TIMESTAMP" 128 ] 129 }, 130 "ClipTimestampRange":{ 131 "type":"structure", 132 "required":[ 133 "StartTimestamp", 134 "EndTimestamp" 135 ], 136 "members":{ 137 "StartTimestamp":{"shape":"Timestamp"}, 138 "EndTimestamp":{"shape":"Timestamp"} 139 } 140 }, 141 "ContainerFormat":{ 142 "type":"string", 143 "enum":[ 144 "FRAGMENTED_MP4", 145 "MPEG_TS" 146 ] 147 }, 148 "ContentType":{ 149 "type":"string", 150 "max":128, 151 "min":1, 152 "pattern":"^[a-zA-Z0-9_\\.\\-]+$" 153 }, 154 "DASHDisplayFragmentNumber":{ 155 "type":"string", 156 "enum":[ 157 "ALWAYS", 158 "NEVER" 159 ] 160 }, 161 "DASHDisplayFragmentTimestamp":{ 162 "type":"string", 163 "enum":[ 164 "ALWAYS", 165 "NEVER" 166 ] 167 }, 168 "DASHFragmentSelector":{ 169 "type":"structure", 170 "members":{ 171 "FragmentSelectorType":{"shape":"DASHFragmentSelectorType"}, 172 "TimestampRange":{"shape":"DASHTimestampRange"} 173 } 174 }, 175 "DASHFragmentSelectorType":{ 176 "type":"string", 177 "enum":[ 178 "PRODUCER_TIMESTAMP", 179 "SERVER_TIMESTAMP" 180 ] 181 }, 182 "DASHMaxResults":{ 183 "type":"long", 184 "max":5000, 185 "min":1 186 }, 187 "DASHPlaybackMode":{ 188 "type":"string", 189 "enum":[ 190 "LIVE", 191 "LIVE_REPLAY", 192 "ON_DEMAND" 193 ] 194 }, 195 "DASHStreamingSessionURL":{"type":"string"}, 196 "DASHTimestampRange":{ 197 "type":"structure", 198 "members":{ 199 "StartTimestamp":{"shape":"Timestamp"}, 200 "EndTimestamp":{"shape":"Timestamp"} 201 } 202 }, 203 "ErrorMessage":{"type":"string"}, 204 "Expires":{ 205 "type":"integer", 206 "max":43200, 207 "min":300 208 }, 209 "Fragment":{ 210 "type":"structure", 211 "members":{ 212 "FragmentNumber":{"shape":"FragmentNumberString"}, 213 "FragmentSizeInBytes":{"shape":"Long"}, 214 "ProducerTimestamp":{"shape":"Timestamp"}, 215 "ServerTimestamp":{"shape":"Timestamp"}, 216 "FragmentLengthInMilliseconds":{"shape":"Long"} 217 } 218 }, 219 "FragmentList":{ 220 "type":"list", 221 "member":{"shape":"Fragment"} 222 }, 223 "FragmentNumberList":{ 224 "type":"list", 225 "member":{"shape":"FragmentNumberString"}, 226 "max":1000, 227 "min":1 228 }, 229 "FragmentNumberString":{ 230 "type":"string", 231 "max":128, 232 "min":1, 233 "pattern":"^[0-9]+$" 234 }, 235 "FragmentSelector":{ 236 "type":"structure", 237 "required":[ 238 "FragmentSelectorType", 239 "TimestampRange" 240 ], 241 "members":{ 242 "FragmentSelectorType":{"shape":"FragmentSelectorType"}, 243 "TimestampRange":{"shape":"TimestampRange"} 244 } 245 }, 246 "FragmentSelectorType":{ 247 "type":"string", 248 "enum":[ 249 "PRODUCER_TIMESTAMP", 250 "SERVER_TIMESTAMP" 251 ] 252 }, 253 "GetClipInput":{ 254 "type":"structure", 255 "required":["ClipFragmentSelector"], 256 "members":{ 257 "StreamName":{"shape":"StreamName"}, 258 "StreamARN":{"shape":"ResourceARN"}, 259 "ClipFragmentSelector":{"shape":"ClipFragmentSelector"} 260 } 261 }, 262 "GetClipOutput":{ 263 "type":"structure", 264 "members":{ 265 "ContentType":{ 266 "shape":"ContentType", 267 "location":"header", 268 "locationName":"Content-Type" 269 }, 270 "Payload":{"shape":"Payload"} 271 }, 272 "payload":"Payload" 273 }, 274 "GetDASHStreamingSessionURLInput":{ 275 "type":"structure", 276 "members":{ 277 "StreamName":{"shape":"StreamName"}, 278 "StreamARN":{"shape":"ResourceARN"}, 279 "PlaybackMode":{"shape":"DASHPlaybackMode"}, 280 "DisplayFragmentTimestamp":{"shape":"DASHDisplayFragmentTimestamp"}, 281 "DisplayFragmentNumber":{"shape":"DASHDisplayFragmentNumber"}, 282 "DASHFragmentSelector":{"shape":"DASHFragmentSelector"}, 283 "Expires":{"shape":"Expires"}, 284 "MaxManifestFragmentResults":{"shape":"DASHMaxResults"} 285 } 286 }, 287 "GetDASHStreamingSessionURLOutput":{ 288 "type":"structure", 289 "members":{ 290 "DASHStreamingSessionURL":{"shape":"DASHStreamingSessionURL"} 291 } 292 }, 293 "GetHLSStreamingSessionURLInput":{ 294 "type":"structure", 295 "members":{ 296 "StreamName":{"shape":"StreamName"}, 297 "StreamARN":{"shape":"ResourceARN"}, 298 "PlaybackMode":{"shape":"HLSPlaybackMode"}, 299 "HLSFragmentSelector":{"shape":"HLSFragmentSelector"}, 300 "ContainerFormat":{"shape":"ContainerFormat"}, 301 "DiscontinuityMode":{"shape":"HLSDiscontinuityMode"}, 302 "DisplayFragmentTimestamp":{"shape":"HLSDisplayFragmentTimestamp"}, 303 "Expires":{"shape":"Expires"}, 304 "MaxMediaPlaylistFragmentResults":{"shape":"HLSMaxResults"} 305 } 306 }, 307 "GetHLSStreamingSessionURLOutput":{ 308 "type":"structure", 309 "members":{ 310 "HLSStreamingSessionURL":{"shape":"HLSStreamingSessionURL"} 311 } 312 }, 313 "GetMediaForFragmentListInput":{ 314 "type":"structure", 315 "required":["Fragments"], 316 "members":{ 317 "StreamName":{"shape":"StreamName"}, 318 "StreamARN":{"shape":"ResourceARN"}, 319 "Fragments":{"shape":"FragmentNumberList"} 320 } 321 }, 322 "GetMediaForFragmentListOutput":{ 323 "type":"structure", 324 "members":{ 325 "ContentType":{ 326 "shape":"ContentType", 327 "location":"header", 328 "locationName":"Content-Type" 329 }, 330 "Payload":{"shape":"Payload"} 331 }, 332 "payload":"Payload" 333 }, 334 "HLSDiscontinuityMode":{ 335 "type":"string", 336 "enum":[ 337 "ALWAYS", 338 "NEVER", 339 "ON_DISCONTINUITY" 340 ] 341 }, 342 "HLSDisplayFragmentTimestamp":{ 343 "type":"string", 344 "enum":[ 345 "ALWAYS", 346 "NEVER" 347 ] 348 }, 349 "HLSFragmentSelector":{ 350 "type":"structure", 351 "members":{ 352 "FragmentSelectorType":{"shape":"HLSFragmentSelectorType"}, 353 "TimestampRange":{"shape":"HLSTimestampRange"} 354 } 355 }, 356 "HLSFragmentSelectorType":{ 357 "type":"string", 358 "enum":[ 359 "PRODUCER_TIMESTAMP", 360 "SERVER_TIMESTAMP" 361 ] 362 }, 363 "HLSMaxResults":{ 364 "type":"long", 365 "max":5000, 366 "min":1 367 }, 368 "HLSPlaybackMode":{ 369 "type":"string", 370 "enum":[ 371 "LIVE", 372 "LIVE_REPLAY", 373 "ON_DEMAND" 374 ] 375 }, 376 "HLSStreamingSessionURL":{"type":"string"}, 377 "HLSTimestampRange":{ 378 "type":"structure", 379 "members":{ 380 "StartTimestamp":{"shape":"Timestamp"}, 381 "EndTimestamp":{"shape":"Timestamp"} 382 } 383 }, 384 "InvalidArgumentException":{ 385 "type":"structure", 386 "members":{ 387 "Message":{"shape":"ErrorMessage"} 388 }, 389 "error":{"httpStatusCode":400}, 390 "exception":true 391 }, 392 "InvalidCodecPrivateDataException":{ 393 "type":"structure", 394 "members":{ 395 "Message":{"shape":"ErrorMessage"} 396 }, 397 "error":{"httpStatusCode":400}, 398 "exception":true 399 }, 400 "InvalidMediaFrameException":{ 401 "type":"structure", 402 "members":{ 403 "Message":{"shape":"ErrorMessage"} 404 }, 405 "error":{"httpStatusCode":400}, 406 "exception":true 407 }, 408 "ListFragmentsInput":{ 409 "type":"structure", 410 "members":{ 411 "StreamName":{"shape":"StreamName"}, 412 "StreamARN":{"shape":"ResourceARN"}, 413 "MaxResults":{"shape":"ListFragmentsMaxResults"}, 414 "NextToken":{"shape":"NextToken"}, 415 "FragmentSelector":{"shape":"FragmentSelector"} 416 } 417 }, 418 "ListFragmentsMaxResults":{ 419 "type":"long", 420 "max":1000, 421 "min":1 422 }, 423 "ListFragmentsOutput":{ 424 "type":"structure", 425 "members":{ 426 "Fragments":{"shape":"FragmentList"}, 427 "NextToken":{"shape":"NextToken"} 428 } 429 }, 430 "Long":{"type":"long"}, 431 "MissingCodecPrivateDataException":{ 432 "type":"structure", 433 "members":{ 434 "Message":{"shape":"ErrorMessage"} 435 }, 436 "error":{"httpStatusCode":400}, 437 "exception":true 438 }, 439 "NextToken":{ 440 "type":"string", 441 "max":4096, 442 "min":1, 443 "pattern":"[a-zA-Z0-9+/]+={0,2}" 444 }, 445 "NoDataRetentionException":{ 446 "type":"structure", 447 "members":{ 448 "Message":{"shape":"ErrorMessage"} 449 }, 450 "error":{"httpStatusCode":400}, 451 "exception":true 452 }, 453 "NotAuthorizedException":{ 454 "type":"structure", 455 "members":{ 456 "Message":{"shape":"ErrorMessage"} 457 }, 458 "error":{"httpStatusCode":401}, 459 "exception":true 460 }, 461 "Payload":{ 462 "type":"blob", 463 "streaming":true 464 }, 465 "ResourceARN":{ 466 "type":"string", 467 "max":1024, 468 "min":1, 469 "pattern":"arn:[a-z\\d-]+:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+" 470 }, 471 "ResourceNotFoundException":{ 472 "type":"structure", 473 "members":{ 474 "Message":{"shape":"ErrorMessage"} 475 }, 476 "error":{"httpStatusCode":404}, 477 "exception":true 478 }, 479 "StreamName":{ 480 "type":"string", 481 "max":256, 482 "min":1, 483 "pattern":"[a-zA-Z0-9_.-]+" 484 }, 485 "Timestamp":{"type":"timestamp"}, 486 "TimestampRange":{ 487 "type":"structure", 488 "required":[ 489 "StartTimestamp", 490 "EndTimestamp" 491 ], 492 "members":{ 493 "StartTimestamp":{"shape":"Timestamp"}, 494 "EndTimestamp":{"shape":"Timestamp"} 495 } 496 }, 497 "UnsupportedStreamMediaTypeException":{ 498 "type":"structure", 499 "members":{ 500 "Message":{"shape":"ErrorMessage"} 501 }, 502 "error":{"httpStatusCode":400}, 503 "exception":true 504 } 505 } 506 }