qldb-session-2019-07-11.min.json 3.64 KB
{
  "version": "2.0",
  "metadata": {
    "apiVersion": "2019-07-11",
    "endpointPrefix": "session.qldb",
    "jsonVersion": "1.0",
    "protocol": "json",
    "serviceAbbreviation": "QLDB Session",
    "serviceFullName": "Amazon QLDB Session",
    "serviceId": "QLDB Session",
    "signatureVersion": "v4",
    "signingName": "qldb",
    "targetPrefix": "QLDBSession",
    "uid": "qldb-session-2019-07-11"
  },
  "operations": {
    "SendCommand": {
      "input": {
        "type": "structure",
        "members": {
          "SessionToken": {},
          "StartSession": {
            "type": "structure",
            "required": [
              "LedgerName"
            ],
            "members": {
              "LedgerName": {}
            }
          },
          "StartTransaction": {
            "type": "structure",
            "members": {}
          },
          "EndSession": {
            "type": "structure",
            "members": {}
          },
          "CommitTransaction": {
            "type": "structure",
            "required": [
              "TransactionId",
              "CommitDigest"
            ],
            "members": {
              "TransactionId": {},
              "CommitDigest": {
                "type": "blob"
              }
            }
          },
          "AbortTransaction": {
            "type": "structure",
            "members": {}
          },
          "ExecuteStatement": {
            "type": "structure",
            "required": [
              "TransactionId",
              "Statement"
            ],
            "members": {
              "TransactionId": {},
              "Statement": {},
              "Parameters": {
                "type": "list",
                "member": {
                  "shape": "Se"
                }
              }
            }
          },
          "FetchPage": {
            "type": "structure",
            "required": [
              "TransactionId",
              "NextPageToken"
            ],
            "members": {
              "TransactionId": {},
              "NextPageToken": {}
            }
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "StartSession": {
            "type": "structure",
            "members": {
              "SessionToken": {}
            }
          },
          "StartTransaction": {
            "type": "structure",
            "members": {
              "TransactionId": {}
            }
          },
          "EndSession": {
            "type": "structure",
            "members": {}
          },
          "CommitTransaction": {
            "type": "structure",
            "members": {
              "TransactionId": {},
              "CommitDigest": {
                "type": "blob"
              }
            }
          },
          "AbortTransaction": {
            "type": "structure",
            "members": {}
          },
          "ExecuteStatement": {
            "type": "structure",
            "members": {
              "FirstPage": {
                "shape": "Sq"
              }
            }
          },
          "FetchPage": {
            "type": "structure",
            "members": {
              "Page": {
                "shape": "Sq"
              }
            }
          }
        }
      }
    }
  },
  "shapes": {
    "Se": {
      "type": "structure",
      "members": {
        "IonBinary": {
          "type": "blob"
        },
        "IonText": {}
      }
    },
    "Sq": {
      "type": "structure",
      "members": {
        "Values": {
          "type": "list",
          "member": {
            "shape": "Se"
          }
        },
        "NextPageToken": {}
      }
    }
  }
}