/
docs-2.json
376 lines (376 loc) · 22.8 KB
/
docs-2.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
{
"version": "2.0",
"service": "<p>You can use the Amazon Elastic Block Store (Amazon EBS) direct APIs to create Amazon EBS snapshots, write data directly to your snapshots, read data on your snapshots, and identify the differences or changes between two snapshots. If you’re an independent software vendor (ISV) who offers backup services for Amazon EBS, the EBS direct APIs make it more efficient and cost-effective to track incremental changes on your Amazon EBS volumes through snapshots. This can be done without having to create new volumes from snapshots, and then use Amazon Elastic Compute Cloud (Amazon EC2) instances to compare the differences.</p> <p>You can create incremental snapshots directly from data on-premises into volumes and the cloud to use for quick disaster recovery. With the ability to write and read snapshots, you can write your on-premises data to an snapshot during a disaster. Then after recovery, you can restore it back to Amazon Web Services or on-premises from the snapshot. You no longer need to build and maintain complex mechanisms to copy data to and from Amazon EBS.</p> <p>This API reference provides detailed information about the actions, data types, parameters, and errors of the EBS direct APIs. For more information about the elements that make up the EBS direct APIs, and examples of how to use them effectively, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html\">Accessing the Contents of an Amazon EBS Snapshot</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>. For more information about the supported Amazon Web Services Regions, endpoints, and service quotas for the EBS direct APIs, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/ebs-service.html\">Amazon Elastic Block Store Endpoints and Quotas</a> in the <i>Amazon Web Services General Reference</i>.</p>",
"operations": {
"CompleteSnapshot": "<p>Seals and completes the snapshot after all of the required blocks of data have been written to it. Completing the snapshot changes the status to <code>completed</code>. You cannot write new blocks to a snapshot after it has been completed.</p>",
"GetSnapshotBlock": "<p>Returns the data in a block in an Amazon Elastic Block Store snapshot.</p>",
"ListChangedBlocks": "<p>Returns information about the blocks that are different between two Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.</p>",
"ListSnapshotBlocks": "<p>Returns information about the blocks in an Amazon Elastic Block Store snapshot.</p>",
"PutSnapshotBlock": "<p>Writes a block of data to a snapshot. If the specified block contains data, the existing data is overwritten. The target snapshot must be in the <code>pending</code> state.</p> <p>Data written to a snapshot must be aligned with 512-KiB sectors.</p>",
"StartSnapshot": "<p>Creates a new Amazon EBS snapshot. The new snapshot enters the <code>pending</code> state after the request completes. </p> <p>After creating the snapshot, use <a href=\"https://docs.aws.amazon.com/ebs/latest/APIReference/API_PutSnapshotBlock.html\"> PutSnapshotBlock</a> to write blocks of data to the snapshot.</p>"
},
"shapes": {
"AccessDeniedException": {
"base": "<p>You do not have sufficient access to perform this action.</p>",
"refs": {
}
},
"AccessDeniedExceptionReason": {
"base": null,
"refs": {
"AccessDeniedException$Reason": "<p>The reason for the exception.</p>"
}
},
"Block": {
"base": "<p>A block of data in an Amazon Elastic Block Store snapshot.</p>",
"refs": {
"Blocks$member": null
}
},
"BlockData": {
"base": null,
"refs": {
"GetSnapshotBlockResponse$BlockData": "<p>The data content of the block.</p>",
"PutSnapshotBlockRequest$BlockData": "<p>The data to write to the block.</p> <p>The block data is not signed as part of the Signature Version 4 signing process. As a result, you must generate and provide a Base64-encoded SHA256 checksum for the block data using the <b>x-amz-Checksum</b> header. Also, you must specify the checksum algorithm using the <b>x-amz-Checksum-Algorithm</b> header. The checksum that you provide is part of the Signature Version 4 signing process. It is validated against a checksum generated by Amazon EBS to ensure the validity and authenticity of the data. If the checksums do not correspond, the request fails. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html#ebsapis-using-checksums\"> Using checksums with the EBS direct APIs</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
}
},
"BlockIndex": {
"base": null,
"refs": {
"Block$BlockIndex": "<p>The block index.</p>",
"ChangedBlock$BlockIndex": "<p>The block index.</p>",
"GetSnapshotBlockRequest$BlockIndex": "<p>The block index of the block from which to get data.</p> <p>Obtain the <code>BlockIndex</code> by running the <code>ListChangedBlocks</code> or <code>ListSnapshotBlocks</code> operations.</p>",
"ListChangedBlocksRequest$StartingBlockIndex": "<p>The block index from which the comparison should start.</p> <p>The list in the response will start from this block index or the next valid block index in the snapshots.</p> <p>If you specify <b>NextToken</b>, then <b>StartingBlockIndex</b> is ignored.</p>",
"ListSnapshotBlocksRequest$StartingBlockIndex": "<p>The block index from which the list should start. The list in the response will start from this block index or the next valid block index in the snapshot.</p> <p>If you specify <b>NextToken</b>, then <b>StartingBlockIndex</b> is ignored.</p>",
"PutSnapshotBlockRequest$BlockIndex": "<p>The block index of the block in which to write the data. A block index is a logical index in units of <code>512</code> KiB blocks. To identify the block index, divide the logical offset of the data in the logical volume by the block size (logical offset of data/<code>524288</code>). The logical offset of the data must be <code>512</code> KiB aligned.</p>"
}
},
"BlockSize": {
"base": null,
"refs": {
"ListChangedBlocksResponse$BlockSize": "<p>The size of the blocks in the snapshot, in bytes.</p>",
"ListSnapshotBlocksResponse$BlockSize": "<p>The size of the blocks in the snapshot, in bytes.</p>",
"StartSnapshotResponse$BlockSize": "<p>The size of the blocks in the snapshot, in bytes.</p>"
}
},
"BlockToken": {
"base": null,
"refs": {
"Block$BlockToken": "<p>The block token for the block index.</p>",
"ChangedBlock$FirstBlockToken": "<p>The block token for the block index of the <code>FirstSnapshotId</code> specified in the <code>ListChangedBlocks</code> operation. This value is absent if the first snapshot does not have the changed block that is on the second snapshot.</p>",
"ChangedBlock$SecondBlockToken": "<p>The block token for the block index of the <code>SecondSnapshotId</code> specified in the <code>ListChangedBlocks</code> operation.</p>",
"GetSnapshotBlockRequest$BlockToken": "<p>The block token of the block from which to get data.</p> <p>Obtain the <code>BlockToken</code> by running the <code>ListChangedBlocks</code> or <code>ListSnapshotBlocks</code> operations.</p>"
}
},
"Blocks": {
"base": null,
"refs": {
"ListSnapshotBlocksResponse$Blocks": "<p>An array of objects containing information about the blocks.</p>"
}
},
"Boolean": {
"base": null,
"refs": {
"StartSnapshotRequest$Encrypted": "<p>Indicates whether to encrypt the snapshot. To create an encrypted snapshot, specify <code>true</code>. To create an unencrypted snapshot, omit this parameter.</p> <p>If you specify a value for <b>ParentSnapshotId</b>, omit this parameter.</p> <p>If you specify <code>true</code>, the snapshot is encrypted using the KMS key specified using the <b>KmsKeyArn</b> parameter. If no value is specified for <b>KmsKeyArn</b>, the default KMS key for your account is used. If no default KMS key has been specified for your account, the Amazon Web Services managed KMS key is used. To set a default KMS key for your account, use <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyEbsDefaultKmsKeyId.html\"> ModifyEbsDefaultKmsKeyId</a>.</p> <p>If your account is enabled for encryption by default, you cannot set this parameter to <code>false</code>. In this case, you can omit this parameter.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html#ebsapis-using-encryption\"> Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
}
},
"ChangedBlock": {
"base": "<p>A block of data in an Amazon Elastic Block Store snapshot that is different from another snapshot of the same volume/snapshot lineage.</p>",
"refs": {
"ChangedBlocks$member": null
}
},
"ChangedBlocks": {
"base": null,
"refs": {
"ListChangedBlocksResponse$ChangedBlocks": "<p>An array of objects containing information about the changed blocks.</p>"
}
},
"ChangedBlocksCount": {
"base": null,
"refs": {
"CompleteSnapshotRequest$ChangedBlocksCount": "<p>The number of blocks that were written to the snapshot.</p>"
}
},
"Checksum": {
"base": null,
"refs": {
"CompleteSnapshotRequest$Checksum": "<p>An aggregated Base-64 SHA256 checksum based on the checksums of each written block.</p> <p>To generate the aggregated checksum using the linear aggregation method, arrange the checksums for each written block in ascending order of their block index, concatenate them to form a single string, and then generate the checksum on the entire string using the SHA256 algorithm.</p>",
"GetSnapshotBlockResponse$Checksum": "<p>The checksum generated for the block, which is Base64 encoded.</p>",
"PutSnapshotBlockRequest$Checksum": "<p>A Base64-encoded SHA256 checksum of the data. Only SHA256 checksums are supported.</p>",
"PutSnapshotBlockResponse$Checksum": "<p>The SHA256 checksum generated for the block data by Amazon EBS.</p>"
}
},
"ChecksumAggregationMethod": {
"base": null,
"refs": {
"CompleteSnapshotRequest$ChecksumAggregationMethod": "<p>The aggregation method used to generate the checksum. Currently, the only supported aggregation method is <code>LINEAR</code>.</p>"
}
},
"ChecksumAlgorithm": {
"base": null,
"refs": {
"CompleteSnapshotRequest$ChecksumAlgorithm": "<p>The algorithm used to generate the checksum. Currently, the only supported algorithm is <code>SHA256</code>.</p>",
"GetSnapshotBlockResponse$ChecksumAlgorithm": "<p>The algorithm used to generate the checksum for the block, such as SHA256.</p>",
"PutSnapshotBlockRequest$ChecksumAlgorithm": "<p>The algorithm used to generate the checksum. Currently, the only supported algorithm is <code>SHA256</code>.</p>",
"PutSnapshotBlockResponse$ChecksumAlgorithm": "<p>The algorithm used by Amazon EBS to generate the checksum.</p>"
}
},
"CompleteSnapshotRequest": {
"base": null,
"refs": {
}
},
"CompleteSnapshotResponse": {
"base": null,
"refs": {
}
},
"ConcurrentLimitExceededException": {
"base": "<p>You have reached the limit for concurrent API requests. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html#ebsapi-performance\">Optimizing performance of the EBS direct APIs</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>",
"refs": {
}
},
"ConflictException": {
"base": "<p>The request uses the same client token as a previous, but non-identical request.</p>",
"refs": {
}
},
"DataLength": {
"base": null,
"refs": {
"GetSnapshotBlockResponse$DataLength": "<p>The size of the data in the block.</p>",
"PutSnapshotBlockRequest$DataLength": "<p>The size of the data to write to the block, in bytes. Currently, the only supported size is <code>524288</code> bytes.</p> <p>Valid values: <code>524288</code> </p>"
}
},
"Description": {
"base": null,
"refs": {
"StartSnapshotRequest$Description": "<p>A description for the snapshot.</p>",
"StartSnapshotResponse$Description": "<p>The description of the snapshot.</p>"
}
},
"ErrorMessage": {
"base": null,
"refs": {
"AccessDeniedException$Message": null,
"ConcurrentLimitExceededException$Message": null,
"ConflictException$Message": null,
"InternalServerException$Message": null,
"RequestThrottledException$Message": null,
"ResourceNotFoundException$Message": null,
"ServiceQuotaExceededException$Message": null,
"ValidationException$Message": null
}
},
"GetSnapshotBlockRequest": {
"base": null,
"refs": {
}
},
"GetSnapshotBlockResponse": {
"base": null,
"refs": {
}
},
"IdempotencyToken": {
"base": null,
"refs": {
"StartSnapshotRequest$ClientToken": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully. The subsequent retries with the same client token return the result from the original successful request and they have no additional effect.</p> <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-direct-api-idempotency.html\"> Idempotency for StartSnapshot API</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
}
},
"InternalServerException": {
"base": "<p>An internal error has occurred.</p>",
"refs": {
}
},
"KmsKeyArn": {
"base": null,
"refs": {
"StartSnapshotRequest$KmsKeyArn": "<p>The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to be used to encrypt the snapshot. If you do not specify a KMS key, the default Amazon Web Services managed KMS key is used.</p> <p>If you specify a <b>ParentSnapshotId</b>, omit this parameter; the snapshot will be encrypted using the same KMS key that was used to encrypt the parent snapshot.</p> <p>If <b>Encrypted</b> is set to <code>true</code>, you must specify a KMS key ARN. </p>",
"StartSnapshotResponse$KmsKeyArn": "<p>The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.</p>"
}
},
"ListChangedBlocksRequest": {
"base": null,
"refs": {
}
},
"ListChangedBlocksResponse": {
"base": null,
"refs": {
}
},
"ListSnapshotBlocksRequest": {
"base": null,
"refs": {
}
},
"ListSnapshotBlocksResponse": {
"base": null,
"refs": {
}
},
"MaxResults": {
"base": null,
"refs": {
"ListChangedBlocksRequest$MaxResults": "<p>The maximum number of blocks to be returned by the request.</p> <p>Even if additional blocks can be retrieved from the snapshot, the request can return less blocks than <b>MaxResults</b> or an empty array of blocks.</p> <p>To retrieve the next set of blocks from the snapshot, make another request with the returned <b>NextToken</b> value. The value of <b>NextToken</b> is <code>null</code> when there are no more blocks to return.</p>",
"ListSnapshotBlocksRequest$MaxResults": "<p>The maximum number of blocks to be returned by the request.</p> <p>Even if additional blocks can be retrieved from the snapshot, the request can return less blocks than <b>MaxResults</b> or an empty array of blocks.</p> <p>To retrieve the next set of blocks from the snapshot, make another request with the returned <b>NextToken</b> value. The value of <b>NextToken</b> is <code>null</code> when there are no more blocks to return.</p>"
}
},
"OwnerId": {
"base": null,
"refs": {
"StartSnapshotResponse$OwnerId": "<p>The Amazon Web Services account ID of the snapshot owner.</p>"
}
},
"PageToken": {
"base": null,
"refs": {
"ListChangedBlocksRequest$NextToken": "<p>The token to request the next page of results.</p> <p>If you specify <b>NextToken</b>, then <b>StartingBlockIndex</b> is ignored.</p>",
"ListChangedBlocksResponse$NextToken": "<p>The token to use to retrieve the next page of results. This value is null when there are no more results to return.</p>",
"ListSnapshotBlocksRequest$NextToken": "<p>The token to request the next page of results.</p> <p>If you specify <b>NextToken</b>, then <b>StartingBlockIndex</b> is ignored.</p>",
"ListSnapshotBlocksResponse$NextToken": "<p>The token to use to retrieve the next page of results. This value is null when there are no more results to return.</p>"
}
},
"Progress": {
"base": null,
"refs": {
"PutSnapshotBlockRequest$Progress": "<p>The progress of the write process, as a percentage.</p>"
}
},
"PutSnapshotBlockRequest": {
"base": null,
"refs": {
}
},
"PutSnapshotBlockResponse": {
"base": null,
"refs": {
}
},
"RequestThrottledException": {
"base": "<p>The number of API requests has exceed the maximum allowed API request throttling limit.</p>",
"refs": {
}
},
"RequestThrottledExceptionReason": {
"base": null,
"refs": {
"RequestThrottledException$Reason": "<p>The reason for the exception.</p>"
}
},
"ResourceNotFoundException": {
"base": "<p>The specified resource does not exist.</p>",
"refs": {
}
},
"ResourceNotFoundExceptionReason": {
"base": null,
"refs": {
"ResourceNotFoundException$Reason": "<p>The reason for the exception.</p>"
}
},
"ServiceQuotaExceededException": {
"base": "<p>Your current service quotas do not allow you to perform this action.</p>",
"refs": {
}
},
"ServiceQuotaExceededExceptionReason": {
"base": null,
"refs": {
"ServiceQuotaExceededException$Reason": "<p>The reason for the exception.</p>"
}
},
"SnapshotId": {
"base": null,
"refs": {
"CompleteSnapshotRequest$SnapshotId": "<p>The ID of the snapshot.</p>",
"GetSnapshotBlockRequest$SnapshotId": "<p>The ID of the snapshot containing the block from which to get data.</p>",
"ListChangedBlocksRequest$FirstSnapshotId": "<p>The ID of the first snapshot to use for the comparison.</p> <important> <p>The <code>FirstSnapshotID</code> parameter must be specified with a <code>SecondSnapshotId</code> parameter; otherwise, an error occurs.</p> </important>",
"ListChangedBlocksRequest$SecondSnapshotId": "<p>The ID of the second snapshot to use for the comparison.</p> <important> <p>The <code>SecondSnapshotId</code> parameter must be specified with a <code>FirstSnapshotID</code> parameter; otherwise, an error occurs.</p> </important>",
"ListSnapshotBlocksRequest$SnapshotId": "<p>The ID of the snapshot from which to get block indexes and block tokens.</p>",
"PutSnapshotBlockRequest$SnapshotId": "<p>The ID of the snapshot.</p>",
"StartSnapshotRequest$ParentSnapshotId": "<p>The ID of the parent snapshot. If there is no parent snapshot, or if you are creating the first snapshot for an on-premises volume, omit this parameter.</p> <p>If your account is enabled for encryption by default, you cannot use an unencrypted snapshot as a parent snapshot. You must first create an encrypted copy of the parent snapshot using <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CopySnapshot.html\">CopySnapshot</a>.</p>",
"StartSnapshotResponse$SnapshotId": "<p>The ID of the snapshot.</p>",
"StartSnapshotResponse$ParentSnapshotId": "<p>The ID of the parent snapshot.</p>"
}
},
"StartSnapshotRequest": {
"base": null,
"refs": {
}
},
"StartSnapshotResponse": {
"base": null,
"refs": {
}
},
"Status": {
"base": null,
"refs": {
"CompleteSnapshotResponse$Status": "<p>The status of the snapshot.</p>",
"StartSnapshotResponse$Status": "<p>The status of the snapshot.</p>"
}
},
"Tag": {
"base": "<p>Describes a tag.</p>",
"refs": {
"Tags$member": null
}
},
"TagKey": {
"base": null,
"refs": {
"Tag$Key": "<p>The key of the tag.</p>"
}
},
"TagValue": {
"base": null,
"refs": {
"Tag$Value": "<p>The value of the tag.</p>"
}
},
"Tags": {
"base": null,
"refs": {
"StartSnapshotRequest$Tags": "<p>The tags to apply to the snapshot.</p>",
"StartSnapshotResponse$Tags": "<p>The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html\"> Tagging your Amazon EC2 resources</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
}
},
"TimeStamp": {
"base": null,
"refs": {
"ListChangedBlocksResponse$ExpiryTime": "<p>The time when the <code>BlockToken</code> expires.</p>",
"ListSnapshotBlocksResponse$ExpiryTime": "<p>The time when the <code>BlockToken</code> expires.</p>",
"StartSnapshotResponse$StartTime": "<p>The timestamp when the snapshot was created.</p>"
}
},
"Timeout": {
"base": null,
"refs": {
"StartSnapshotRequest$Timeout": "<p>The amount of time (in minutes) after which the snapshot is automatically cancelled if:</p> <ul> <li> <p>No blocks are written to the snapshot.</p> </li> <li> <p>The snapshot is not completed after writing the last block of data.</p> </li> </ul> <p>If no value is specified, the timeout defaults to <code>60</code> minutes.</p>"
}
},
"ValidationException": {
"base": "<p>The input fails to satisfy the constraints of the EBS direct APIs.</p>",
"refs": {
}
},
"ValidationExceptionReason": {
"base": null,
"refs": {
"ValidationException$Reason": "<p>The reason for the validation exception.</p>"
}
},
"VolumeSize": {
"base": null,
"refs": {
"ListChangedBlocksResponse$VolumeSize": "<p>The size of the volume in GB.</p>",
"ListSnapshotBlocksResponse$VolumeSize": "<p>The size of the volume in GB.</p>",
"StartSnapshotRequest$VolumeSize": "<p>The size of the volume, in GiB. The maximum size is <code>65536</code> GiB (64 TiB).</p>",
"StartSnapshotResponse$VolumeSize": "<p>The size of the volume, in GiB.</p>"
}
}
}
}