| 1 | { |
| 2 | "version":"2.0", |
| 3 | "metadata":{ |
| 4 | "apiVersion":"2020-07-14", |
| 5 | "endpointPrefix":"ivschat", |
| 6 | "jsonVersion":"1.1", |
| 7 | "protocol":"rest-json", |
| 8 | "serviceAbbreviation":"ivschat", |
| 9 | "serviceFullName":"Amazon Interactive Video Service Chat", |
| 10 | "serviceId":"ivschat", |
| 11 | "signatureVersion":"v4", |
| 12 | "signingName":"ivschat", |
| 13 | "uid":"ivschat-2020-07-14" |
| 14 | }, |
| 15 | "operations":{ |
| 16 | "CreateChatToken":{ |
| 17 | "name":"CreateChatToken", |
| 18 | "http":{ |
| 19 | "method":"POST", |
| 20 | "requestUri":"/CreateChatToken", |
| 21 | "responseCode":200 |
| 22 | }, |
| 23 | "input":{"shape":"CreateChatTokenRequest"}, |
| 24 | "output":{"shape":"CreateChatTokenResponse"}, |
| 25 | "errors":[ |
| 26 | {"shape":"AccessDeniedException"}, |
| 27 | {"shape":"ResourceNotFoundException"}, |
| 28 | {"shape":"PendingVerification"}, |
| 29 | {"shape":"ValidationException"} |
| 30 | ] |
| 31 | }, |
| 32 | "CreateLoggingConfiguration":{ |
| 33 | "name":"CreateLoggingConfiguration", |
| 34 | "http":{ |
| 35 | "method":"POST", |
| 36 | "requestUri":"/CreateLoggingConfiguration", |
| 37 | "responseCode":200 |
| 38 | }, |
| 39 | "input":{"shape":"CreateLoggingConfigurationRequest"}, |
| 40 | "output":{"shape":"CreateLoggingConfigurationResponse"}, |
| 41 | "errors":[ |
| 42 | {"shape":"ConflictException"}, |
| 43 | {"shape":"AccessDeniedException"}, |
| 44 | {"shape":"ResourceNotFoundException"}, |
| 45 | {"shape":"ServiceQuotaExceededException"}, |
| 46 | {"shape":"PendingVerification"}, |
| 47 | {"shape":"ValidationException"} |
| 48 | ] |
| 49 | }, |
| 50 | "CreateRoom":{ |
| 51 | "name":"CreateRoom", |
| 52 | "http":{ |
| 53 | "method":"POST", |
| 54 | "requestUri":"/CreateRoom", |
| 55 | "responseCode":200 |
| 56 | }, |
| 57 | "input":{"shape":"CreateRoomRequest"}, |
| 58 | "output":{"shape":"CreateRoomResponse"}, |
| 59 | "errors":[ |
| 60 | {"shape":"ConflictException"}, |
| 61 | {"shape":"AccessDeniedException"}, |
| 62 | {"shape":"ResourceNotFoundException"}, |
| 63 | {"shape":"ServiceQuotaExceededException"}, |
| 64 | {"shape":"PendingVerification"}, |
| 65 | {"shape":"ValidationException"} |
| 66 | ] |
| 67 | }, |
| 68 | "DeleteLoggingConfiguration":{ |
| 69 | "name":"DeleteLoggingConfiguration", |
| 70 | "http":{ |
| 71 | "method":"POST", |
| 72 | "requestUri":"/DeleteLoggingConfiguration", |
| 73 | "responseCode":204 |
| 74 | }, |
| 75 | "input":{"shape":"DeleteLoggingConfigurationRequest"}, |
| 76 | "errors":[ |
| 77 | {"shape":"ConflictException"}, |
| 78 | {"shape":"AccessDeniedException"}, |
| 79 | {"shape":"ResourceNotFoundException"}, |
| 80 | {"shape":"PendingVerification"}, |
| 81 | {"shape":"ValidationException"} |
| 82 | ] |
| 83 | }, |
| 84 | "DeleteMessage":{ |
| 85 | "name":"DeleteMessage", |
| 86 | "http":{ |
| 87 | "method":"POST", |
| 88 | "requestUri":"/DeleteMessage", |
| 89 | "responseCode":200 |
| 90 | }, |
| 91 | "input":{"shape":"DeleteMessageRequest"}, |
| 92 | "output":{"shape":"DeleteMessageResponse"}, |
| 93 | "errors":[ |
| 94 | {"shape":"ThrottlingException"}, |
| 95 | {"shape":"AccessDeniedException"}, |
| 96 | {"shape":"ResourceNotFoundException"}, |
| 97 | {"shape":"PendingVerification"}, |
| 98 | {"shape":"ValidationException"} |
| 99 | ] |
| 100 | }, |
| 101 | "DeleteRoom":{ |
| 102 | "name":"DeleteRoom", |
| 103 | "http":{ |
| 104 | "method":"POST", |
| 105 | "requestUri":"/DeleteRoom", |
| 106 | "responseCode":204 |
| 107 | }, |
| 108 | "input":{"shape":"DeleteRoomRequest"}, |
| 109 | "errors":[ |
| 110 | {"shape":"AccessDeniedException"}, |
| 111 | {"shape":"ResourceNotFoundException"}, |
| 112 | {"shape":"PendingVerification"}, |
| 113 | {"shape":"ValidationException"} |
| 114 | ] |
| 115 | }, |
| 116 | "DisconnectUser":{ |
| 117 | "name":"DisconnectUser", |
| 118 | "http":{ |
| 119 | "method":"POST", |
| 120 | "requestUri":"/DisconnectUser", |
| 121 | "responseCode":200 |
| 122 | }, |
| 123 | "input":{"shape":"DisconnectUserRequest"}, |
| 124 | "output":{"shape":"DisconnectUserResponse"}, |
| 125 | "errors":[ |
| 126 | {"shape":"ThrottlingException"}, |
| 127 | {"shape":"AccessDeniedException"}, |
| 128 | {"shape":"ResourceNotFoundException"}, |
| 129 | {"shape":"PendingVerification"}, |
| 130 | {"shape":"ValidationException"} |
| 131 | ] |
| 132 | }, |
| 133 | "GetLoggingConfiguration":{ |
| 134 | "name":"GetLoggingConfiguration", |
| 135 | "http":{ |
| 136 | "method":"POST", |
| 137 | "requestUri":"/GetLoggingConfiguration", |
| 138 | "responseCode":200 |
| 139 | }, |
| 140 | "input":{"shape":"GetLoggingConfigurationRequest"}, |
| 141 | "output":{"shape":"GetLoggingConfigurationResponse"}, |
| 142 | "errors":[ |
| 143 | {"shape":"AccessDeniedException"}, |
| 144 | {"shape":"ResourceNotFoundException"}, |
| 145 | {"shape":"ValidationException"} |
| 146 | ] |
| 147 | }, |
| 148 | "GetRoom":{ |
| 149 | "name":"GetRoom", |
| 150 | "http":{ |
| 151 | "method":"POST", |
| 152 | "requestUri":"/GetRoom", |
| 153 | "responseCode":200 |
| 154 | }, |
| 155 | "input":{"shape":"GetRoomRequest"}, |
| 156 | "output":{"shape":"GetRoomResponse"}, |
| 157 | "errors":[ |
| 158 | {"shape":"AccessDeniedException"}, |
| 159 | {"shape":"ResourceNotFoundException"}, |
| 160 | {"shape":"ValidationException"} |
| 161 | ] |
| 162 | }, |
| 163 | "ListLoggingConfigurations":{ |
| 164 | "name":"ListLoggingConfigurations", |
| 165 | "http":{ |
| 166 | "method":"POST", |
| 167 | "requestUri":"/ListLoggingConfigurations", |
| 168 | "responseCode":200 |
| 169 | }, |
| 170 | "input":{"shape":"ListLoggingConfigurationsRequest"}, |
| 171 | "output":{"shape":"ListLoggingConfigurationsResponse"}, |
| 172 | "errors":[ |
| 173 | {"shape":"AccessDeniedException"}, |
| 174 | {"shape":"ValidationException"} |
| 175 | ] |
| 176 | }, |
| 177 | "ListRooms":{ |
| 178 | "name":"ListRooms", |
| 179 | "http":{ |
| 180 | "method":"POST", |
| 181 | "requestUri":"/ListRooms", |
| 182 | "responseCode":200 |
| 183 | }, |
| 184 | "input":{"shape":"ListRoomsRequest"}, |
| 185 | "output":{"shape":"ListRoomsResponse"}, |
| 186 | "errors":[ |
| 187 | {"shape":"AccessDeniedException"}, |
| 188 | {"shape":"ResourceNotFoundException"}, |
| 189 | {"shape":"ValidationException"} |
| 190 | ] |
| 191 | }, |
| 192 | "ListTagsForResource":{ |
| 193 | "name":"ListTagsForResource", |
| 194 | "http":{ |
| 195 | "method":"GET", |
| 196 | "requestUri":"/tags/{resourceArn}", |
| 197 | "responseCode":200 |
| 198 | }, |
| 199 | "input":{"shape":"ListTagsForResourceRequest"}, |
| 200 | "output":{"shape":"ListTagsForResourceResponse"}, |
| 201 | "errors":[ |
| 202 | {"shape":"ResourceNotFoundException"}, |
| 203 | {"shape":"InternalServerException"}, |
| 204 | {"shape":"ValidationException"} |
| 205 | ] |
| 206 | }, |
| 207 | "SendEvent":{ |
| 208 | "name":"SendEvent", |
| 209 | "http":{ |
| 210 | "method":"POST", |
| 211 | "requestUri":"/SendEvent", |
| 212 | "responseCode":200 |
| 213 | }, |
| 214 | "input":{"shape":"SendEventRequest"}, |
| 215 | "output":{"shape":"SendEventResponse"}, |
| 216 | "errors":[ |
| 217 | {"shape":"ThrottlingException"}, |
| 218 | {"shape":"AccessDeniedException"}, |
| 219 | {"shape":"ResourceNotFoundException"}, |
| 220 | {"shape":"PendingVerification"}, |
| 221 | {"shape":"ValidationException"} |
| 222 | ] |
| 223 | }, |
| 224 | "TagResource":{ |
| 225 | "name":"TagResource", |
| 226 | "http":{ |
| 227 | "method":"POST", |
| 228 | "requestUri":"/tags/{resourceArn}", |
| 229 | "responseCode":200 |
| 230 | }, |
| 231 | "input":{"shape":"TagResourceRequest"}, |
| 232 | "output":{"shape":"TagResourceResponse"}, |
| 233 | "errors":[ |
| 234 | {"shape":"ResourceNotFoundException"}, |
| 235 | {"shape":"InternalServerException"}, |
| 236 | {"shape":"ValidationException"} |
| 237 | ] |
| 238 | }, |
| 239 | "UntagResource":{ |
| 240 | "name":"UntagResource", |
| 241 | "http":{ |
| 242 | "method":"DELETE", |
| 243 | "requestUri":"/tags/{resourceArn}", |
| 244 | "responseCode":200 |
| 245 | }, |
| 246 | "input":{"shape":"UntagResourceRequest"}, |
| 247 | "output":{"shape":"UntagResourceResponse"}, |
| 248 | "errors":[ |
| 249 | {"shape":"ResourceNotFoundException"}, |
| 250 | {"shape":"InternalServerException"}, |
| 251 | {"shape":"ValidationException"} |
| 252 | ], |
| 253 | "idempotent":true |
| 254 | }, |
| 255 | "UpdateLoggingConfiguration":{ |
| 256 | "name":"UpdateLoggingConfiguration", |
| 257 | "http":{ |
| 258 | "method":"POST", |
| 259 | "requestUri":"/UpdateLoggingConfiguration", |
| 260 | "responseCode":200 |
| 261 | }, |
| 262 | "input":{"shape":"UpdateLoggingConfigurationRequest"}, |
| 263 | "output":{"shape":"UpdateLoggingConfigurationResponse"}, |
| 264 | "errors":[ |
| 265 | {"shape":"ConflictException"}, |
| 266 | {"shape":"AccessDeniedException"}, |
| 267 | {"shape":"ResourceNotFoundException"}, |
| 268 | {"shape":"PendingVerification"}, |
| 269 | {"shape":"ValidationException"} |
| 270 | ] |
| 271 | }, |
| 272 | "UpdateRoom":{ |
| 273 | "name":"UpdateRoom", |
| 274 | "http":{ |
| 275 | "method":"POST", |
| 276 | "requestUri":"/UpdateRoom", |
| 277 | "responseCode":200 |
| 278 | }, |
| 279 | "input":{"shape":"UpdateRoomRequest"}, |
| 280 | "output":{"shape":"UpdateRoomResponse"}, |
| 281 | "errors":[ |
| 282 | {"shape":"AccessDeniedException"}, |
| 283 | {"shape":"ResourceNotFoundException"}, |
| 284 | {"shape":"PendingVerification"}, |
| 285 | {"shape":"ValidationException"} |
| 286 | ] |
| 287 | } |
| 288 | }, |
| 289 | "shapes":{ |
| 290 | "AccessDeniedException":{ |
| 291 | "type":"structure", |
| 292 | "required":["message"], |
| 293 | "members":{ |
| 294 | "message":{"shape":"ErrorMessage"} |
| 295 | }, |
| 296 | "error":{ |
| 297 | "httpStatusCode":403, |
| 298 | "senderFault":true |
| 299 | }, |
| 300 | "exception":true |
| 301 | }, |
| 302 | "BucketName":{ |
| 303 | "type":"string", |
| 304 | "max":63, |
| 305 | "min":3, |
| 306 | "pattern":"^[a-z0-9-.]+$" |
| 307 | }, |
| 308 | "ChatToken":{ |
| 309 | "type":"string", |
| 310 | "sensitive":true |
| 311 | }, |
| 312 | "ChatTokenAttributes":{ |
| 313 | "type":"map", |
| 314 | "key":{"shape":"String"}, |
| 315 | "value":{"shape":"String"}, |
| 316 | "sensitive":true |
| 317 | }, |
| 318 | "ChatTokenCapabilities":{ |
| 319 | "type":"list", |
| 320 | "member":{"shape":"ChatTokenCapability"} |
| 321 | }, |
| 322 | "ChatTokenCapability":{ |
| 323 | "type":"string", |
| 324 | "enum":[ |
| 325 | "SEND_MESSAGE", |
| 326 | "DISCONNECT_USER", |
| 327 | "DELETE_MESSAGE" |
| 328 | ] |
| 329 | }, |
| 330 | "CloudWatchLogsDestinationConfiguration":{ |
| 331 | "type":"structure", |
| 332 | "required":["logGroupName"], |
| 333 | "members":{ |
| 334 | "logGroupName":{"shape":"LogGroupName"} |
| 335 | } |
| 336 | }, |
| 337 | "ConflictException":{ |
| 338 | "type":"structure", |
| 339 | "required":[ |
| 340 | "message", |
| 341 | "resourceId", |
| 342 | "resourceType" |
| 343 | ], |
| 344 | "members":{ |
| 345 | "message":{"shape":"ErrorMessage"}, |
| 346 | "resourceId":{"shape":"ResourceId"}, |
| 347 | "resourceType":{"shape":"ResourceType"} |
| 348 | }, |
| 349 | "error":{ |
| 350 | "httpStatusCode":409, |
| 351 | "senderFault":true |
| 352 | }, |
| 353 | "exception":true |
| 354 | }, |
| 355 | "CreateChatTokenRequest":{ |
| 356 | "type":"structure", |
| 357 | "required":[ |
| 358 | "roomIdentifier", |
| 359 | "userId" |
| 360 | ], |
| 361 | "members":{ |
| 362 | "attributes":{"shape":"ChatTokenAttributes"}, |
| 363 | "capabilities":{"shape":"ChatTokenCapabilities"}, |
| 364 | "roomIdentifier":{"shape":"RoomIdentifier"}, |
| 365 | "sessionDurationInMinutes":{"shape":"SessionDurationInMinutes"}, |
| 366 | "userId":{"shape":"UserID"} |
| 367 | } |
| 368 | }, |
| 369 | "CreateChatTokenResponse":{ |
| 370 | "type":"structure", |
| 371 | "members":{ |
| 372 | "sessionExpirationTime":{"shape":"Time"}, |
| 373 | "token":{"shape":"ChatToken"}, |
| 374 | "tokenExpirationTime":{"shape":"Time"} |
| 375 | } |
| 376 | }, |
| 377 | "CreateLoggingConfigurationRequest":{ |
| 378 | "type":"structure", |
| 379 | "required":["destinationConfiguration"], |
| 380 | "members":{ |
| 381 | "destinationConfiguration":{"shape":"DestinationConfiguration"}, |
| 382 | "name":{"shape":"LoggingConfigurationName"}, |
| 383 | "tags":{"shape":"Tags"} |
| 384 | } |
| 385 | }, |
| 386 | "CreateLoggingConfigurationResponse":{ |
| 387 | "type":"structure", |
| 388 | "members":{ |
| 389 | "arn":{"shape":"LoggingConfigurationArn"}, |
| 390 | "createTime":{"shape":"Time"}, |
| 391 | "destinationConfiguration":{"shape":"DestinationConfiguration"}, |
| 392 | "id":{"shape":"LoggingConfigurationID"}, |
| 393 | "name":{"shape":"LoggingConfigurationName"}, |
| 394 | "state":{"shape":"CreateLoggingConfigurationState"}, |
| 395 | "tags":{"shape":"Tags"}, |
| 396 | "updateTime":{"shape":"Time"} |
| 397 | } |
| 398 | }, |
| 399 | "CreateLoggingConfigurationState":{ |
| 400 | "type":"string", |
| 401 | "enum":["ACTIVE"] |
| 402 | }, |
| 403 | "CreateRoomRequest":{ |
| 404 | "type":"structure", |
| 405 | "members":{ |
| 406 | "loggingConfigurationIdentifiers":{"shape":"LoggingConfigurationIdentifierList"}, |
| 407 | "maximumMessageLength":{"shape":"RoomMaxMessageLength"}, |
| 408 | "maximumMessageRatePerSecond":{"shape":"RoomMaxMessageRatePerSecond"}, |
| 409 | "messageReviewHandler":{"shape":"MessageReviewHandler"}, |
| 410 | "name":{"shape":"RoomName"}, |
| 411 | "tags":{"shape":"Tags"} |
| 412 | } |
| 413 | }, |
| 414 | "CreateRoomResponse":{ |
| 415 | "type":"structure", |
| 416 | "members":{ |
| 417 | "arn":{"shape":"RoomArn"}, |
| 418 | "createTime":{"shape":"Time"}, |
| 419 | "id":{"shape":"RoomID"}, |
| 420 | "loggingConfigurationIdentifiers":{"shape":"LoggingConfigurationIdentifierList"}, |
| 421 | "maximumMessageLength":{"shape":"RoomMaxMessageLength"}, |
| 422 | "maximumMessageRatePerSecond":{"shape":"RoomMaxMessageRatePerSecond"}, |
| 423 | "messageReviewHandler":{"shape":"MessageReviewHandler"}, |
| 424 | "name":{"shape":"RoomName"}, |
| 425 | "tags":{"shape":"Tags"}, |
| 426 | "updateTime":{"shape":"Time"} |
| 427 | } |
| 428 | }, |
| 429 | "DeleteLoggingConfigurationRequest":{ |
| 430 | "type":"structure", |
| 431 | "required":["identifier"], |
| 432 | "members":{ |
| 433 | "identifier":{"shape":"LoggingConfigurationIdentifier"} |
| 434 | } |
| 435 | }, |
| 436 | "DeleteMessageRequest":{ |
| 437 | "type":"structure", |
| 438 | "required":[ |
| 439 | "id", |
| 440 | "roomIdentifier" |
| 441 | ], |
| 442 | "members":{ |
| 443 | "id":{"shape":"MessageID"}, |
| 444 | "reason":{"shape":"Reason"}, |
| 445 | "roomIdentifier":{"shape":"RoomIdentifier"} |
| 446 | } |
| 447 | }, |
| 448 | "DeleteMessageResponse":{ |
| 449 | "type":"structure", |
| 450 | "members":{ |
| 451 | "id":{"shape":"ID"} |
| 452 | } |
| 453 | }, |
| 454 | "DeleteRoomRequest":{ |
| 455 | "type":"structure", |
| 456 | "required":["identifier"], |
| 457 | "members":{ |
| 458 | "identifier":{"shape":"RoomIdentifier"} |
| 459 | } |
| 460 | }, |
| 461 | "DeliveryStreamName":{ |
| 462 | "type":"string", |
| 463 | "max":64, |
| 464 | "min":1, |
| 465 | "pattern":"^[a-zA-Z0-9_.-]+$" |
| 466 | }, |
| 467 | "DestinationConfiguration":{ |
| 468 | "type":"structure", |
| 469 | "members":{ |
| 470 | "cloudWatchLogs":{"shape":"CloudWatchLogsDestinationConfiguration"}, |
| 471 | "firehose":{"shape":"FirehoseDestinationConfiguration"}, |
| 472 | "s3":{"shape":"S3DestinationConfiguration"} |
| 473 | }, |
| 474 | "union":true |
| 475 | }, |
| 476 | "DisconnectUserRequest":{ |
| 477 | "type":"structure", |
| 478 | "required":[ |
| 479 | "roomIdentifier", |
| 480 | "userId" |
| 481 | ], |
| 482 | "members":{ |
| 483 | "reason":{"shape":"Reason"}, |
| 484 | "roomIdentifier":{"shape":"RoomIdentifier"}, |
| 485 | "userId":{"shape":"UserID"} |
| 486 | } |
| 487 | }, |
| 488 | "DisconnectUserResponse":{ |
| 489 | "type":"structure", |
| 490 | "members":{ |
| 491 | } |
| 492 | }, |
| 493 | "ErrorMessage":{"type":"string"}, |
| 494 | "EventAttributes":{ |
| 495 | "type":"map", |
| 496 | "key":{"shape":"String"}, |
| 497 | "value":{"shape":"String"} |
| 498 | }, |
| 499 | "EventName":{ |
| 500 | "type":"string", |
| 501 | "max":100, |
| 502 | "min":1 |
| 503 | }, |
| 504 | "FallbackResult":{ |
| 505 | "type":"string", |
| 506 | "enum":[ |
| 507 | "ALLOW", |
| 508 | "DENY" |
| 509 | ] |
| 510 | }, |
| 511 | "FieldName":{"type":"string"}, |
| 512 | "FirehoseDestinationConfiguration":{ |
| 513 | "type":"structure", |
| 514 | "required":["deliveryStreamName"], |
| 515 | "members":{ |
| 516 | "deliveryStreamName":{"shape":"DeliveryStreamName"} |
| 517 | } |
| 518 | }, |
| 519 | "GetLoggingConfigurationRequest":{ |
| 520 | "type":"structure", |
| 521 | "required":["identifier"], |
| 522 | "members":{ |
| 523 | "identifier":{"shape":"LoggingConfigurationIdentifier"} |
| 524 | } |
| 525 | }, |
| 526 | "GetLoggingConfigurationResponse":{ |
| 527 | "type":"structure", |
| 528 | "members":{ |
| 529 | "arn":{"shape":"LoggingConfigurationArn"}, |
| 530 | "createTime":{"shape":"Time"}, |
| 531 | "destinationConfiguration":{"shape":"DestinationConfiguration"}, |
| 532 | "id":{"shape":"LoggingConfigurationID"}, |
| 533 | "name":{"shape":"LoggingConfigurationName"}, |
| 534 | "state":{"shape":"LoggingConfigurationState"}, |
| 535 | "tags":{"shape":"Tags"}, |
| 536 | "updateTime":{"shape":"Time"} |
| 537 | } |
| 538 | }, |
| 539 | "GetRoomRequest":{ |
| 540 | "type":"structure", |
| 541 | "required":["identifier"], |
| 542 | "members":{ |
| 543 | "identifier":{"shape":"RoomIdentifier"} |
| 544 | } |
| 545 | }, |
| 546 | "GetRoomResponse":{ |
| 547 | "type":"structure", |
| 548 | "members":{ |
| 549 | "arn":{"shape":"RoomArn"}, |
| 550 | "createTime":{"shape":"Time"}, |
| 551 | "id":{"shape":"RoomID"}, |
| 552 | "loggingConfigurationIdentifiers":{"shape":"LoggingConfigurationIdentifierList"}, |
| 553 | "maximumMessageLength":{"shape":"RoomMaxMessageLength"}, |
| 554 | "maximumMessageRatePerSecond":{"shape":"RoomMaxMessageRatePerSecond"}, |
| 555 | "messageReviewHandler":{"shape":"MessageReviewHandler"}, |
| 556 | "name":{"shape":"RoomName"}, |
| 557 | "tags":{"shape":"Tags"}, |
| 558 | "updateTime":{"shape":"Time"} |
| 559 | } |
| 560 | }, |
| 561 | "ID":{ |
| 562 | "type":"string", |
| 563 | "max":12, |
| 564 | "min":12, |
| 565 | "pattern":"^[a-zA-Z0-9]+$" |
| 566 | }, |
| 567 | "InternalServerException":{ |
| 568 | "type":"structure", |
| 569 | "required":["message"], |
| 570 | "members":{ |
| 571 | "message":{"shape":"ErrorMessage"} |
| 572 | }, |
| 573 | "error":{"httpStatusCode":500}, |
| 574 | "exception":true, |
| 575 | "fault":true |
| 576 | }, |
| 577 | "LambdaArn":{ |
| 578 | "type":"string", |
| 579 | "max":170, |
| 580 | "min":0, |
| 581 | "pattern":"^$|^arn:aws:lambda:[a-z0-9-]+:[0-9]{12}:function:.+" |
| 582 | }, |
| 583 | "Limit":{"type":"integer"}, |
| 584 | "ListLoggingConfigurationsRequest":{ |
| 585 | "type":"structure", |
| 586 | "members":{ |
| 587 | "maxResults":{"shape":"MaxLoggingConfigurationResults"}, |
| 588 | "nextToken":{"shape":"PaginationToken"} |
| 589 | } |
| 590 | }, |
| 591 | "ListLoggingConfigurationsResponse":{ |
| 592 | "type":"structure", |
| 593 | "required":["loggingConfigurations"], |
| 594 | "members":{ |
| 595 | "loggingConfigurations":{"shape":"LoggingConfigurationList"}, |
| 596 | "nextToken":{"shape":"PaginationToken"} |
| 597 | } |
| 598 | }, |
| 599 | "ListRoomsRequest":{ |
| 600 | "type":"structure", |
| 601 | "members":{ |
| 602 | "loggingConfigurationIdentifier":{"shape":"LoggingConfigurationIdentifier"}, |
| 603 | "maxResults":{"shape":"MaxRoomResults"}, |
| 604 | "messageReviewHandlerUri":{"shape":"LambdaArn"}, |
| 605 | "name":{"shape":"RoomName"}, |
| 606 | "nextToken":{"shape":"PaginationToken"} |
| 607 | } |
| 608 | }, |
| 609 | "ListRoomsResponse":{ |
| 610 | "type":"structure", |
| 611 | "required":["rooms"], |
| 612 | "members":{ |
| 613 | "nextToken":{"shape":"PaginationToken"}, |
| 614 | "rooms":{"shape":"RoomList"} |
| 615 | } |
| 616 | }, |
| 617 | "ListTagsForResourceRequest":{ |
| 618 | "type":"structure", |
| 619 | "required":["resourceArn"], |
| 620 | "members":{ |
| 621 | "resourceArn":{ |
| 622 | "shape":"ResourceArn", |
| 623 | "location":"uri", |
| 624 | "locationName":"resourceArn" |
| 625 | } |
| 626 | } |
| 627 | }, |
| 628 | "ListTagsForResourceResponse":{ |
| 629 | "type":"structure", |
| 630 | "required":["tags"], |
| 631 | "members":{ |
| 632 | "tags":{"shape":"Tags"} |
| 633 | } |
| 634 | }, |
| 635 | "LogGroupName":{ |
| 636 | "type":"string", |
| 637 | "max":512, |
| 638 | "min":1, |
| 639 | "pattern":"^[\\.\\-_/#A-Za-z0-9]+$" |
| 640 | }, |
| 641 | "LoggingConfigurationArn":{ |
| 642 | "type":"string", |
| 643 | "max":128, |
| 644 | "min":1, |
| 645 | "pattern":"^arn:aws:ivschat:[a-z0-9-]+:[0-9]+:logging-configuration/[a-zA-Z0-9-]+$" |
| 646 | }, |
| 647 | "LoggingConfigurationID":{ |
| 648 | "type":"string", |
| 649 | "max":12, |
| 650 | "min":12, |
| 651 | "pattern":"^[a-zA-Z0-9]+$" |
| 652 | }, |
| 653 | "LoggingConfigurationIdentifier":{ |
| 654 | "type":"string", |
| 655 | "max":128, |
| 656 | "min":1, |
| 657 | "pattern":"^arn:aws:ivschat:[a-z0-9-]+:[0-9]+:logging-configuration/[a-zA-Z0-9-]+$" |
| 658 | }, |
| 659 | "LoggingConfigurationIdentifierList":{ |
| 660 | "type":"list", |
| 661 | "member":{"shape":"LoggingConfigurationIdentifier"}, |
| 662 | "max":3, |
| 663 | "min":0 |
| 664 | }, |
| 665 | "LoggingConfigurationList":{ |
| 666 | "type":"list", |
| 667 | "member":{"shape":"LoggingConfigurationSummary"} |
| 668 | }, |
| 669 | "LoggingConfigurationName":{ |
| 670 | "type":"string", |
| 671 | "max":128, |
| 672 | "min":0, |
| 673 | "pattern":"^[a-zA-Z0-9-_]*$" |
| 674 | }, |
| 675 | "LoggingConfigurationState":{ |
| 676 | "type":"string", |
| 677 | "enum":[ |
| 678 | "CREATING", |
| 679 | "CREATE_FAILED", |
| 680 | "DELETING", |
| 681 | "DELETE_FAILED", |
| 682 | "UPDATING", |
| 683 | "UPDATE_FAILED", |
| 684 | "ACTIVE" |
| 685 | ] |
| 686 | }, |
| 687 | "LoggingConfigurationSummary":{ |
| 688 | "type":"structure", |
| 689 | "members":{ |
| 690 | "arn":{"shape":"LoggingConfigurationArn"}, |
| 691 | "createTime":{"shape":"Time"}, |
| 692 | "destinationConfiguration":{"shape":"DestinationConfiguration"}, |
| 693 | "id":{"shape":"LoggingConfigurationID"}, |
| 694 | "name":{"shape":"LoggingConfigurationName"}, |
| 695 | "state":{"shape":"LoggingConfigurationState"}, |
| 696 | "tags":{"shape":"Tags"}, |
| 697 | "updateTime":{"shape":"Time"} |
| 698 | } |
| 699 | }, |
| 700 | "MaxLoggingConfigurationResults":{ |
| 701 | "type":"integer", |
| 702 | "box":true, |
| 703 | "max":50, |
| 704 | "min":1 |
| 705 | }, |
| 706 | "MaxRoomResults":{ |
| 707 | "type":"integer", |
| 708 | "box":true, |
| 709 | "max":50, |
| 710 | "min":1 |
| 711 | }, |
| 712 | "MessageID":{ |
| 713 | "type":"string", |
| 714 | "max":12, |
| 715 | "min":12, |
| 716 | "pattern":"^[a-zA-Z0-9]+$" |
| 717 | }, |
| 718 | "MessageReviewHandler":{ |
| 719 | "type":"structure", |
| 720 | "members":{ |
| 721 | "fallbackResult":{"shape":"FallbackResult"}, |
| 722 | "uri":{"shape":"LambdaArn"} |
| 723 | } |
| 724 | }, |
| 725 | "PaginationToken":{ |
| 726 | "type":"string", |
| 727 | "max":1024, |
| 728 | "min":0 |
| 729 | }, |
| 730 | "PendingVerification":{ |
| 731 | "type":"structure", |
| 732 | "required":["message"], |
| 733 | "members":{ |
| 734 | "message":{"shape":"ErrorMessage"} |
| 735 | }, |
| 736 | "error":{ |
| 737 | "httpStatusCode":403, |
| 738 | "senderFault":true |
| 739 | }, |
| 740 | "exception":true |
| 741 | }, |
| 742 | "Reason":{ |
| 743 | "type":"string", |
| 744 | "max":256, |
| 745 | "min":1 |
| 746 | }, |
| 747 | "ResourceArn":{ |
| 748 | "type":"string", |
| 749 | "max":128, |
| 750 | "min":1, |
| 751 | "pattern":"^arn:aws:ivschat:[a-z0-9-]+:[0-9]+:[a-z-]/[a-zA-Z0-9-]+$" |
| 752 | }, |
| 753 | "ResourceId":{ |
| 754 | "type":"string", |
| 755 | "pattern":"^[a-zA-Z0-9]+$" |
| 756 | }, |
| 757 | "ResourceNotFoundException":{ |
| 758 | "type":"structure", |
| 759 | "required":[ |
| 760 | "message", |
| 761 | "resourceId", |
| 762 | "resourceType" |
| 763 | ], |
| 764 | "members":{ |
| 765 | "message":{"shape":"ErrorMessage"}, |
| 766 | "resourceId":{"shape":"ResourceId"}, |
| 767 | "resourceType":{"shape":"ResourceType"} |
| 768 | }, |
| 769 | "error":{ |
| 770 | "httpStatusCode":404, |
| 771 | "senderFault":true |
| 772 | }, |
| 773 | "exception":true |
| 774 | }, |
| 775 | "ResourceType":{ |
| 776 | "type":"string", |
| 777 | "enum":["ROOM"] |
| 778 | }, |
| 779 | "RoomArn":{ |
| 780 | "type":"string", |
| 781 | "max":128, |
| 782 | "min":1, |
| 783 | "pattern":"^arn:aws:ivschat:[a-z0-9-]+:[0-9]+:room/[a-zA-Z0-9-]+$" |
| 784 | }, |
| 785 | "RoomID":{ |
| 786 | "type":"string", |
| 787 | "max":12, |
| 788 | "min":12, |
| 789 | "pattern":"^[a-zA-Z0-9]+$" |
| 790 | }, |
| 791 | "RoomIdentifier":{ |
| 792 | "type":"string", |
| 793 | "max":128, |
| 794 | "min":1, |
| 795 | "pattern":"^arn:aws:ivschat:[a-z0-9-]+:[0-9]+:room/[a-zA-Z0-9-]+$" |
| 796 | }, |
| 797 | "RoomList":{ |
| 798 | "type":"list", |
| 799 | "member":{"shape":"RoomSummary"} |
| 800 | }, |
| 801 | "RoomMaxMessageLength":{ |
| 802 | "type":"integer", |
| 803 | "box":true, |
| 804 | "max":500, |
| 805 | "min":1 |
| 806 | }, |
| 807 | "RoomMaxMessageRatePerSecond":{ |
| 808 | "type":"integer", |
| 809 | "box":true, |
| 810 | "max":100, |
| 811 | "min":1 |
| 812 | }, |
| 813 | "RoomName":{ |
| 814 | "type":"string", |
| 815 | "max":128, |
| 816 | "min":0, |
| 817 | "pattern":"^[a-zA-Z0-9-_]*$" |
| 818 | }, |
| 819 | "RoomSummary":{ |
| 820 | "type":"structure", |
| 821 | "members":{ |
| 822 | "arn":{"shape":"RoomArn"}, |
| 823 | "createTime":{"shape":"Time"}, |
| 824 | "id":{"shape":"RoomID"}, |
| 825 | "loggingConfigurationIdentifiers":{"shape":"LoggingConfigurationIdentifierList"}, |
| 826 | "messageReviewHandler":{"shape":"MessageReviewHandler"}, |
| 827 | "name":{"shape":"RoomName"}, |
| 828 | "tags":{"shape":"Tags"}, |
| 829 | "updateTime":{"shape":"Time"} |
| 830 | } |
| 831 | }, |
| 832 | "S3DestinationConfiguration":{ |
| 833 | "type":"structure", |
| 834 | "required":["bucketName"], |
| 835 | "members":{ |
| 836 | "bucketName":{"shape":"BucketName"} |
| 837 | } |
| 838 | }, |
| 839 | "SendEventRequest":{ |
| 840 | "type":"structure", |
| 841 | "required":[ |
| 842 | "eventName", |
| 843 | "roomIdentifier" |
| 844 | ], |
| 845 | "members":{ |
| 846 | "attributes":{"shape":"EventAttributes"}, |
| 847 | "eventName":{"shape":"EventName"}, |
| 848 | "roomIdentifier":{"shape":"RoomIdentifier"} |
| 849 | } |
| 850 | }, |
| 851 | "SendEventResponse":{ |
| 852 | "type":"structure", |
| 853 | "members":{ |
| 854 | "id":{"shape":"ID"} |
| 855 | } |
| 856 | }, |
| 857 | "ServiceQuotaExceededException":{ |
| 858 | "type":"structure", |
| 859 | "required":[ |
| 860 | "limit", |
| 861 | "message", |
| 862 | "resourceId", |
| 863 | "resourceType" |
| 864 | ], |
| 865 | "members":{ |
| 866 | "limit":{"shape":"Limit"}, |
| 867 | "message":{"shape":"ErrorMessage"}, |
| 868 | "resourceId":{"shape":"ResourceId"}, |
| 869 | "resourceType":{"shape":"ResourceType"} |
| 870 | }, |
| 871 | "error":{ |
| 872 | "httpStatusCode":402, |
| 873 | "senderFault":true |
| 874 | }, |
| 875 | "exception":true |
| 876 | }, |
| 877 | "SessionDurationInMinutes":{ |
| 878 | "type":"integer", |
| 879 | "box":true, |
| 880 | "max":180, |
| 881 | "min":1 |
| 882 | }, |
| 883 | "String":{"type":"string"}, |
| 884 | "TagKey":{ |
| 885 | "type":"string", |
| 886 | "max":128, |
| 887 | "min":1 |
| 888 | }, |
| 889 | "TagKeyList":{ |
| 890 | "type":"list", |
| 891 | "member":{"shape":"TagKey"}, |
| 892 | "max":50, |
| 893 | "min":0 |
| 894 | }, |
| 895 | "TagResourceRequest":{ |
| 896 | "type":"structure", |
| 897 | "required":[ |
| 898 | "resourceArn", |
| 899 | "tags" |
| 900 | ], |
| 901 | "members":{ |
| 902 | "resourceArn":{ |
| 903 | "shape":"ResourceArn", |
| 904 | "location":"uri", |
| 905 | "locationName":"resourceArn" |
| 906 | }, |
| 907 | "tags":{"shape":"Tags"} |
| 908 | } |
| 909 | }, |
| 910 | "TagResourceResponse":{ |
| 911 | "type":"structure", |
| 912 | "members":{ |
| 913 | } |
| 914 | }, |
| 915 | "TagValue":{ |
| 916 | "type":"string", |
| 917 | "max":256, |
| 918 | "min":0 |
| 919 | }, |
| 920 | "Tags":{ |
| 921 | "type":"map", |
| 922 | "key":{"shape":"TagKey"}, |
| 923 | "value":{"shape":"TagValue"}, |
| 924 | "max":50, |
| 925 | "min":0 |
| 926 | }, |
| 927 | "ThrottlingException":{ |
| 928 | "type":"structure", |
| 929 | "required":[ |
| 930 | "limit", |
| 931 | "message", |
| 932 | "resourceId", |
| 933 | "resourceType" |
| 934 | ], |
| 935 | "members":{ |
| 936 | "limit":{"shape":"Limit"}, |
| 937 | "message":{"shape":"ErrorMessage"}, |
| 938 | "resourceId":{"shape":"ResourceId"}, |
| 939 | "resourceType":{"shape":"ResourceType"} |
| 940 | }, |
| 941 | "error":{ |
| 942 | "httpStatusCode":429, |
| 943 | "senderFault":true |
| 944 | }, |
| 945 | "exception":true |
| 946 | }, |
| 947 | "Time":{ |
| 948 | "type":"timestamp", |
| 949 | "timestampFormat":"iso8601" |
| 950 | }, |
| 951 | "UntagResourceRequest":{ |
| 952 | "type":"structure", |
| 953 | "required":[ |
| 954 | "resourceArn", |
| 955 | "tagKeys" |
| 956 | ], |
| 957 | "members":{ |
| 958 | "resourceArn":{ |
| 959 | "shape":"ResourceArn", |
| 960 | "location":"uri", |
| 961 | "locationName":"resourceArn" |
| 962 | }, |
| 963 | "tagKeys":{ |
| 964 | "shape":"TagKeyList", |
| 965 | "location":"querystring", |
| 966 | "locationName":"tagKeys" |
| 967 | } |
| 968 | } |
| 969 | }, |
| 970 | "UntagResourceResponse":{ |
| 971 | "type":"structure", |
| 972 | "members":{ |
| 973 | } |
| 974 | }, |
| 975 | "UpdateLoggingConfigurationRequest":{ |
| 976 | "type":"structure", |
| 977 | "required":["identifier"], |
| 978 | "members":{ |
| 979 | "destinationConfiguration":{"shape":"DestinationConfiguration"}, |
| 980 | "identifier":{"shape":"LoggingConfigurationIdentifier"}, |
| 981 | "name":{"shape":"LoggingConfigurationName"} |
| 982 | } |
| 983 | }, |
| 984 | "UpdateLoggingConfigurationResponse":{ |
| 985 | "type":"structure", |
| 986 | "members":{ |
| 987 | "arn":{"shape":"LoggingConfigurationArn"}, |
| 988 | "createTime":{"shape":"Time"}, |
| 989 | "destinationConfiguration":{"shape":"DestinationConfiguration"}, |
| 990 | "id":{"shape":"LoggingConfigurationID"}, |
| 991 | "name":{"shape":"LoggingConfigurationName"}, |
| 992 | "state":{"shape":"UpdateLoggingConfigurationState"}, |
| 993 | "tags":{"shape":"Tags"}, |
| 994 | "updateTime":{"shape":"Time"} |
| 995 | } |
| 996 | }, |
| 997 | "UpdateLoggingConfigurationState":{ |
| 998 | "type":"string", |
| 999 | "enum":["ACTIVE"] |
| 1000 | }, |
| 1001 | "UpdateRoomRequest":{ |
| 1002 | "type":"structure", |
| 1003 | "required":["identifier"], |
| 1004 | "members":{ |
| 1005 | "identifier":{"shape":"RoomIdentifier"}, |
| 1006 | "loggingConfigurationIdentifiers":{"shape":"LoggingConfigurationIdentifierList"}, |
| 1007 | "maximumMessageLength":{"shape":"RoomMaxMessageLength"}, |
| 1008 | "maximumMessageRatePerSecond":{"shape":"RoomMaxMessageRatePerSecond"}, |
| 1009 | "messageReviewHandler":{"shape":"MessageReviewHandler"}, |
| 1010 | "name":{"shape":"RoomName"} |
| 1011 | } |
| 1012 | }, |
| 1013 | "UpdateRoomResponse":{ |
| 1014 | "type":"structure", |
| 1015 | "members":{ |
| 1016 | "arn":{"shape":"RoomArn"}, |
| 1017 | "createTime":{"shape":"Time"}, |
| 1018 | "id":{"shape":"RoomID"}, |
| 1019 | "loggingConfigurationIdentifiers":{"shape":"LoggingConfigurationIdentifierList"}, |
| 1020 | "maximumMessageLength":{"shape":"RoomMaxMessageLength"}, |
| 1021 | "maximumMessageRatePerSecond":{"shape":"RoomMaxMessageRatePerSecond"}, |
| 1022 | "messageReviewHandler":{"shape":"MessageReviewHandler"}, |
| 1023 | "name":{"shape":"RoomName"}, |
| 1024 | "tags":{"shape":"Tags"}, |
| 1025 | "updateTime":{"shape":"Time"} |
| 1026 | } |
| 1027 | }, |
| 1028 | "UserID":{ |
| 1029 | "type":"string", |
| 1030 | "max":128, |
| 1031 | "min":1, |
| 1032 | "sensitive":true |
| 1033 | }, |
| 1034 | "ValidationException":{ |
| 1035 | "type":"structure", |
| 1036 | "required":[ |
| 1037 | "message", |
| 1038 | "reason" |
| 1039 | ], |
| 1040 | "members":{ |
| 1041 | "fieldList":{"shape":"ValidationExceptionFieldList"}, |
| 1042 | "message":{"shape":"ErrorMessage"}, |
| 1043 | "reason":{"shape":"ValidationExceptionReason"} |
| 1044 | }, |
| 1045 | "error":{ |
| 1046 | "httpStatusCode":400, |
| 1047 | "senderFault":true |
| 1048 | }, |
| 1049 | "exception":true |
| 1050 | }, |
| 1051 | "ValidationExceptionField":{ |
| 1052 | "type":"structure", |
| 1053 | "required":[ |
| 1054 | "message", |
| 1055 | "name" |
| 1056 | ], |
| 1057 | "members":{ |
| 1058 | "message":{"shape":"ErrorMessage"}, |
| 1059 | "name":{"shape":"FieldName"} |
| 1060 | } |
| 1061 | }, |
| 1062 | "ValidationExceptionFieldList":{ |
| 1063 | "type":"list", |
| 1064 | "member":{"shape":"ValidationExceptionField"} |
| 1065 | }, |
| 1066 | "ValidationExceptionReason":{ |
| 1067 | "type":"string", |
| 1068 | "enum":[ |
| 1069 | "UNKNOWN_OPERATION", |
| 1070 | "FIELD_VALIDATION_FAILED", |
| 1071 | "OTHER" |
| 1072 | ] |
| 1073 | } |
| 1074 | } |
| 1075 | } |