ebs-2019-11-02.min.json 4.77 KB
{
  "version": "2.0",
  "metadata": {
    "apiVersion": "2019-11-02",
    "endpointPrefix": "ebs",
    "jsonVersion": "1.1",
    "protocol": "rest-json",
    "serviceAbbreviation": "Amazon EBS",
    "serviceFullName": "Amazon Elastic Block Store",
    "serviceId": "EBS",
    "signatureVersion": "v4",
    "uid": "ebs-2019-11-02"
  },
  "operations": {
    "GetSnapshotBlock": {
      "http": {
        "method": "GET",
        "requestUri": "/snapshots/{snapshotId}/blocks/{blockIndex}"
      },
      "input": {
        "type": "structure",
        "required": [
          "SnapshotId",
          "BlockIndex",
          "BlockToken"
        ],
        "members": {
          "SnapshotId": {
            "location": "uri",
            "locationName": "snapshotId"
          },
          "BlockIndex": {
            "location": "uri",
            "locationName": "blockIndex",
            "type": "integer"
          },
          "BlockToken": {
            "location": "querystring",
            "locationName": "blockToken"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "DataLength": {
            "location": "header",
            "locationName": "x-amz-Data-Length",
            "type": "integer"
          },
          "BlockData": {
            "type": "blob",
            "sensitive": true,
            "streaming": true
          },
          "Checksum": {
            "location": "header",
            "locationName": "x-amz-Checksum"
          },
          "ChecksumAlgorithm": {
            "location": "header",
            "locationName": "x-amz-Checksum-Algorithm"
          }
        },
        "payload": "BlockData"
      }
    },
    "ListChangedBlocks": {
      "http": {
        "method": "GET",
        "requestUri": "/snapshots/{secondSnapshotId}/changedblocks"
      },
      "input": {
        "type": "structure",
        "required": [
          "SecondSnapshotId"
        ],
        "members": {
          "FirstSnapshotId": {
            "location": "querystring",
            "locationName": "firstSnapshotId"
          },
          "SecondSnapshotId": {
            "location": "uri",
            "locationName": "secondSnapshotId"
          },
          "NextToken": {
            "location": "querystring",
            "locationName": "pageToken"
          },
          "MaxResults": {
            "location": "querystring",
            "locationName": "maxResults",
            "type": "integer"
          },
          "StartingBlockIndex": {
            "location": "querystring",
            "locationName": "startingBlockIndex",
            "type": "integer"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "ChangedBlocks": {
            "type": "list",
            "member": {
              "type": "structure",
              "members": {
                "BlockIndex": {
                  "type": "integer"
                },
                "FirstBlockToken": {},
                "SecondBlockToken": {}
              },
              "sensitive": true
            }
          },
          "ExpiryTime": {
            "type": "timestamp"
          },
          "VolumeSize": {
            "type": "long"
          },
          "BlockSize": {
            "type": "integer"
          },
          "NextToken": {}
        }
      }
    },
    "ListSnapshotBlocks": {
      "http": {
        "method": "GET",
        "requestUri": "/snapshots/{snapshotId}/blocks"
      },
      "input": {
        "type": "structure",
        "required": [
          "SnapshotId"
        ],
        "members": {
          "SnapshotId": {
            "location": "uri",
            "locationName": "snapshotId"
          },
          "NextToken": {
            "location": "querystring",
            "locationName": "pageToken"
          },
          "MaxResults": {
            "location": "querystring",
            "locationName": "maxResults",
            "type": "integer"
          },
          "StartingBlockIndex": {
            "location": "querystring",
            "locationName": "startingBlockIndex",
            "type": "integer"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "Blocks": {
            "type": "list",
            "member": {
              "type": "structure",
              "members": {
                "BlockIndex": {
                  "type": "integer"
                },
                "BlockToken": {}
              }
            },
            "sensitive": true
          },
          "ExpiryTime": {
            "type": "timestamp"
          },
          "VolumeSize": {
            "type": "long"
          },
          "BlockSize": {
            "type": "integer"
          },
          "NextToken": {}
        }
      }
    }
  },
  "shapes": {}
}