| 1 | { |
| 2 | "version":"2.0", |
| 3 | "metadata":{ |
| 4 | "apiVersion":"2019-01-02", |
| 5 | "endpointPrefix":"qldb", |
| 6 | "jsonVersion":"1.0", |
| 7 | "protocol":"rest-json", |
| 8 | "serviceAbbreviation":"QLDB", |
| 9 | "serviceFullName":"Amazon QLDB", |
| 10 | "serviceId":"QLDB", |
| 11 | "signatureVersion":"v4", |
| 12 | "signingName":"qldb", |
| 13 | "uid":"qldb-2019-01-02" |
| 14 | }, |
| 15 | "operations":{ |
| 16 | "CancelJournalKinesisStream":{ |
| 17 | "name":"CancelJournalKinesisStream", |
| 18 | "http":{ |
| 19 | "method":"DELETE", |
| 20 | "requestUri":"/ledgers/{name}/journal-kinesis-streams/{streamId}" |
| 21 | }, |
| 22 | "input":{"shape":"CancelJournalKinesisStreamRequest"}, |
| 23 | "output":{"shape":"CancelJournalKinesisStreamResponse"}, |
| 24 | "errors":[ |
| 25 | {"shape":"InvalidParameterException"}, |
| 26 | {"shape":"ResourceNotFoundException"}, |
| 27 | {"shape":"ResourcePreconditionNotMetException"} |
| 28 | ] |
| 29 | }, |
| 30 | "CreateLedger":{ |
| 31 | "name":"CreateLedger", |
| 32 | "http":{ |
| 33 | "method":"POST", |
| 34 | "requestUri":"/ledgers" |
| 35 | }, |
| 36 | "input":{"shape":"CreateLedgerRequest"}, |
| 37 | "output":{"shape":"CreateLedgerResponse"}, |
| 38 | "errors":[ |
| 39 | {"shape":"InvalidParameterException"}, |
| 40 | {"shape":"ResourceAlreadyExistsException"}, |
| 41 | {"shape":"LimitExceededException"}, |
| 42 | {"shape":"ResourceInUseException"} |
| 43 | ] |
| 44 | }, |
| 45 | "DeleteLedger":{ |
| 46 | "name":"DeleteLedger", |
| 47 | "http":{ |
| 48 | "method":"DELETE", |
| 49 | "requestUri":"/ledgers/{name}" |
| 50 | }, |
| 51 | "input":{"shape":"DeleteLedgerRequest"}, |
| 52 | "errors":[ |
| 53 | {"shape":"InvalidParameterException"}, |
| 54 | {"shape":"ResourceNotFoundException"}, |
| 55 | {"shape":"ResourceInUseException"}, |
| 56 | {"shape":"ResourcePreconditionNotMetException"} |
| 57 | ] |
| 58 | }, |
| 59 | "DescribeJournalKinesisStream":{ |
| 60 | "name":"DescribeJournalKinesisStream", |
| 61 | "http":{ |
| 62 | "method":"GET", |
| 63 | "requestUri":"/ledgers/{name}/journal-kinesis-streams/{streamId}" |
| 64 | }, |
| 65 | "input":{"shape":"DescribeJournalKinesisStreamRequest"}, |
| 66 | "output":{"shape":"DescribeJournalKinesisStreamResponse"}, |
| 67 | "errors":[ |
| 68 | {"shape":"InvalidParameterException"}, |
| 69 | {"shape":"ResourceNotFoundException"}, |
| 70 | {"shape":"ResourcePreconditionNotMetException"} |
| 71 | ] |
| 72 | }, |
| 73 | "DescribeJournalS3Export":{ |
| 74 | "name":"DescribeJournalS3Export", |
| 75 | "http":{ |
| 76 | "method":"GET", |
| 77 | "requestUri":"/ledgers/{name}/journal-s3-exports/{exportId}" |
| 78 | }, |
| 79 | "input":{"shape":"DescribeJournalS3ExportRequest"}, |
| 80 | "output":{"shape":"DescribeJournalS3ExportResponse"}, |
| 81 | "errors":[ |
| 82 | {"shape":"ResourceNotFoundException"} |
| 83 | ] |
| 84 | }, |
| 85 | "DescribeLedger":{ |
| 86 | "name":"DescribeLedger", |
| 87 | "http":{ |
| 88 | "method":"GET", |
| 89 | "requestUri":"/ledgers/{name}" |
| 90 | }, |
| 91 | "input":{"shape":"DescribeLedgerRequest"}, |
| 92 | "output":{"shape":"DescribeLedgerResponse"}, |
| 93 | "errors":[ |
| 94 | {"shape":"InvalidParameterException"}, |
| 95 | {"shape":"ResourceNotFoundException"} |
| 96 | ] |
| 97 | }, |
| 98 | "ExportJournalToS3":{ |
| 99 | "name":"ExportJournalToS3", |
| 100 | "http":{ |
| 101 | "method":"POST", |
| 102 | "requestUri":"/ledgers/{name}/journal-s3-exports" |
| 103 | }, |
| 104 | "input":{"shape":"ExportJournalToS3Request"}, |
| 105 | "output":{"shape":"ExportJournalToS3Response"}, |
| 106 | "errors":[ |
| 107 | {"shape":"ResourceNotFoundException"}, |
| 108 | {"shape":"ResourcePreconditionNotMetException"} |
| 109 | ] |
| 110 | }, |
| 111 | "GetBlock":{ |
| 112 | "name":"GetBlock", |
| 113 | "http":{ |
| 114 | "method":"POST", |
| 115 | "requestUri":"/ledgers/{name}/block" |
| 116 | }, |
| 117 | "input":{"shape":"GetBlockRequest"}, |
| 118 | "output":{"shape":"GetBlockResponse"}, |
| 119 | "errors":[ |
| 120 | {"shape":"InvalidParameterException"}, |
| 121 | {"shape":"ResourceNotFoundException"}, |
| 122 | {"shape":"ResourcePreconditionNotMetException"} |
| 123 | ] |
| 124 | }, |
| 125 | "GetDigest":{ |
| 126 | "name":"GetDigest", |
| 127 | "http":{ |
| 128 | "method":"POST", |
| 129 | "requestUri":"/ledgers/{name}/digest" |
| 130 | }, |
| 131 | "input":{"shape":"GetDigestRequest"}, |
| 132 | "output":{"shape":"GetDigestResponse"}, |
| 133 | "errors":[ |
| 134 | {"shape":"InvalidParameterException"}, |
| 135 | {"shape":"ResourceNotFoundException"}, |
| 136 | {"shape":"ResourcePreconditionNotMetException"} |
| 137 | ] |
| 138 | }, |
| 139 | "GetRevision":{ |
| 140 | "name":"GetRevision", |
| 141 | "http":{ |
| 142 | "method":"POST", |
| 143 | "requestUri":"/ledgers/{name}/revision" |
| 144 | }, |
| 145 | "input":{"shape":"GetRevisionRequest"}, |
| 146 | "output":{"shape":"GetRevisionResponse"}, |
| 147 | "errors":[ |
| 148 | {"shape":"InvalidParameterException"}, |
| 149 | {"shape":"ResourceNotFoundException"}, |
| 150 | {"shape":"ResourcePreconditionNotMetException"} |
| 151 | ] |
| 152 | }, |
| 153 | "ListJournalKinesisStreamsForLedger":{ |
| 154 | "name":"ListJournalKinesisStreamsForLedger", |
| 155 | "http":{ |
| 156 | "method":"GET", |
| 157 | "requestUri":"/ledgers/{name}/journal-kinesis-streams" |
| 158 | }, |
| 159 | "input":{"shape":"ListJournalKinesisStreamsForLedgerRequest"}, |
| 160 | "output":{"shape":"ListJournalKinesisStreamsForLedgerResponse"}, |
| 161 | "errors":[ |
| 162 | {"shape":"InvalidParameterException"}, |
| 163 | {"shape":"ResourceNotFoundException"}, |
| 164 | {"shape":"ResourcePreconditionNotMetException"} |
| 165 | ] |
| 166 | }, |
| 167 | "ListJournalS3Exports":{ |
| 168 | "name":"ListJournalS3Exports", |
| 169 | "http":{ |
| 170 | "method":"GET", |
| 171 | "requestUri":"/journal-s3-exports" |
| 172 | }, |
| 173 | "input":{"shape":"ListJournalS3ExportsRequest"}, |
| 174 | "output":{"shape":"ListJournalS3ExportsResponse"} |
| 175 | }, |
| 176 | "ListJournalS3ExportsForLedger":{ |
| 177 | "name":"ListJournalS3ExportsForLedger", |
| 178 | "http":{ |
| 179 | "method":"GET", |
| 180 | "requestUri":"/ledgers/{name}/journal-s3-exports" |
| 181 | }, |
| 182 | "input":{"shape":"ListJournalS3ExportsForLedgerRequest"}, |
| 183 | "output":{"shape":"ListJournalS3ExportsForLedgerResponse"} |
| 184 | }, |
| 185 | "ListLedgers":{ |
| 186 | "name":"ListLedgers", |
| 187 | "http":{ |
| 188 | "method":"GET", |
| 189 | "requestUri":"/ledgers" |
| 190 | }, |
| 191 | "input":{"shape":"ListLedgersRequest"}, |
| 192 | "output":{"shape":"ListLedgersResponse"} |
| 193 | }, |
| 194 | "ListTagsForResource":{ |
| 195 | "name":"ListTagsForResource", |
| 196 | "http":{ |
| 197 | "method":"GET", |
| 198 | "requestUri":"/tags/{resourceArn}" |
| 199 | }, |
| 200 | "input":{"shape":"ListTagsForResourceRequest"}, |
| 201 | "output":{"shape":"ListTagsForResourceResponse"}, |
| 202 | "errors":[ |
| 203 | {"shape":"InvalidParameterException"}, |
| 204 | {"shape":"ResourceNotFoundException"} |
| 205 | ] |
| 206 | }, |
| 207 | "StreamJournalToKinesis":{ |
| 208 | "name":"StreamJournalToKinesis", |
| 209 | "http":{ |
| 210 | "method":"POST", |
| 211 | "requestUri":"/ledgers/{name}/journal-kinesis-streams" |
| 212 | }, |
| 213 | "input":{"shape":"StreamJournalToKinesisRequest"}, |
| 214 | "output":{"shape":"StreamJournalToKinesisResponse"}, |
| 215 | "errors":[ |
| 216 | {"shape":"InvalidParameterException"}, |
| 217 | {"shape":"ResourceNotFoundException"}, |
| 218 | {"shape":"ResourcePreconditionNotMetException"} |
| 219 | ] |
| 220 | }, |
| 221 | "TagResource":{ |
| 222 | "name":"TagResource", |
| 223 | "http":{ |
| 224 | "method":"POST", |
| 225 | "requestUri":"/tags/{resourceArn}" |
| 226 | }, |
| 227 | "input":{"shape":"TagResourceRequest"}, |
| 228 | "output":{"shape":"TagResourceResponse"}, |
| 229 | "errors":[ |
| 230 | {"shape":"InvalidParameterException"}, |
| 231 | {"shape":"ResourceNotFoundException"} |
| 232 | ] |
| 233 | }, |
| 234 | "UntagResource":{ |
| 235 | "name":"UntagResource", |
| 236 | "http":{ |
| 237 | "method":"DELETE", |
| 238 | "requestUri":"/tags/{resourceArn}" |
| 239 | }, |
| 240 | "input":{"shape":"UntagResourceRequest"}, |
| 241 | "output":{"shape":"UntagResourceResponse"}, |
| 242 | "errors":[ |
| 243 | {"shape":"InvalidParameterException"}, |
| 244 | {"shape":"ResourceNotFoundException"} |
| 245 | ] |
| 246 | }, |
| 247 | "UpdateLedger":{ |
| 248 | "name":"UpdateLedger", |
| 249 | "http":{ |
| 250 | "method":"PATCH", |
| 251 | "requestUri":"/ledgers/{name}" |
| 252 | }, |
| 253 | "input":{"shape":"UpdateLedgerRequest"}, |
| 254 | "output":{"shape":"UpdateLedgerResponse"}, |
| 255 | "errors":[ |
| 256 | {"shape":"InvalidParameterException"}, |
| 257 | {"shape":"ResourceNotFoundException"} |
| 258 | ] |
| 259 | }, |
| 260 | "UpdateLedgerPermissionsMode":{ |
| 261 | "name":"UpdateLedgerPermissionsMode", |
| 262 | "http":{ |
| 263 | "method":"PATCH", |
| 264 | "requestUri":"/ledgers/{name}/permissions-mode" |
| 265 | }, |
| 266 | "input":{"shape":"UpdateLedgerPermissionsModeRequest"}, |
| 267 | "output":{"shape":"UpdateLedgerPermissionsModeResponse"}, |
| 268 | "errors":[ |
| 269 | {"shape":"InvalidParameterException"}, |
| 270 | {"shape":"ResourceNotFoundException"} |
| 271 | ] |
| 272 | } |
| 273 | }, |
| 274 | "shapes":{ |
| 275 | "Arn":{ |
| 276 | "type":"string", |
| 277 | "max":1600, |
| 278 | "min":20 |
| 279 | }, |
| 280 | "Boolean":{"type":"boolean"}, |
| 281 | "CancelJournalKinesisStreamRequest":{ |
| 282 | "type":"structure", |
| 283 | "required":[ |
| 284 | "LedgerName", |
| 285 | "StreamId" |
| 286 | ], |
| 287 | "members":{ |
| 288 | "LedgerName":{ |
| 289 | "shape":"LedgerName", |
| 290 | "location":"uri", |
| 291 | "locationName":"name" |
| 292 | }, |
| 293 | "StreamId":{ |
| 294 | "shape":"UniqueId", |
| 295 | "location":"uri", |
| 296 | "locationName":"streamId" |
| 297 | } |
| 298 | } |
| 299 | }, |
| 300 | "CancelJournalKinesisStreamResponse":{ |
| 301 | "type":"structure", |
| 302 | "members":{ |
| 303 | "StreamId":{"shape":"UniqueId"} |
| 304 | } |
| 305 | }, |
| 306 | "CreateLedgerRequest":{ |
| 307 | "type":"structure", |
| 308 | "required":[ |
| 309 | "Name", |
| 310 | "PermissionsMode" |
| 311 | ], |
| 312 | "members":{ |
| 313 | "Name":{"shape":"LedgerName"}, |
| 314 | "Tags":{"shape":"Tags"}, |
| 315 | "PermissionsMode":{"shape":"PermissionsMode"}, |
| 316 | "DeletionProtection":{"shape":"DeletionProtection"}, |
| 317 | "KmsKey":{"shape":"KmsKey"} |
| 318 | } |
| 319 | }, |
| 320 | "CreateLedgerResponse":{ |
| 321 | "type":"structure", |
| 322 | "members":{ |
| 323 | "Name":{"shape":"LedgerName"}, |
| 324 | "Arn":{"shape":"Arn"}, |
| 325 | "State":{"shape":"LedgerState"}, |
| 326 | "CreationDateTime":{"shape":"Timestamp"}, |
| 327 | "PermissionsMode":{"shape":"PermissionsMode"}, |
| 328 | "DeletionProtection":{"shape":"DeletionProtection"}, |
| 329 | "KmsKeyArn":{"shape":"Arn"} |
| 330 | } |
| 331 | }, |
| 332 | "DeleteLedgerRequest":{ |
| 333 | "type":"structure", |
| 334 | "required":["Name"], |
| 335 | "members":{ |
| 336 | "Name":{ |
| 337 | "shape":"LedgerName", |
| 338 | "location":"uri", |
| 339 | "locationName":"name" |
| 340 | } |
| 341 | } |
| 342 | }, |
| 343 | "DeletionProtection":{"type":"boolean"}, |
| 344 | "DescribeJournalKinesisStreamRequest":{ |
| 345 | "type":"structure", |
| 346 | "required":[ |
| 347 | "LedgerName", |
| 348 | "StreamId" |
| 349 | ], |
| 350 | "members":{ |
| 351 | "LedgerName":{ |
| 352 | "shape":"LedgerName", |
| 353 | "location":"uri", |
| 354 | "locationName":"name" |
| 355 | }, |
| 356 | "StreamId":{ |
| 357 | "shape":"UniqueId", |
| 358 | "location":"uri", |
| 359 | "locationName":"streamId" |
| 360 | } |
| 361 | } |
| 362 | }, |
| 363 | "DescribeJournalKinesisStreamResponse":{ |
| 364 | "type":"structure", |
| 365 | "members":{ |
| 366 | "Stream":{"shape":"JournalKinesisStreamDescription"} |
| 367 | } |
| 368 | }, |
| 369 | "DescribeJournalS3ExportRequest":{ |
| 370 | "type":"structure", |
| 371 | "required":[ |
| 372 | "Name", |
| 373 | "ExportId" |
| 374 | ], |
| 375 | "members":{ |
| 376 | "Name":{ |
| 377 | "shape":"LedgerName", |
| 378 | "location":"uri", |
| 379 | "locationName":"name" |
| 380 | }, |
| 381 | "ExportId":{ |
| 382 | "shape":"UniqueId", |
| 383 | "location":"uri", |
| 384 | "locationName":"exportId" |
| 385 | } |
| 386 | } |
| 387 | }, |
| 388 | "DescribeJournalS3ExportResponse":{ |
| 389 | "type":"structure", |
| 390 | "required":["ExportDescription"], |
| 391 | "members":{ |
| 392 | "ExportDescription":{"shape":"JournalS3ExportDescription"} |
| 393 | } |
| 394 | }, |
| 395 | "DescribeLedgerRequest":{ |
| 396 | "type":"structure", |
| 397 | "required":["Name"], |
| 398 | "members":{ |
| 399 | "Name":{ |
| 400 | "shape":"LedgerName", |
| 401 | "location":"uri", |
| 402 | "locationName":"name" |
| 403 | } |
| 404 | } |
| 405 | }, |
| 406 | "DescribeLedgerResponse":{ |
| 407 | "type":"structure", |
| 408 | "members":{ |
| 409 | "Name":{"shape":"LedgerName"}, |
| 410 | "Arn":{"shape":"Arn"}, |
| 411 | "State":{"shape":"LedgerState"}, |
| 412 | "CreationDateTime":{"shape":"Timestamp"}, |
| 413 | "PermissionsMode":{"shape":"PermissionsMode"}, |
| 414 | "DeletionProtection":{"shape":"DeletionProtection"}, |
| 415 | "EncryptionDescription":{"shape":"LedgerEncryptionDescription"} |
| 416 | } |
| 417 | }, |
| 418 | "Digest":{ |
| 419 | "type":"blob", |
| 420 | "max":32, |
| 421 | "min":32 |
| 422 | }, |
| 423 | "EncryptionStatus":{ |
| 424 | "type":"string", |
| 425 | "enum":[ |
| 426 | "ENABLED", |
| 427 | "UPDATING", |
| 428 | "KMS_KEY_INACCESSIBLE" |
| 429 | ] |
| 430 | }, |
| 431 | "ErrorCause":{ |
| 432 | "type":"string", |
| 433 | "enum":[ |
| 434 | "KINESIS_STREAM_NOT_FOUND", |
| 435 | "IAM_PERMISSION_REVOKED" |
| 436 | ] |
| 437 | }, |
| 438 | "ErrorMessage":{"type":"string"}, |
| 439 | "ExportJournalToS3Request":{ |
| 440 | "type":"structure", |
| 441 | "required":[ |
| 442 | "Name", |
| 443 | "InclusiveStartTime", |
| 444 | "ExclusiveEndTime", |
| 445 | "S3ExportConfiguration", |
| 446 | "RoleArn" |
| 447 | ], |
| 448 | "members":{ |
| 449 | "Name":{ |
| 450 | "shape":"LedgerName", |
| 451 | "location":"uri", |
| 452 | "locationName":"name" |
| 453 | }, |
| 454 | "InclusiveStartTime":{"shape":"Timestamp"}, |
| 455 | "ExclusiveEndTime":{"shape":"Timestamp"}, |
| 456 | "S3ExportConfiguration":{"shape":"S3ExportConfiguration"}, |
| 457 | "RoleArn":{"shape":"Arn"}, |
| 458 | "OutputFormat":{"shape":"OutputFormat"} |
| 459 | } |
| 460 | }, |
| 461 | "ExportJournalToS3Response":{ |
| 462 | "type":"structure", |
| 463 | "required":["ExportId"], |
| 464 | "members":{ |
| 465 | "ExportId":{"shape":"UniqueId"} |
| 466 | } |
| 467 | }, |
| 468 | "ExportStatus":{ |
| 469 | "type":"string", |
| 470 | "enum":[ |
| 471 | "IN_PROGRESS", |
| 472 | "COMPLETED", |
| 473 | "CANCELLED" |
| 474 | ] |
| 475 | }, |
| 476 | "GetBlockRequest":{ |
| 477 | "type":"structure", |
| 478 | "required":[ |
| 479 | "Name", |
| 480 | "BlockAddress" |
| 481 | ], |
| 482 | "members":{ |
| 483 | "Name":{ |
| 484 | "shape":"LedgerName", |
| 485 | "location":"uri", |
| 486 | "locationName":"name" |
| 487 | }, |
| 488 | "BlockAddress":{"shape":"ValueHolder"}, |
| 489 | "DigestTipAddress":{"shape":"ValueHolder"} |
| 490 | } |
| 491 | }, |
| 492 | "GetBlockResponse":{ |
| 493 | "type":"structure", |
| 494 | "required":["Block"], |
| 495 | "members":{ |
| 496 | "Block":{"shape":"ValueHolder"}, |
| 497 | "Proof":{"shape":"ValueHolder"} |
| 498 | } |
| 499 | }, |
| 500 | "GetDigestRequest":{ |
| 501 | "type":"structure", |
| 502 | "required":["Name"], |
| 503 | "members":{ |
| 504 | "Name":{ |
| 505 | "shape":"LedgerName", |
| 506 | "location":"uri", |
| 507 | "locationName":"name" |
| 508 | } |
| 509 | } |
| 510 | }, |
| 511 | "GetDigestResponse":{ |
| 512 | "type":"structure", |
| 513 | "required":[ |
| 514 | "Digest", |
| 515 | "DigestTipAddress" |
| 516 | ], |
| 517 | "members":{ |
| 518 | "Digest":{"shape":"Digest"}, |
| 519 | "DigestTipAddress":{"shape":"ValueHolder"} |
| 520 | } |
| 521 | }, |
| 522 | "GetRevisionRequest":{ |
| 523 | "type":"structure", |
| 524 | "required":[ |
| 525 | "Name", |
| 526 | "BlockAddress", |
| 527 | "DocumentId" |
| 528 | ], |
| 529 | "members":{ |
| 530 | "Name":{ |
| 531 | "shape":"LedgerName", |
| 532 | "location":"uri", |
| 533 | "locationName":"name" |
| 534 | }, |
| 535 | "BlockAddress":{"shape":"ValueHolder"}, |
| 536 | "DocumentId":{"shape":"UniqueId"}, |
| 537 | "DigestTipAddress":{"shape":"ValueHolder"} |
| 538 | } |
| 539 | }, |
| 540 | "GetRevisionResponse":{ |
| 541 | "type":"structure", |
| 542 | "required":["Revision"], |
| 543 | "members":{ |
| 544 | "Proof":{"shape":"ValueHolder"}, |
| 545 | "Revision":{"shape":"ValueHolder"} |
| 546 | } |
| 547 | }, |
| 548 | "InvalidParameterException":{ |
| 549 | "type":"structure", |
| 550 | "members":{ |
| 551 | "Message":{"shape":"ErrorMessage"}, |
| 552 | "ParameterName":{"shape":"ParameterName"} |
| 553 | }, |
| 554 | "error":{"httpStatusCode":400}, |
| 555 | "exception":true |
| 556 | }, |
| 557 | "IonText":{ |
| 558 | "type":"string", |
| 559 | "max":1048576, |
| 560 | "min":1, |
| 561 | "sensitive":true |
| 562 | }, |
| 563 | "JournalKinesisStreamDescription":{ |
| 564 | "type":"structure", |
| 565 | "required":[ |
| 566 | "LedgerName", |
| 567 | "RoleArn", |
| 568 | "StreamId", |
| 569 | "Status", |
| 570 | "KinesisConfiguration", |
| 571 | "StreamName" |
| 572 | ], |
| 573 | "members":{ |
| 574 | "LedgerName":{"shape":"LedgerName"}, |
| 575 | "CreationTime":{"shape":"Timestamp"}, |
| 576 | "InclusiveStartTime":{"shape":"Timestamp"}, |
| 577 | "ExclusiveEndTime":{"shape":"Timestamp"}, |
| 578 | "RoleArn":{"shape":"Arn"}, |
| 579 | "StreamId":{"shape":"UniqueId"}, |
| 580 | "Arn":{"shape":"Arn"}, |
| 581 | "Status":{"shape":"StreamStatus"}, |
| 582 | "KinesisConfiguration":{"shape":"KinesisConfiguration"}, |
| 583 | "ErrorCause":{"shape":"ErrorCause"}, |
| 584 | "StreamName":{"shape":"StreamName"} |
| 585 | } |
| 586 | }, |
| 587 | "JournalKinesisStreamDescriptionList":{ |
| 588 | "type":"list", |
| 589 | "member":{"shape":"JournalKinesisStreamDescription"} |
| 590 | }, |
| 591 | "JournalS3ExportDescription":{ |
| 592 | "type":"structure", |
| 593 | "required":[ |
| 594 | "LedgerName", |
| 595 | "ExportId", |
| 596 | "ExportCreationTime", |
| 597 | "Status", |
| 598 | "InclusiveStartTime", |
| 599 | "ExclusiveEndTime", |
| 600 | "S3ExportConfiguration", |
| 601 | "RoleArn" |
| 602 | ], |
| 603 | "members":{ |
| 604 | "LedgerName":{"shape":"LedgerName"}, |
| 605 | "ExportId":{"shape":"UniqueId"}, |
| 606 | "ExportCreationTime":{"shape":"Timestamp"}, |
| 607 | "Status":{"shape":"ExportStatus"}, |
| 608 | "InclusiveStartTime":{"shape":"Timestamp"}, |
| 609 | "ExclusiveEndTime":{"shape":"Timestamp"}, |
| 610 | "S3ExportConfiguration":{"shape":"S3ExportConfiguration"}, |
| 611 | "RoleArn":{"shape":"Arn"}, |
| 612 | "OutputFormat":{"shape":"OutputFormat"} |
| 613 | } |
| 614 | }, |
| 615 | "JournalS3ExportList":{ |
| 616 | "type":"list", |
| 617 | "member":{"shape":"JournalS3ExportDescription"} |
| 618 | }, |
| 619 | "KinesisConfiguration":{ |
| 620 | "type":"structure", |
| 621 | "required":["StreamArn"], |
| 622 | "members":{ |
| 623 | "StreamArn":{"shape":"Arn"}, |
| 624 | "AggregationEnabled":{"shape":"Boolean"} |
| 625 | } |
| 626 | }, |
| 627 | "KmsKey":{ |
| 628 | "type":"string", |
| 629 | "max":1600 |
| 630 | }, |
| 631 | "LedgerEncryptionDescription":{ |
| 632 | "type":"structure", |
| 633 | "required":[ |
| 634 | "KmsKeyArn", |
| 635 | "EncryptionStatus" |
| 636 | ], |
| 637 | "members":{ |
| 638 | "KmsKeyArn":{"shape":"Arn"}, |
| 639 | "EncryptionStatus":{"shape":"EncryptionStatus"}, |
| 640 | "InaccessibleKmsKeyDateTime":{"shape":"Timestamp"} |
| 641 | } |
| 642 | }, |
| 643 | "LedgerList":{ |
| 644 | "type":"list", |
| 645 | "member":{"shape":"LedgerSummary"} |
| 646 | }, |
| 647 | "LedgerName":{ |
| 648 | "type":"string", |
| 649 | "max":32, |
| 650 | "min":1, |
| 651 | "pattern":"(?!^.*--)(?!^[0-9]+$)(?!^-)(?!.*-$)^[A-Za-z0-9-]+$" |
| 652 | }, |
| 653 | "LedgerState":{ |
| 654 | "type":"string", |
| 655 | "enum":[ |
| 656 | "CREATING", |
| 657 | "ACTIVE", |
| 658 | "DELETING", |
| 659 | "DELETED" |
| 660 | ] |
| 661 | }, |
| 662 | "LedgerSummary":{ |
| 663 | "type":"structure", |
| 664 | "members":{ |
| 665 | "Name":{"shape":"LedgerName"}, |
| 666 | "State":{"shape":"LedgerState"}, |
| 667 | "CreationDateTime":{"shape":"Timestamp"} |
| 668 | } |
| 669 | }, |
| 670 | "LimitExceededException":{ |
| 671 | "type":"structure", |
| 672 | "members":{ |
| 673 | "Message":{"shape":"ErrorMessage"}, |
| 674 | "ResourceType":{"shape":"ResourceType"} |
| 675 | }, |
| 676 | "error":{"httpStatusCode":400}, |
| 677 | "exception":true |
| 678 | }, |
| 679 | "ListJournalKinesisStreamsForLedgerRequest":{ |
| 680 | "type":"structure", |
| 681 | "required":["LedgerName"], |
| 682 | "members":{ |
| 683 | "LedgerName":{ |
| 684 | "shape":"LedgerName", |
| 685 | "location":"uri", |
| 686 | "locationName":"name" |
| 687 | }, |
| 688 | "MaxResults":{ |
| 689 | "shape":"MaxResults", |
| 690 | "location":"querystring", |
| 691 | "locationName":"max_results" |
| 692 | }, |
| 693 | "NextToken":{ |
| 694 | "shape":"NextToken", |
| 695 | "location":"querystring", |
| 696 | "locationName":"next_token" |
| 697 | } |
| 698 | } |
| 699 | }, |
| 700 | "ListJournalKinesisStreamsForLedgerResponse":{ |
| 701 | "type":"structure", |
| 702 | "members":{ |
| 703 | "Streams":{"shape":"JournalKinesisStreamDescriptionList"}, |
| 704 | "NextToken":{"shape":"NextToken"} |
| 705 | } |
| 706 | }, |
| 707 | "ListJournalS3ExportsForLedgerRequest":{ |
| 708 | "type":"structure", |
| 709 | "required":["Name"], |
| 710 | "members":{ |
| 711 | "Name":{ |
| 712 | "shape":"LedgerName", |
| 713 | "location":"uri", |
| 714 | "locationName":"name" |
| 715 | }, |
| 716 | "MaxResults":{ |
| 717 | "shape":"MaxResults", |
| 718 | "location":"querystring", |
| 719 | "locationName":"max_results" |
| 720 | }, |
| 721 | "NextToken":{ |
| 722 | "shape":"NextToken", |
| 723 | "location":"querystring", |
| 724 | "locationName":"next_token" |
| 725 | } |
| 726 | } |
| 727 | }, |
| 728 | "ListJournalS3ExportsForLedgerResponse":{ |
| 729 | "type":"structure", |
| 730 | "members":{ |
| 731 | "JournalS3Exports":{"shape":"JournalS3ExportList"}, |
| 732 | "NextToken":{"shape":"NextToken"} |
| 733 | } |
| 734 | }, |
| 735 | "ListJournalS3ExportsRequest":{ |
| 736 | "type":"structure", |
| 737 | "members":{ |
| 738 | "MaxResults":{ |
| 739 | "shape":"MaxResults", |
| 740 | "location":"querystring", |
| 741 | "locationName":"max_results" |
| 742 | }, |
| 743 | "NextToken":{ |
| 744 | "shape":"NextToken", |
| 745 | "location":"querystring", |
| 746 | "locationName":"next_token" |
| 747 | } |
| 748 | } |
| 749 | }, |
| 750 | "ListJournalS3ExportsResponse":{ |
| 751 | "type":"structure", |
| 752 | "members":{ |
| 753 | "JournalS3Exports":{"shape":"JournalS3ExportList"}, |
| 754 | "NextToken":{"shape":"NextToken"} |
| 755 | } |
| 756 | }, |
| 757 | "ListLedgersRequest":{ |
| 758 | "type":"structure", |
| 759 | "members":{ |
| 760 | "MaxResults":{ |
| 761 | "shape":"MaxResults", |
| 762 | "location":"querystring", |
| 763 | "locationName":"max_results" |
| 764 | }, |
| 765 | "NextToken":{ |
| 766 | "shape":"NextToken", |
| 767 | "location":"querystring", |
| 768 | "locationName":"next_token" |
| 769 | } |
| 770 | } |
| 771 | }, |
| 772 | "ListLedgersResponse":{ |
| 773 | "type":"structure", |
| 774 | "members":{ |
| 775 | "Ledgers":{"shape":"LedgerList"}, |
| 776 | "NextToken":{"shape":"NextToken"} |
| 777 | } |
| 778 | }, |
| 779 | "ListTagsForResourceRequest":{ |
| 780 | "type":"structure", |
| 781 | "required":["ResourceArn"], |
| 782 | "members":{ |
| 783 | "ResourceArn":{ |
| 784 | "shape":"Arn", |
| 785 | "location":"uri", |
| 786 | "locationName":"resourceArn" |
| 787 | } |
| 788 | } |
| 789 | }, |
| 790 | "ListTagsForResourceResponse":{ |
| 791 | "type":"structure", |
| 792 | "members":{ |
| 793 | "Tags":{"shape":"Tags"} |
| 794 | } |
| 795 | }, |
| 796 | "MaxResults":{ |
| 797 | "type":"integer", |
| 798 | "max":100, |
| 799 | "min":1 |
| 800 | }, |
| 801 | "NextToken":{ |
| 802 | "type":"string", |
| 803 | "max":1024, |
| 804 | "min":4, |
| 805 | "pattern":"^[A-Za-z-0-9+/=]+$" |
| 806 | }, |
| 807 | "OutputFormat":{ |
| 808 | "type":"string", |
| 809 | "enum":[ |
| 810 | "ION_BINARY", |
| 811 | "ION_TEXT", |
| 812 | "JSON" |
| 813 | ] |
| 814 | }, |
| 815 | "ParameterName":{"type":"string"}, |
| 816 | "PermissionsMode":{ |
| 817 | "type":"string", |
| 818 | "enum":[ |
| 819 | "ALLOW_ALL", |
| 820 | "STANDARD" |
| 821 | ] |
| 822 | }, |
| 823 | "ResourceAlreadyExistsException":{ |
| 824 | "type":"structure", |
| 825 | "members":{ |
| 826 | "Message":{"shape":"ErrorMessage"}, |
| 827 | "ResourceType":{"shape":"ResourceType"}, |
| 828 | "ResourceName":{"shape":"ResourceName"} |
| 829 | }, |
| 830 | "error":{"httpStatusCode":409}, |
| 831 | "exception":true |
| 832 | }, |
| 833 | "ResourceInUseException":{ |
| 834 | "type":"structure", |
| 835 | "members":{ |
| 836 | "Message":{"shape":"ErrorMessage"}, |
| 837 | "ResourceType":{"shape":"ResourceType"}, |
| 838 | "ResourceName":{"shape":"ResourceName"} |
| 839 | }, |
| 840 | "error":{"httpStatusCode":409}, |
| 841 | "exception":true |
| 842 | }, |
| 843 | "ResourceName":{"type":"string"}, |
| 844 | "ResourceNotFoundException":{ |
| 845 | "type":"structure", |
| 846 | "members":{ |
| 847 | "Message":{"shape":"ErrorMessage"}, |
| 848 | "ResourceType":{"shape":"ResourceType"}, |
| 849 | "ResourceName":{"shape":"ResourceName"} |
| 850 | }, |
| 851 | "error":{"httpStatusCode":404}, |
| 852 | "exception":true |
| 853 | }, |
| 854 | "ResourcePreconditionNotMetException":{ |
| 855 | "type":"structure", |
| 856 | "members":{ |
| 857 | "Message":{"shape":"ErrorMessage"}, |
| 858 | "ResourceType":{"shape":"ResourceType"}, |
| 859 | "ResourceName":{"shape":"ResourceName"} |
| 860 | }, |
| 861 | "error":{"httpStatusCode":412}, |
| 862 | "exception":true |
| 863 | }, |
| 864 | "ResourceType":{"type":"string"}, |
| 865 | "S3Bucket":{ |
| 866 | "type":"string", |
| 867 | "max":255, |
| 868 | "min":3, |
| 869 | "pattern":"^[A-Za-z-0-9-_.]+$" |
| 870 | }, |
| 871 | "S3EncryptionConfiguration":{ |
| 872 | "type":"structure", |
| 873 | "required":["ObjectEncryptionType"], |
| 874 | "members":{ |
| 875 | "ObjectEncryptionType":{"shape":"S3ObjectEncryptionType"}, |
| 876 | "KmsKeyArn":{"shape":"Arn"} |
| 877 | } |
| 878 | }, |
| 879 | "S3ExportConfiguration":{ |
| 880 | "type":"structure", |
| 881 | "required":[ |
| 882 | "Bucket", |
| 883 | "Prefix", |
| 884 | "EncryptionConfiguration" |
| 885 | ], |
| 886 | "members":{ |
| 887 | "Bucket":{"shape":"S3Bucket"}, |
| 888 | "Prefix":{"shape":"S3Prefix"}, |
| 889 | "EncryptionConfiguration":{"shape":"S3EncryptionConfiguration"} |
| 890 | } |
| 891 | }, |
| 892 | "S3ObjectEncryptionType":{ |
| 893 | "type":"string", |
| 894 | "enum":[ |
| 895 | "SSE_KMS", |
| 896 | "SSE_S3", |
| 897 | "NO_ENCRYPTION" |
| 898 | ] |
| 899 | }, |
| 900 | "S3Prefix":{ |
| 901 | "type":"string", |
| 902 | "max":128, |
| 903 | "min":0 |
| 904 | }, |
| 905 | "StreamJournalToKinesisRequest":{ |
| 906 | "type":"structure", |
| 907 | "required":[ |
| 908 | "LedgerName", |
| 909 | "RoleArn", |
| 910 | "InclusiveStartTime", |
| 911 | "KinesisConfiguration", |
| 912 | "StreamName" |
| 913 | ], |
| 914 | "members":{ |
| 915 | "LedgerName":{ |
| 916 | "shape":"LedgerName", |
| 917 | "location":"uri", |
| 918 | "locationName":"name" |
| 919 | }, |
| 920 | "RoleArn":{"shape":"Arn"}, |
| 921 | "Tags":{"shape":"Tags"}, |
| 922 | "InclusiveStartTime":{"shape":"Timestamp"}, |
| 923 | "ExclusiveEndTime":{"shape":"Timestamp"}, |
| 924 | "KinesisConfiguration":{"shape":"KinesisConfiguration"}, |
| 925 | "StreamName":{"shape":"StreamName"} |
| 926 | } |
| 927 | }, |
| 928 | "StreamJournalToKinesisResponse":{ |
| 929 | "type":"structure", |
| 930 | "members":{ |
| 931 | "StreamId":{"shape":"UniqueId"} |
| 932 | } |
| 933 | }, |
| 934 | "StreamName":{ |
| 935 | "type":"string", |
| 936 | "max":32, |
| 937 | "min":1, |
| 938 | "pattern":"(?!^.*--)(?!^[0-9]+$)(?!^-)(?!.*-$)^[A-Za-z0-9-]+$" |
| 939 | }, |
| 940 | "StreamStatus":{ |
| 941 | "type":"string", |
| 942 | "enum":[ |
| 943 | "ACTIVE", |
| 944 | "COMPLETED", |
| 945 | "CANCELED", |
| 946 | "FAILED", |
| 947 | "IMPAIRED" |
| 948 | ] |
| 949 | }, |
| 950 | "TagKey":{ |
| 951 | "type":"string", |
| 952 | "max":128, |
| 953 | "min":1 |
| 954 | }, |
| 955 | "TagKeyList":{ |
| 956 | "type":"list", |
| 957 | "member":{"shape":"TagKey"}, |
| 958 | "max":200, |
| 959 | "min":0 |
| 960 | }, |
| 961 | "TagResourceRequest":{ |
| 962 | "type":"structure", |
| 963 | "required":[ |
| 964 | "ResourceArn", |
| 965 | "Tags" |
| 966 | ], |
| 967 | "members":{ |
| 968 | "ResourceArn":{ |
| 969 | "shape":"Arn", |
| 970 | "location":"uri", |
| 971 | "locationName":"resourceArn" |
| 972 | }, |
| 973 | "Tags":{"shape":"Tags"} |
| 974 | } |
| 975 | }, |
| 976 | "TagResourceResponse":{ |
| 977 | "type":"structure", |
| 978 | "members":{ |
| 979 | } |
| 980 | }, |
| 981 | "TagValue":{ |
| 982 | "type":"string", |
| 983 | "max":256, |
| 984 | "min":0 |
| 985 | }, |
| 986 | "Tags":{ |
| 987 | "type":"map", |
| 988 | "key":{"shape":"TagKey"}, |
| 989 | "value":{"shape":"TagValue"}, |
| 990 | "max":200, |
| 991 | "min":0 |
| 992 | }, |
| 993 | "Timestamp":{"type":"timestamp"}, |
| 994 | "UniqueId":{ |
| 995 | "type":"string", |
| 996 | "max":22, |
| 997 | "min":22, |
| 998 | "pattern":"^[A-Za-z-0-9]+$" |
| 999 | }, |
| 1000 | "UntagResourceRequest":{ |
| 1001 | "type":"structure", |
| 1002 | "required":[ |
| 1003 | "ResourceArn", |
| 1004 | "TagKeys" |
| 1005 | ], |
| 1006 | "members":{ |
| 1007 | "ResourceArn":{ |
| 1008 | "shape":"Arn", |
| 1009 | "location":"uri", |
| 1010 | "locationName":"resourceArn" |
| 1011 | }, |
| 1012 | "TagKeys":{ |
| 1013 | "shape":"TagKeyList", |
| 1014 | "location":"querystring", |
| 1015 | "locationName":"tagKeys" |
| 1016 | } |
| 1017 | } |
| 1018 | }, |
| 1019 | "UntagResourceResponse":{ |
| 1020 | "type":"structure", |
| 1021 | "members":{ |
| 1022 | } |
| 1023 | }, |
| 1024 | "UpdateLedgerPermissionsModeRequest":{ |
| 1025 | "type":"structure", |
| 1026 | "required":[ |
| 1027 | "Name", |
| 1028 | "PermissionsMode" |
| 1029 | ], |
| 1030 | "members":{ |
| 1031 | "Name":{ |
| 1032 | "shape":"LedgerName", |
| 1033 | "location":"uri", |
| 1034 | "locationName":"name" |
| 1035 | }, |
| 1036 | "PermissionsMode":{"shape":"PermissionsMode"} |
| 1037 | } |
| 1038 | }, |
| 1039 | "UpdateLedgerPermissionsModeResponse":{ |
| 1040 | "type":"structure", |
| 1041 | "members":{ |
| 1042 | "Name":{"shape":"LedgerName"}, |
| 1043 | "Arn":{"shape":"Arn"}, |
| 1044 | "PermissionsMode":{"shape":"PermissionsMode"} |
| 1045 | } |
| 1046 | }, |
| 1047 | "UpdateLedgerRequest":{ |
| 1048 | "type":"structure", |
| 1049 | "required":["Name"], |
| 1050 | "members":{ |
| 1051 | "Name":{ |
| 1052 | "shape":"LedgerName", |
| 1053 | "location":"uri", |
| 1054 | "locationName":"name" |
| 1055 | }, |
| 1056 | "DeletionProtection":{"shape":"DeletionProtection"}, |
| 1057 | "KmsKey":{"shape":"KmsKey"} |
| 1058 | } |
| 1059 | }, |
| 1060 | "UpdateLedgerResponse":{ |
| 1061 | "type":"structure", |
| 1062 | "members":{ |
| 1063 | "Name":{"shape":"LedgerName"}, |
| 1064 | "Arn":{"shape":"Arn"}, |
| 1065 | "State":{"shape":"LedgerState"}, |
| 1066 | "CreationDateTime":{"shape":"Timestamp"}, |
| 1067 | "DeletionProtection":{"shape":"DeletionProtection"}, |
| 1068 | "EncryptionDescription":{"shape":"LedgerEncryptionDescription"} |
| 1069 | } |
| 1070 | }, |
| 1071 | "ValueHolder":{ |
| 1072 | "type":"structure", |
| 1073 | "members":{ |
| 1074 | "IonText":{"shape":"IonText"} |
| 1075 | }, |
| 1076 | "sensitive":true |
| 1077 | } |
| 1078 | } |
| 1079 | } |