1{
2    "smithy": "1.0",
3    "metadata": {
4        "suppressions": [
5            {
6                "id": "HttpMethodSemantics",
7                "namespace": "*"
8            },
9            {
10                "id": "HttpResponseCodeSemantics",
11                "namespace": "*"
12            },
13            {
14                "id": "PaginatedTrait",
15                "namespace": "*"
16            },
17            {
18                "id": "HttpHeaderTrait",
19                "namespace": "*"
20            },
21            {
22                "id": "HttpUriConflict",
23                "namespace": "*"
24            },
25            {
26                "id": "Service",
27                "namespace": "*"
28            }
29        ]
30    },
31    "shapes": {
32        "com.amazonaws.ebs#AccessDeniedException": {
33            "type": "structure",
34            "members": {
35                "Message": {
36                    "target": "com.amazonaws.ebs#ErrorMessage"
37                },
38                "Reason": {
39                    "target": "com.amazonaws.ebs#AccessDeniedExceptionReason",
40                    "traits": {
41                        "smithy.api#documentation": "<p>The reason for the exception.</p>",
42                        "smithy.api#required": {}
43                    }
44                }
45            },
46            "traits": {
47                "smithy.api#documentation": "<p>You do not have sufficient access to perform this action.</p>",
48                "smithy.api#error": "client",
49                "smithy.api#httpError": 403
50            }
51        },
52        "com.amazonaws.ebs#AccessDeniedExceptionReason": {
53            "type": "string",
54            "traits": {
55                "smithy.api#enum": [
56                    {
57                        "value": "UNAUTHORIZED_ACCOUNT",
58                        "name": "UNAUTHORIZED_ACCOUNT"
59                    },
60                    {
61                        "value": "DEPENDENCY_ACCESS_DENIED",
62                        "name": "DEPENDENCY_ACCESS_DENIED"
63                    }
64                ]
65            }
66        },
67        "com.amazonaws.ebs#Block": {
68            "type": "structure",
69            "members": {
70                "BlockIndex": {
71                    "target": "com.amazonaws.ebs#BlockIndex",
72                    "traits": {
73                        "smithy.api#documentation": "<p>The block index.</p>"
74                    }
75                },
76                "BlockToken": {
77                    "target": "com.amazonaws.ebs#BlockToken",
78                    "traits": {
79                        "smithy.api#documentation": "<p>The block token for the block index.</p>"
80                    }
81                }
82            },
83            "traits": {
84                "smithy.api#documentation": "<p>A block of data in an Amazon Elastic Block Store snapshot.</p>"
85            }
86        },
87        "com.amazonaws.ebs#BlockData": {
88            "type": "blob",
89            "traits": {
90                "smithy.api#sensitive": {},
91                "smithy.api#streaming": {}
92            }
93        },
94        "com.amazonaws.ebs#BlockIndex": {
95            "type": "integer",
96            "traits": {
97                "smithy.api#box": {},
98                "smithy.api#range": {
99                    "min": 0
100                }
101            }
102        },
103        "com.amazonaws.ebs#BlockSize": {
104            "type": "integer",
105            "traits": {
106                "smithy.api#box": {}
107            }
108        },
109        "com.amazonaws.ebs#BlockToken": {
110            "type": "string",
111            "traits": {
112                "smithy.api#length": {
113                    "min": 0,
114                    "max": 256
115                },
116                "smithy.api#pattern": "^[A-Za-z0-9+/=]+$"
117            }
118        },
119        "com.amazonaws.ebs#Blocks": {
120            "type": "list",
121            "member": {
122                "target": "com.amazonaws.ebs#Block"
123            },
124            "traits": {
125                "smithy.api#sensitive": {}
126            }
127        },
128        "com.amazonaws.ebs#Boolean": {
129            "type": "boolean",
130            "traits": {
131                "smithy.api#box": {}
132            }
133        },
134        "com.amazonaws.ebs#ChangedBlock": {
135            "type": "structure",
136            "members": {
137                "BlockIndex": {
138                    "target": "com.amazonaws.ebs#BlockIndex",
139                    "traits": {
140                        "smithy.api#documentation": "<p>The block index.</p>"
141                    }
142                },
143                "FirstBlockToken": {
144                    "target": "com.amazonaws.ebs#BlockToken",
145                    "traits": {
146                        "smithy.api#documentation": "<p>The block token for the block index of the <code>FirstSnapshotId</code> specified in\n            the <code>ListChangedBlocks</code> operation. This value is absent if the first snapshot\n            does not have the changed block that is on the second snapshot.</p>"
147                    }
148                },
149                "SecondBlockToken": {
150                    "target": "com.amazonaws.ebs#BlockToken",
151                    "traits": {
152                        "smithy.api#documentation": "<p>The block token for the block index of the <code>SecondSnapshotId</code> specified in\n            the <code>ListChangedBlocks</code> operation.</p>"
153                    }
154                }
155            },
156            "traits": {
157                "smithy.api#documentation": "<p>A block of data in an Amazon Elastic Block Store snapshot that is different from another snapshot of\n            the same volume/snapshot lineage.</p>",
158                "smithy.api#sensitive": {}
159            }
160        },
161        "com.amazonaws.ebs#ChangedBlocks": {
162            "type": "list",
163            "member": {
164                "target": "com.amazonaws.ebs#ChangedBlock"
165            }
166        },
167        "com.amazonaws.ebs#ChangedBlocksCount": {
168            "type": "integer",
169            "traits": {
170                "smithy.api#box": {},
171                "smithy.api#range": {
172                    "min": 0
173                }
174            }
175        },
176        "com.amazonaws.ebs#Checksum": {
177            "type": "string",
178            "traits": {
179                "smithy.api#length": {
180                    "min": 0,
181                    "max": 64
182                },
183                "smithy.api#pattern": "^[A-Za-z0-9+/=]+$"
184            }
185        },
186        "com.amazonaws.ebs#ChecksumAggregationMethod": {
187            "type": "string",
188            "traits": {
189                "smithy.api#enum": [
190                    {
191                        "value": "LINEAR",
192                        "name": "CHECKSUM_AGGREGATION_LINEAR"
193                    }
194                ],
195                "smithy.api#length": {
196                    "min": 0,
197                    "max": 32
198                },
199                "smithy.api#pattern": "^[A-Za-z0-9]+$"
200            }
201        },
202        "com.amazonaws.ebs#ChecksumAlgorithm": {
203            "type": "string",
204            "traits": {
205                "smithy.api#enum": [
206                    {
207                        "value": "SHA256",
208                        "name": "CHECKSUM_ALGORITHM_SHA256"
209                    }
210                ],
211                "smithy.api#length": {
212                    "min": 0,
213                    "max": 32
214                },
215                "smithy.api#pattern": "^[A-Za-z0-9]+$"
216            }
217        },
218        "com.amazonaws.ebs#CompleteSnapshot": {
219            "type": "operation",
220            "input": {
221                "target": "com.amazonaws.ebs#CompleteSnapshotRequest"
222            },
223            "output": {
224                "target": "com.amazonaws.ebs#CompleteSnapshotResponse"
225            },
226            "errors": [
227                {
228                    "target": "com.amazonaws.ebs#AccessDeniedException"
229                },
230                {
231                    "target": "com.amazonaws.ebs#InternalServerException"
232                },
233                {
234                    "target": "com.amazonaws.ebs#RequestThrottledException"
235                },
236                {
237                    "target": "com.amazonaws.ebs#ResourceNotFoundException"
238                },
239                {
240                    "target": "com.amazonaws.ebs#ServiceQuotaExceededException"
241                },
242                {
243                    "target": "com.amazonaws.ebs#ValidationException"
244                }
245            ],
246            "traits": {
247                "smithy.api#documentation": "<p>Seals and completes the snapshot after all of the required blocks of data have been\n            written to it. Completing the snapshot changes the status to <code>completed</code>. You\n            cannot write new blocks to a snapshot after it has been completed.</p>",
248                "smithy.api#http": {
249                    "method": "POST",
250                    "uri": "/snapshots/completion/{SnapshotId}",
251                    "code": 202
252                }
253            }
254        },
255        "com.amazonaws.ebs#CompleteSnapshotRequest": {
256            "type": "structure",
257            "members": {
258                "SnapshotId": {
259                    "target": "com.amazonaws.ebs#SnapshotId",
260                    "traits": {
261                        "smithy.api#documentation": "<p>The ID of the snapshot.</p>",
262                        "smithy.api#httpLabel": {},
263                        "smithy.api#required": {}
264                    }
265                },
266                "ChangedBlocksCount": {
267                    "target": "com.amazonaws.ebs#ChangedBlocksCount",
268                    "traits": {
269                        "smithy.api#documentation": "<p>The number of blocks that were written to the snapshot.</p>",
270                        "smithy.api#httpHeader": "x-amz-ChangedBlocksCount",
271                        "smithy.api#required": {}
272                    }
273                },
274                "Checksum": {
275                    "target": "com.amazonaws.ebs#Checksum",
276                    "traits": {
277                        "smithy.api#documentation": "<p>An aggregated Base-64 SHA256 checksum based on the checksums of each written\n            block.</p>\n        <p>To generate the aggregated checksum using the linear aggregation method, arrange the\n            checksums for each written block in ascending order of their block index, concatenate\n            them to form a single string, and then generate the checksum on the entire string using\n            the SHA256 algorithm.</p>",
278                        "smithy.api#httpHeader": "x-amz-Checksum"
279                    }
280                },
281                "ChecksumAlgorithm": {
282                    "target": "com.amazonaws.ebs#ChecksumAlgorithm",
283                    "traits": {
284                        "smithy.api#documentation": "<p>The algorithm used to generate the checksum. Currently, the only supported algorithm\n            is <code>SHA256</code>.</p>",
285                        "smithy.api#httpHeader": "x-amz-Checksum-Algorithm"
286                    }
287                },
288                "ChecksumAggregationMethod": {
289                    "target": "com.amazonaws.ebs#ChecksumAggregationMethod",
290                    "traits": {
291                        "smithy.api#documentation": "<p>The aggregation method used to generate the checksum. Currently, the only supported\n            aggregation method is <code>LINEAR</code>.</p>",
292                        "smithy.api#httpHeader": "x-amz-Checksum-Aggregation-Method"
293                    }
294                }
295            }
296        },
297        "com.amazonaws.ebs#CompleteSnapshotResponse": {
298            "type": "structure",
299            "members": {
300                "Status": {
301                    "target": "com.amazonaws.ebs#Status",
302                    "traits": {
303                        "smithy.api#documentation": "<p>The status of the snapshot.</p>"
304                    }
305                }
306            }
307        },
308        "com.amazonaws.ebs#ConcurrentLimitExceededException": {
309            "type": "structure",
310            "members": {
311                "Message": {
312                    "target": "com.amazonaws.ebs#ErrorMessage"
313                }
314            },
315            "traits": {
316                "smithy.api#documentation": "<p>You have reached the limit for concurrent API requests. For more information, see\n                <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\n                User Guide</i>.</p>",
317                "smithy.api#error": "client",
318                "smithy.api#httpError": 400
319            }
320        },
321        "com.amazonaws.ebs#ConflictException": {
322            "type": "structure",
323            "members": {
324                "Message": {
325                    "target": "com.amazonaws.ebs#ErrorMessage"
326                }
327            },
328            "traits": {
329                "smithy.api#documentation": "<p>The request uses the same client token as a previous, but non-identical\n            request.</p>",
330                "smithy.api#error": "server",
331                "smithy.api#httpError": 503
332            }
333        },
334        "com.amazonaws.ebs#DataLength": {
335            "type": "integer",
336            "traits": {
337                "smithy.api#box": {}
338            }
339        },
340        "com.amazonaws.ebs#Description": {
341            "type": "string",
342            "traits": {
343                "smithy.api#length": {
344                    "min": 0,
345                    "max": 255
346                },
347                "smithy.api#pattern": "^[\\S\\s]+$"
348            }
349        },
350        "com.amazonaws.ebs#Ebs": {
351            "type": "service",
352            "version": "2019-11-02",
353            "operations": [
354                {
355                    "target": "com.amazonaws.ebs#CompleteSnapshot"
356                },
357                {
358                    "target": "com.amazonaws.ebs#GetSnapshotBlock"
359                },
360                {
361                    "target": "com.amazonaws.ebs#ListChangedBlocks"
362                },
363                {
364                    "target": "com.amazonaws.ebs#ListSnapshotBlocks"
365                },
366                {
367                    "target": "com.amazonaws.ebs#PutSnapshotBlock"
368                },
369                {
370                    "target": "com.amazonaws.ebs#StartSnapshot"
371                }
372            ],
373            "traits": {
374                "aws.api#service": {
375                    "sdkId": "EBS",
376                    "arnNamespace": "ebs",
377                    "cloudFormationName": "EBS",
378                    "cloudTrailEventSource": "ebs.amazonaws.com",
379                    "endpointPrefix": "ebs"
380                },
381                "aws.auth#sigv4": {
382                    "name": "ebs"
383                },
384                "aws.protocols#restJson1": {},
385                "smithy.api#documentation": "<p>You can use the Amazon Elastic Block Store (Amazon EBS) direct APIs to create EBS snapshots, write data directly to \n    \t\tyour snapshots, read data on your snapshots, and identify the differences or changes between \n    \t\ttwo snapshots. If you’re an independent software vendor (ISV) who offers backup services for \n    \t\tAmazon EBS, the EBS direct APIs make it more efficient and cost-effective to track incremental changes on \n    \t\tyour EBS volumes through snapshots. This can be done without having to create new volumes \n    \t\tfrom snapshots, and then use Amazon Elastic Compute Cloud (Amazon EC2) instances to compare the differences.</p>\n    \t\t\n    \t    <p>You can create incremental snapshots directly from data on-premises into EBS volumes and the \n    \t\tcloud to use for quick disaster recovery. With the ability to write and read snapshots, you can \n    \t\twrite your on-premises data to an EBS snapshot during a disaster. Then after recovery, you can \n    \t\trestore it back to AWS or on-premises from the snapshot. You no longer need to build and \n    \t\tmaintain complex mechanisms to copy data to and from Amazon EBS.</p>\n\n\n        <p>This API reference provides detailed information about the actions, data types,\n            parameters, and errors of the EBS direct APIs. For more information about the elements that\n            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 EBS Snapshot</a> in the <i>Amazon Elastic Compute Cloud User\n                Guide</i>. For more information about the supported AWS Regions, endpoints,\n            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\n            the <i>AWS General Reference</i>.</p>",
386                "smithy.api#title": "Amazon Elastic Block Store"
387            }
388        },
389        "com.amazonaws.ebs#ErrorMessage": {
390            "type": "string",
391            "traits": {
392                "smithy.api#length": {
393                    "min": 0,
394                    "max": 256
395                }
396            }
397        },
398        "com.amazonaws.ebs#GetSnapshotBlock": {
399            "type": "operation",
400            "input": {
401                "target": "com.amazonaws.ebs#GetSnapshotBlockRequest"
402            },
403            "output": {
404                "target": "com.amazonaws.ebs#GetSnapshotBlockResponse"
405            },
406            "errors": [
407                {
408                    "target": "com.amazonaws.ebs#AccessDeniedException"
409                },
410                {
411                    "target": "com.amazonaws.ebs#InternalServerException"
412                },
413                {
414                    "target": "com.amazonaws.ebs#RequestThrottledException"
415                },
416                {
417                    "target": "com.amazonaws.ebs#ResourceNotFoundException"
418                },
419                {
420                    "target": "com.amazonaws.ebs#ServiceQuotaExceededException"
421                },
422                {
423                    "target": "com.amazonaws.ebs#ValidationException"
424                }
425            ],
426            "traits": {
427                "smithy.api#documentation": "<p>Returns the data in a block in an Amazon Elastic Block Store snapshot.</p>",
428                "smithy.api#http": {
429                    "method": "GET",
430                    "uri": "/snapshots/{SnapshotId}/blocks/{BlockIndex}",
431                    "code": 200
432                }
433            }
434        },
435        "com.amazonaws.ebs#GetSnapshotBlockRequest": {
436            "type": "structure",
437            "members": {
438                "SnapshotId": {
439                    "target": "com.amazonaws.ebs#SnapshotId",
440                    "traits": {
441                        "smithy.api#documentation": "<p>The ID of the snapshot containing the block from which to get data.</p>",
442                        "smithy.api#httpLabel": {},
443                        "smithy.api#required": {}
444                    }
445                },
446                "BlockIndex": {
447                    "target": "com.amazonaws.ebs#BlockIndex",
448                    "traits": {
449                        "smithy.api#documentation": "<p>The block index of the block from which to get data.</p>\n\n\n        <p>Obtain the <code>BlockIndex</code> by running the <code>ListChangedBlocks</code> or\n                <code>ListSnapshotBlocks</code> operations.</p>",
450                        "smithy.api#httpLabel": {},
451                        "smithy.api#required": {}
452                    }
453                },
454                "BlockToken": {
455                    "target": "com.amazonaws.ebs#BlockToken",
456                    "traits": {
457                        "smithy.api#documentation": "<p>The block token of the block from which to get data.</p>\n\n\n        <p>Obtain the <code>BlockToken</code> by running the <code>ListChangedBlocks</code> or\n                <code>ListSnapshotBlocks</code> operations.</p>",
458                        "smithy.api#httpQuery": "blockToken",
459                        "smithy.api#required": {}
460                    }
461                }
462            }
463        },
464        "com.amazonaws.ebs#GetSnapshotBlockResponse": {
465            "type": "structure",
466            "members": {
467                "DataLength": {
468                    "target": "com.amazonaws.ebs#DataLength",
469                    "traits": {
470                        "smithy.api#documentation": "<p>The size of the data in the block.</p>",
471                        "smithy.api#httpHeader": "x-amz-Data-Length"
472                    }
473                },
474                "BlockData": {
475                    "target": "com.amazonaws.ebs#BlockData",
476                    "traits": {
477                        "smithy.api#documentation": "<p>The data content of the block.</p>",
478                        "smithy.api#httpPayload": {}
479                    }
480                },
481                "Checksum": {
482                    "target": "com.amazonaws.ebs#Checksum",
483                    "traits": {
484                        "smithy.api#documentation": "<p>The checksum generated for the block, which is Base64 encoded.</p>",
485                        "smithy.api#httpHeader": "x-amz-Checksum"
486                    }
487                },
488                "ChecksumAlgorithm": {
489                    "target": "com.amazonaws.ebs#ChecksumAlgorithm",
490                    "traits": {
491                        "smithy.api#documentation": "<p>The algorithm used to generate the checksum for the block, such as SHA256.</p>",
492                        "smithy.api#httpHeader": "x-amz-Checksum-Algorithm"
493                    }
494                }
495            }
496        },
497        "com.amazonaws.ebs#IdempotencyToken": {
498            "type": "string",
499            "traits": {
500                "smithy.api#length": {
501                    "min": 0,
502                    "max": 255
503                },
504                "smithy.api#pattern": "^[\\S]+$"
505            }
506        },
507        "com.amazonaws.ebs#InternalServerException": {
508            "type": "structure",
509            "members": {
510                "Message": {
511                    "target": "com.amazonaws.ebs#ErrorMessage"
512                }
513            },
514            "traits": {
515                "smithy.api#documentation": "<p>An internal error has occurred.</p>",
516                "smithy.api#error": "server",
517                "smithy.api#httpError": 500
518            }
519        },
520        "com.amazonaws.ebs#KmsKeyArn": {
521            "type": "string",
522            "traits": {
523                "smithy.api#length": {
524                    "min": 1,
525                    "max": 2048
526                },
527                "smithy.api#pattern": "arn:aws[a-z\\-]*:kms:.*:[0-9]{12}:key/.*",
528                "smithy.api#sensitive": {}
529            }
530        },
531        "com.amazonaws.ebs#ListChangedBlocks": {
532            "type": "operation",
533            "input": {
534                "target": "com.amazonaws.ebs#ListChangedBlocksRequest"
535            },
536            "output": {
537                "target": "com.amazonaws.ebs#ListChangedBlocksResponse"
538            },
539            "errors": [
540                {
541                    "target": "com.amazonaws.ebs#AccessDeniedException"
542                },
543                {
544                    "target": "com.amazonaws.ebs#InternalServerException"
545                },
546                {
547                    "target": "com.amazonaws.ebs#RequestThrottledException"
548                },
549                {
550                    "target": "com.amazonaws.ebs#ResourceNotFoundException"
551                },
552                {
553                    "target": "com.amazonaws.ebs#ServiceQuotaExceededException"
554                },
555                {
556                    "target": "com.amazonaws.ebs#ValidationException"
557                }
558            ],
559            "traits": {
560                "smithy.api#documentation": "<p>Returns information about the blocks that are different between two\n            Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.</p>",
561                "smithy.api#http": {
562                    "method": "GET",
563                    "uri": "/snapshots/{SecondSnapshotId}/changedblocks",
564                    "code": 200
565                },
566                "smithy.api#paginated": {
567                    "inputToken": "NextToken",
568                    "outputToken": "NextToken",
569                    "pageSize": "MaxResults"
570                }
571            }
572        },
573        "com.amazonaws.ebs#ListChangedBlocksRequest": {
574            "type": "structure",
575            "members": {
576                "FirstSnapshotId": {
577                    "target": "com.amazonaws.ebs#SnapshotId",
578                    "traits": {
579                        "smithy.api#documentation": "<p>The ID of the first snapshot to use for the comparison.</p>\n        <important>\n            <p>The <code>FirstSnapshotID</code> parameter must be specified with a\n                    <code>SecondSnapshotId</code> parameter; otherwise, an error occurs.</p>\n        </important>",
580                        "smithy.api#httpQuery": "firstSnapshotId"
581                    }
582                },
583                "SecondSnapshotId": {
584                    "target": "com.amazonaws.ebs#SnapshotId",
585                    "traits": {
586                        "smithy.api#documentation": "<p>The ID of the second snapshot to use for the comparison.</p>\n        <important>\n            <p>The <code>SecondSnapshotId</code> parameter must be specified with a\n                    <code>FirstSnapshotID</code> parameter; otherwise, an error occurs.</p>\n        </important>",
587                        "smithy.api#httpLabel": {},
588                        "smithy.api#required": {}
589                    }
590                },
591                "NextToken": {
592                    "target": "com.amazonaws.ebs#PageToken",
593                    "traits": {
594                        "smithy.api#documentation": "<p>The token to request the next page of results.</p>",
595                        "smithy.api#httpQuery": "pageToken"
596                    }
597                },
598                "MaxResults": {
599                    "target": "com.amazonaws.ebs#MaxResults",
600                    "traits": {
601                        "smithy.api#documentation": "<p>The number of results to return.</p>",
602                        "smithy.api#httpQuery": "maxResults"
603                    }
604                },
605                "StartingBlockIndex": {
606                    "target": "com.amazonaws.ebs#BlockIndex",
607                    "traits": {
608                        "smithy.api#documentation": "<p>The block index from which the comparison should start.</p>\n        <p>The list in the response will start from this block index or the next valid block\n            index in the snapshots.</p>",
609                        "smithy.api#httpQuery": "startingBlockIndex"
610                    }
611                }
612            }
613        },
614        "com.amazonaws.ebs#ListChangedBlocksResponse": {
615            "type": "structure",
616            "members": {
617                "ChangedBlocks": {
618                    "target": "com.amazonaws.ebs#ChangedBlocks",
619                    "traits": {
620                        "smithy.api#documentation": "<p>An array of objects containing information about the changed blocks.</p>"
621                    }
622                },
623                "ExpiryTime": {
624                    "target": "com.amazonaws.ebs#TimeStamp",
625                    "traits": {
626                        "smithy.api#documentation": "<p>The time when the <code>BlockToken</code> expires.</p>"
627                    }
628                },
629                "VolumeSize": {
630                    "target": "com.amazonaws.ebs#VolumeSize",
631                    "traits": {
632                        "smithy.api#documentation": "<p>The size of the volume in GB.</p>"
633                    }
634                },
635                "BlockSize": {
636                    "target": "com.amazonaws.ebs#BlockSize",
637                    "traits": {
638                        "smithy.api#documentation": "<p>The size of the block.</p>"
639                    }
640                },
641                "NextToken": {
642                    "target": "com.amazonaws.ebs#PageToken",
643                    "traits": {
644                        "smithy.api#documentation": "<p>The token to use to retrieve the next page of results. This value is null when there\n            are no more results to return.</p>"
645                    }
646                }
647            }
648        },
649        "com.amazonaws.ebs#ListSnapshotBlocks": {
650            "type": "operation",
651            "input": {
652                "target": "com.amazonaws.ebs#ListSnapshotBlocksRequest"
653            },
654            "output": {
655                "target": "com.amazonaws.ebs#ListSnapshotBlocksResponse"
656            },
657            "errors": [
658                {
659                    "target": "com.amazonaws.ebs#AccessDeniedException"
660                },
661                {
662                    "target": "com.amazonaws.ebs#InternalServerException"
663                },
664                {
665                    "target": "com.amazonaws.ebs#RequestThrottledException"
666                },
667                {
668                    "target": "com.amazonaws.ebs#ResourceNotFoundException"
669                },
670                {
671                    "target": "com.amazonaws.ebs#ServiceQuotaExceededException"
672                },
673                {
674                    "target": "com.amazonaws.ebs#ValidationException"
675                }
676            ],
677            "traits": {
678                "smithy.api#documentation": "<p>Returns information about the blocks in an Amazon Elastic Block Store snapshot.</p>",
679                "smithy.api#http": {
680                    "method": "GET",
681                    "uri": "/snapshots/{SnapshotId}/blocks",
682                    "code": 200
683                },
684                "smithy.api#paginated": {
685                    "inputToken": "NextToken",
686                    "outputToken": "NextToken",
687                    "pageSize": "MaxResults"
688                }
689            }
690        },
691        "com.amazonaws.ebs#ListSnapshotBlocksRequest": {
692            "type": "structure",
693            "members": {
694                "SnapshotId": {
695                    "target": "com.amazonaws.ebs#SnapshotId",
696                    "traits": {
697                        "smithy.api#documentation": "<p>The ID of the snapshot from which to get block indexes and block tokens.</p>",
698                        "smithy.api#httpLabel": {},
699                        "smithy.api#required": {}
700                    }
701                },
702                "NextToken": {
703                    "target": "com.amazonaws.ebs#PageToken",
704                    "traits": {
705                        "smithy.api#documentation": "<p>The token to request the next page of results.</p>",
706                        "smithy.api#httpQuery": "pageToken"
707                    }
708                },
709                "MaxResults": {
710                    "target": "com.amazonaws.ebs#MaxResults",
711                    "traits": {
712                        "smithy.api#documentation": "<p>The number of results to return.</p>",
713                        "smithy.api#httpQuery": "maxResults"
714                    }
715                },
716                "StartingBlockIndex": {
717                    "target": "com.amazonaws.ebs#BlockIndex",
718                    "traits": {
719                        "smithy.api#documentation": "<p>The block index from which the list should start. The list in the response will start\n            from this block index or the next valid block index in the snapshot.</p>",
720                        "smithy.api#httpQuery": "startingBlockIndex"
721                    }
722                }
723            }
724        },
725        "com.amazonaws.ebs#ListSnapshotBlocksResponse": {
726            "type": "structure",
727            "members": {
728                "Blocks": {
729                    "target": "com.amazonaws.ebs#Blocks",
730                    "traits": {
731                        "smithy.api#documentation": "<p>An array of objects containing information about the blocks.</p>"
732                    }
733                },
734                "ExpiryTime": {
735                    "target": "com.amazonaws.ebs#TimeStamp",
736                    "traits": {
737                        "smithy.api#documentation": "<p>The time when the <code>BlockToken</code> expires.</p>"
738                    }
739                },
740                "VolumeSize": {
741                    "target": "com.amazonaws.ebs#VolumeSize",
742                    "traits": {
743                        "smithy.api#documentation": "<p>The size of the volume in GB.</p>"
744                    }
745                },
746                "BlockSize": {
747                    "target": "com.amazonaws.ebs#BlockSize",
748                    "traits": {
749                        "smithy.api#documentation": "<p>The size of the block.</p>"
750                    }
751                },
752                "NextToken": {
753                    "target": "com.amazonaws.ebs#PageToken",
754                    "traits": {
755                        "smithy.api#documentation": "<p>The token to use to retrieve the next page of results. This value is null when there\n            are no more results to return.</p>"
756                    }
757                }
758            }
759        },
760        "com.amazonaws.ebs#MaxResults": {
761            "type": "integer",
762            "traits": {
763                "smithy.api#box": {},
764                "smithy.api#range": {
765                    "min": 100,
766                    "max": 10000
767                }
768            }
769        },
770        "com.amazonaws.ebs#OwnerId": {
771            "type": "string",
772            "traits": {
773                "smithy.api#length": {
774                    "min": 1,
775                    "max": 24
776                },
777                "smithy.api#pattern": "\\S+"
778            }
779        },
780        "com.amazonaws.ebs#PageToken": {
781            "type": "string",
782            "traits": {
783                "smithy.api#length": {
784                    "min": 0,
785                    "max": 256
786                },
787                "smithy.api#pattern": "^[A-Za-z0-9+/=]+$"
788            }
789        },
790        "com.amazonaws.ebs#Progress": {
791            "type": "integer",
792            "traits": {
793                "smithy.api#box": {},
794                "smithy.api#range": {
795                    "min": 0,
796                    "max": 100
797                }
798            }
799        },
800        "com.amazonaws.ebs#PutSnapshotBlock": {
801            "type": "operation",
802            "input": {
803                "target": "com.amazonaws.ebs#PutSnapshotBlockRequest"
804            },
805            "output": {
806                "target": "com.amazonaws.ebs#PutSnapshotBlockResponse"
807            },
808            "errors": [
809                {
810                    "target": "com.amazonaws.ebs#AccessDeniedException"
811                },
812                {
813                    "target": "com.amazonaws.ebs#InternalServerException"
814                },
815                {
816                    "target": "com.amazonaws.ebs#RequestThrottledException"
817                },
818                {
819                    "target": "com.amazonaws.ebs#ResourceNotFoundException"
820                },
821                {
822                    "target": "com.amazonaws.ebs#ServiceQuotaExceededException"
823                },
824                {
825                    "target": "com.amazonaws.ebs#ValidationException"
826                }
827            ],
828            "traits": {
829                "aws.auth#unsignedPayload": {},
830                "smithy.api#auth": [
831                    "aws.auth#sigv4"
832                ],
833                "smithy.api#documentation": "<p>Writes a block of data to a snapshot. If the specified block contains\n            data, the existing data is overwritten. The target snapshot must be in the\n                <code>pending</code> state.</p>  \t\n    \t    <p>Data written to a snapshot must be aligned with 512-byte sectors.</p>",
834                "smithy.api#http": {
835                    "method": "PUT",
836                    "uri": "/snapshots/{SnapshotId}/blocks/{BlockIndex}",
837                    "code": 201
838                }
839            }
840        },
841        "com.amazonaws.ebs#PutSnapshotBlockRequest": {
842            "type": "structure",
843            "members": {
844                "SnapshotId": {
845                    "target": "com.amazonaws.ebs#SnapshotId",
846                    "traits": {
847                        "smithy.api#documentation": "<p>The ID of the snapshot.</p>",
848                        "smithy.api#httpLabel": {},
849                        "smithy.api#required": {}
850                    }
851                },
852                "BlockIndex": {
853                    "target": "com.amazonaws.ebs#BlockIndex",
854                    "traits": {
855                        "smithy.api#documentation": "<p>The block index of the block in which to write the data. A block index is a logical \n    \tindex in units of <code>512</code> KiB blocks. To identify the block index, divide \n        \tthe logical offset of the data in the logical volume by the block size (logical offset of \n        \tdata/<code>524288</code>). The logical offset of the data must be <code>512</code> \n        \tKiB aligned.</p>",
856                        "smithy.api#httpLabel": {},
857                        "smithy.api#required": {}
858                    }
859                },
860                "BlockData": {
861                    "target": "com.amazonaws.ebs#BlockData",
862                    "traits": {
863                        "smithy.api#documentation": "<p>The data to write to the block.</p>\n        <p>The block data is not signed as part of the Signature Version 4 signing process. As a\n            result, you must generate and provide a Base64-encoded SHA256 checksum for the block\n            data using the <b>x-amz-Checksum</b> header. Also, you \n        \tmust specify the checksum algorithm using the <b>x-amz-Checksum-Algorithm</b> \n        \theader. The checksum that you provide is part of the Signature Version 4 signing process. \n        \tIt is validated against a checksum generated by Amazon EBS to ensure the validity and authenticity \n        \tof the data. If the checksums do not correspond, the request fails. For more information, \n        \tsee <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html#ebsapis-using-checksums\">\n                Using checksums with the EBS direct APIs</a> in the <i>Amazon Elastic Compute Cloud User\n                Guide</i>.</p>",
864                        "smithy.api#httpPayload": {},
865                        "smithy.api#required": {}
866                    }
867                },
868                "DataLength": {
869                    "target": "com.amazonaws.ebs#DataLength",
870                    "traits": {
871                        "smithy.api#documentation": "<p>The size of the data to write to the block, in bytes. Currently, the only supported\n            size is <code>524288</code>.</p>\n        <p>Valid values: <code>524288</code>\n         </p>",
872                        "smithy.api#httpHeader": "x-amz-Data-Length",
873                        "smithy.api#required": {}
874                    }
875                },
876                "Progress": {
877                    "target": "com.amazonaws.ebs#Progress",
878                    "traits": {
879                        "smithy.api#documentation": "<p>The progress of the write process, as a percentage.</p>",
880                        "smithy.api#httpHeader": "x-amz-Progress"
881                    }
882                },
883                "Checksum": {
884                    "target": "com.amazonaws.ebs#Checksum",
885                    "traits": {
886                        "smithy.api#documentation": "<p>A Base64-encoded SHA256 checksum of the data. Only SHA256 checksums are\n            supported.</p>",
887                        "smithy.api#httpHeader": "x-amz-Checksum",
888                        "smithy.api#required": {}
889                    }
890                },
891                "ChecksumAlgorithm": {
892                    "target": "com.amazonaws.ebs#ChecksumAlgorithm",
893                    "traits": {
894                        "smithy.api#documentation": "<p>The algorithm used to generate the checksum. Currently, the only supported algorithm\n            is <code>SHA256</code>.</p>",
895                        "smithy.api#httpHeader": "x-amz-Checksum-Algorithm",
896                        "smithy.api#required": {}
897                    }
898                }
899            }
900        },
901        "com.amazonaws.ebs#PutSnapshotBlockResponse": {
902            "type": "structure",
903            "members": {
904                "Checksum": {
905                    "target": "com.amazonaws.ebs#Checksum",
906                    "traits": {
907                        "smithy.api#documentation": "<p>The SHA256 checksum generated for the block data by Amazon EBS.</p>",
908                        "smithy.api#httpHeader": "x-amz-Checksum"
909                    }
910                },
911                "ChecksumAlgorithm": {
912                    "target": "com.amazonaws.ebs#ChecksumAlgorithm",
913                    "traits": {
914                        "smithy.api#documentation": "<p>The algorithm used by Amazon EBS to generate the checksum.</p>",
915                        "smithy.api#httpHeader": "x-amz-Checksum-Algorithm"
916                    }
917                }
918            }
919        },
920        "com.amazonaws.ebs#RequestThrottledException": {
921            "type": "structure",
922            "members": {
923                "Message": {
924                    "target": "com.amazonaws.ebs#ErrorMessage"
925                },
926                "Reason": {
927                    "target": "com.amazonaws.ebs#RequestThrottledExceptionReason",
928                    "traits": {
929                        "smithy.api#documentation": "<p>The reason for the exception.</p>"
930                    }
931                }
932            },
933            "traits": {
934                "smithy.api#documentation": "<p>The number of API requests has exceed the maximum allowed API request throttling\n            limit.</p>",
935                "smithy.api#error": "client",
936                "smithy.api#httpError": 400
937            }
938        },
939        "com.amazonaws.ebs#RequestThrottledExceptionReason": {
940            "type": "string",
941            "traits": {
942                "smithy.api#enum": [
943                    {
944                        "value": "ACCOUNT_THROTTLED",
945                        "name": "ACCOUNT_THROTTLED"
946                    },
947                    {
948                        "value": "DEPENDENCY_REQUEST_THROTTLED",
949                        "name": "DEPENDENCY_REQUEST_THROTTLED"
950                    }
951                ]
952            }
953        },
954        "com.amazonaws.ebs#ResourceNotFoundException": {
955            "type": "structure",
956            "members": {
957                "Message": {
958                    "target": "com.amazonaws.ebs#ErrorMessage"
959                },
960                "Reason": {
961                    "target": "com.amazonaws.ebs#ResourceNotFoundExceptionReason",
962                    "traits": {
963                        "smithy.api#documentation": "<p>The reason for the exception.</p>"
964                    }
965                }
966            },
967            "traits": {
968                "smithy.api#documentation": "<p>The specified resource does not exist.</p>",
969                "smithy.api#error": "client",
970                "smithy.api#httpError": 404
971            }
972        },
973        "com.amazonaws.ebs#ResourceNotFoundExceptionReason": {
974            "type": "string",
975            "traits": {
976                "smithy.api#enum": [
977                    {
978                        "value": "SNAPSHOT_NOT_FOUND",
979                        "name": "SNAPSHOT_NOT_FOUND"
980                    },
981                    {
982                        "value": "DEPENDENCY_RESOURCE_NOT_FOUND",
983                        "name": "DEPENDENCY_RESOURCE_NOT_FOUND"
984                    }
985                ]
986            }
987        },
988        "com.amazonaws.ebs#ServiceQuotaExceededException": {
989            "type": "structure",
990            "members": {
991                "Message": {
992                    "target": "com.amazonaws.ebs#ErrorMessage"
993                },
994                "Reason": {
995                    "target": "com.amazonaws.ebs#ServiceQuotaExceededExceptionReason",
996                    "traits": {
997                        "smithy.api#documentation": "<p>The reason for the exception.</p>"
998                    }
999                }
1000            },
1001            "traits": {
1002                "smithy.api#documentation": "<p>Your current service quotas do not allow you to perform this action.</p>",
1003                "smithy.api#error": "client",
1004                "smithy.api#httpError": 402
1005            }
1006        },
1007        "com.amazonaws.ebs#ServiceQuotaExceededExceptionReason": {
1008            "type": "string",
1009            "traits": {
1010                "smithy.api#enum": [
1011                    {
1012                        "value": "DEPENDENCY_SERVICE_QUOTA_EXCEEDED",
1013                        "name": "DEPENDENCY_SERVICE_QUOTA_EXCEEDED"
1014                    }
1015                ]
1016            }
1017        },
1018        "com.amazonaws.ebs#SnapshotId": {
1019            "type": "string",
1020            "traits": {
1021                "smithy.api#length": {
1022                    "min": 1,
1023                    "max": 64
1024                },
1025                "smithy.api#pattern": "^snap-[0-9a-f]+$"
1026            }
1027        },
1028        "com.amazonaws.ebs#StartSnapshot": {
1029            "type": "operation",
1030            "input": {
1031                "target": "com.amazonaws.ebs#StartSnapshotRequest"
1032            },
1033            "output": {
1034                "target": "com.amazonaws.ebs#StartSnapshotResponse"
1035            },
1036            "errors": [
1037                {
1038                    "target": "com.amazonaws.ebs#AccessDeniedException"
1039                },
1040                {
1041                    "target": "com.amazonaws.ebs#ConcurrentLimitExceededException"
1042                },
1043                {
1044                    "target": "com.amazonaws.ebs#ConflictException"
1045                },
1046                {
1047                    "target": "com.amazonaws.ebs#InternalServerException"
1048                },
1049                {
1050                    "target": "com.amazonaws.ebs#RequestThrottledException"
1051                },
1052                {
1053                    "target": "com.amazonaws.ebs#ResourceNotFoundException"
1054                },
1055                {
1056                    "target": "com.amazonaws.ebs#ServiceQuotaExceededException"
1057                },
1058                {
1059                    "target": "com.amazonaws.ebs#ValidationException"
1060                }
1061            ],
1062            "traits": {
1063                "smithy.api#documentation": "<p>Creates a new Amazon EBS snapshot. The new snapshot enters the <code>pending</code> state\n            after the request completes. </p>\n        <p>After creating the snapshot, use <a href=\"https://docs.aws.amazon.com/ebs/latest/APIReference/API_PutSnapshotBlock.html\"> PutSnapshotBlock</a> to\n            write blocks of data to the snapshot.</p>",
1064                "smithy.api#http": {
1065                    "method": "POST",
1066                    "uri": "/snapshots",
1067                    "code": 201
1068                }
1069            }
1070        },
1071        "com.amazonaws.ebs#StartSnapshotRequest": {
1072            "type": "structure",
1073            "members": {
1074                "VolumeSize": {
1075                    "target": "com.amazonaws.ebs#VolumeSize",
1076                    "traits": {
1077                        "smithy.api#documentation": "<p>The size of the volume, in GiB. The maximum size is <code>16384</code> GiB (16\n            TiB).</p>",
1078                        "smithy.api#required": {}
1079                    }
1080                },
1081                "ParentSnapshotId": {
1082                    "target": "com.amazonaws.ebs#SnapshotId",
1083                    "traits": {
1084                        "smithy.api#documentation": "<p>The ID of the parent snapshot. If there is no parent snapshot, or if you are creating\n            the first snapshot for an on-premises volume, omit this parameter.</p>\n        <p>If your account is enabled for encryption by default, you cannot use an unencrypted\n            snapshot as a parent snapshot. You must first create an encrypted copy of the parent\n            snapshot using <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CopySnapshot.html\">CopySnapshot</a>.</p>"
1085                    }
1086                },
1087                "Tags": {
1088                    "target": "com.amazonaws.ebs#Tags",
1089                    "traits": {
1090                        "smithy.api#documentation": "<p>The tags to apply to the snapshot.</p>"
1091                    }
1092                },
1093                "Description": {
1094                    "target": "com.amazonaws.ebs#Description",
1095                    "traits": {
1096                        "smithy.api#documentation": "<p>A description for the snapshot.</p>"
1097                    }
1098                },
1099                "ClientToken": {
1100                    "target": "com.amazonaws.ebs#IdempotencyToken",
1101                    "traits": {
1102                        "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n            request. Idempotency ensures that an API request completes only once. With an idempotent \n            request, if the original request completes successfully. The subsequent retries with the same \n            client token return the result from the original successful request and they have no additional \n            effect.</p>\n        <p>If you do not specify a client token, one is automatically generated by the AWS SDK.</p>\n        <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-direct-api-idempotency.html\">\n    \t\tIdempotency for StartSnapshot API</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>",
1103                        "smithy.api#idempotencyToken": {}
1104                    }
1105                },
1106                "Encrypted": {
1107                    "target": "com.amazonaws.ebs#Boolean",
1108                    "traits": {
1109                        "smithy.api#documentation": "<p>Indicates whether to encrypt the snapshot. To create an encrypted snapshot, specify\n                <code>true</code>. To create an unencrypted snapshot, omit this parameter.</p>\n        <p>If you specify a value for <b>ParentSnapshotId</b>, omit\n            this parameter.</p>\n        <p>If you specify <code>true</code>, the snapshot is encrypted using the CMK specified\n            using the <b>KmsKeyArn</b> parameter. If no value is specified\n            for <b>KmsKeyArn</b>, the default CMK for your account is \n        \tused. If no default CMK has been specified for your account, the AWS managed CMK is used. \n        \tTo set a default CMK for your account, use <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyEbsDefaultKmsKeyId.html\">\n        \t\tModifyEbsDefaultKmsKeyId</a>.</p>\n        <p>If your account is enabled for encryption by default, you cannot set this parameter to\n                <code>false</code>. In this case, you can omit this parameter.</p>\n\n        <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html#ebsapis-using-encryption\">\n                Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
1110                    }
1111                },
1112                "KmsKeyArn": {
1113                    "target": "com.amazonaws.ebs#KmsKeyArn",
1114                    "traits": {
1115                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) \n        \tcustomer master key (CMK) to be used to encrypt the snapshot. If you do not specify a \n        \tCMK, the default AWS managed CMK is used.</p>\n        <p>If you specify a <b>ParentSnapshotId</b>, omit this\n            parameter; the snapshot will be encrypted using the same CMK that was used to encrypt\n            the parent snapshot.</p>\n        <p>If <b>Encrypted</b> is set to <code>true</code>, \n        \tyou must specify a CMK ARN. </p>"
1116                    }
1117                },
1118                "Timeout": {
1119                    "target": "com.amazonaws.ebs#Timeout",
1120                    "traits": {
1121                        "smithy.api#documentation": "<p>The amount of time (in minutes) after which the snapshot is automatically cancelled\n            if:</p>\n        <ul>\n            <li>\n                <p>No blocks are written to the snapshot.</p>\n            </li>\n            <li>\n                <p>The snapshot is not completed after writing the last block of data.</p>\n            </li>\n         </ul>\n        <p>If no value is specified, the timeout defaults to <code>60</code> minutes.</p>"
1122                    }
1123                }
1124            }
1125        },
1126        "com.amazonaws.ebs#StartSnapshotResponse": {
1127            "type": "structure",
1128            "members": {
1129                "Description": {
1130                    "target": "com.amazonaws.ebs#Description",
1131                    "traits": {
1132                        "smithy.api#documentation": "<p>The description of the snapshot.</p>"
1133                    }
1134                },
1135                "SnapshotId": {
1136                    "target": "com.amazonaws.ebs#SnapshotId",
1137                    "traits": {
1138                        "smithy.api#documentation": "<p>The ID of the snapshot.</p>"
1139                    }
1140                },
1141                "OwnerId": {
1142                    "target": "com.amazonaws.ebs#OwnerId",
1143                    "traits": {
1144                        "smithy.api#documentation": "<p>The AWS account ID of the snapshot owner.</p>"
1145                    }
1146                },
1147                "Status": {
1148                    "target": "com.amazonaws.ebs#Status",
1149                    "traits": {
1150                        "smithy.api#documentation": "<p>The status of the snapshot.</p>"
1151                    }
1152                },
1153                "StartTime": {
1154                    "target": "com.amazonaws.ebs#TimeStamp",
1155                    "traits": {
1156                        "smithy.api#documentation": "<p>The timestamp when the snapshot was created.</p>"
1157                    }
1158                },
1159                "VolumeSize": {
1160                    "target": "com.amazonaws.ebs#VolumeSize",
1161                    "traits": {
1162                        "smithy.api#documentation": "<p>The size of the volume, in GiB.</p>"
1163                    }
1164                },
1165                "BlockSize": {
1166                    "target": "com.amazonaws.ebs#BlockSize",
1167                    "traits": {
1168                        "smithy.api#documentation": "<p>The size of the blocks in the snapshot, in bytes.</p>"
1169                    }
1170                },
1171                "Tags": {
1172                    "target": "com.amazonaws.ebs#Tags",
1173                    "traits": {
1174                        "smithy.api#documentation": "<p>The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more\n            information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html\"> Tagging your Amazon EC2\n                resources</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
1175                    }
1176                },
1177                "ParentSnapshotId": {
1178                    "target": "com.amazonaws.ebs#SnapshotId",
1179                    "traits": {
1180                        "smithy.api#documentation": "<p>The ID of the parent snapshot.</p>"
1181                    }
1182                },
1183                "KmsKeyArn": {
1184                    "target": "com.amazonaws.ebs#KmsKeyArn",
1185                    "traits": {
1186                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) customer\n            master key (CMK) used to encrypt the snapshot.</p>"
1187                    }
1188                }
1189            }
1190        },
1191        "com.amazonaws.ebs#Status": {
1192            "type": "string",
1193            "traits": {
1194                "smithy.api#enum": [
1195                    {
1196                        "value": "completed",
1197                        "name": "COMPLETED"
1198                    },
1199                    {
1200                        "value": "pending",
1201                        "name": "PENDING"
1202                    },
1203                    {
1204                        "value": "error",
1205                        "name": "ERROR"
1206                    }
1207                ],
1208                "smithy.api#length": {
1209                    "min": 0,
1210                    "max": 32
1211                }
1212            }
1213        },
1214        "com.amazonaws.ebs#Tag": {
1215            "type": "structure",
1216            "members": {
1217                "Key": {
1218                    "target": "com.amazonaws.ebs#TagKey",
1219                    "traits": {
1220                        "smithy.api#documentation": "<p>The key of the tag.</p>"
1221                    }
1222                },
1223                "Value": {
1224                    "target": "com.amazonaws.ebs#TagValue",
1225                    "traits": {
1226                        "smithy.api#documentation": "<p>The value of the tag.</p>"
1227                    }
1228                }
1229            },
1230            "traits": {
1231                "smithy.api#documentation": "<p>Describes a tag.</p>"
1232            }
1233        },
1234        "com.amazonaws.ebs#TagKey": {
1235            "type": "string",
1236            "traits": {
1237                "smithy.api#length": {
1238                    "min": 0,
1239                    "max": 127
1240                },
1241                "smithy.api#pattern": "^[\\S\\s]+$"
1242            }
1243        },
1244        "com.amazonaws.ebs#TagValue": {
1245            "type": "string",
1246            "traits": {
1247                "smithy.api#length": {
1248                    "min": 0,
1249                    "max": 255
1250                },
1251                "smithy.api#pattern": "^[\\S\\s]+$"
1252            }
1253        },
1254        "com.amazonaws.ebs#Tags": {
1255            "type": "list",
1256            "member": {
1257                "target": "com.amazonaws.ebs#Tag"
1258            }
1259        },
1260        "com.amazonaws.ebs#TimeStamp": {
1261            "type": "timestamp"
1262        },
1263        "com.amazonaws.ebs#Timeout": {
1264            "type": "integer",
1265            "traits": {
1266                "smithy.api#box": {},
1267                "smithy.api#range": {
1268                    "min": 10,
1269                    "max": 60
1270                }
1271            }
1272        },
1273        "com.amazonaws.ebs#ValidationException": {
1274            "type": "structure",
1275            "members": {
1276                "Message": {
1277                    "target": "com.amazonaws.ebs#ErrorMessage"
1278                },
1279                "Reason": {
1280                    "target": "com.amazonaws.ebs#ValidationExceptionReason",
1281                    "traits": {
1282                        "smithy.api#documentation": "<p>The reason for the validation exception.</p>"
1283                    }
1284                }
1285            },
1286            "traits": {
1287                "smithy.api#documentation": "<p>The input fails to satisfy the constraints of the EBS direct APIs.</p>",
1288                "smithy.api#error": "client",
1289                "smithy.api#httpError": 400
1290            }
1291        },
1292        "com.amazonaws.ebs#ValidationExceptionReason": {
1293            "type": "string",
1294            "traits": {
1295                "smithy.api#enum": [
1296                    {
1297                        "value": "INVALID_CUSTOMER_KEY",
1298                        "name": "INVALID_CUSTOMER_KEY"
1299                    },
1300                    {
1301                        "value": "INVALID_PAGE_TOKEN",
1302                        "name": "INVALID_PAGE_TOKEN"
1303                    },
1304                    {
1305                        "value": "INVALID_BLOCK_TOKEN",
1306                        "name": "INVALID_BLOCK_TOKEN"
1307                    },
1308                    {
1309                        "value": "INVALID_SNAPSHOT_ID",
1310                        "name": "INVALID_SNAPSHOT_ID"
1311                    },
1312                    {
1313                        "value": "UNRELATED_SNAPSHOTS",
1314                        "name": "UNRELATED_SNAPSHOTS"
1315                    },
1316                    {
1317                        "value": "INVALID_BLOCK",
1318                        "name": "INVALID_BLOCK"
1319                    },
1320                    {
1321                        "value": "INVALID_CONTENT_ENCODING",
1322                        "name": "INVALID_CONTENT_ENCODING"
1323                    },
1324                    {
1325                        "value": "INVALID_TAG",
1326                        "name": "INVALID_TAG"
1327                    },
1328                    {
1329                        "value": "INVALID_DEPENDENCY_REQUEST",
1330                        "name": "INVALID_DEPENDENCY_REQUEST"
1331                    },
1332                    {
1333                        "value": "INVALID_PARAMETER_VALUE",
1334                        "name": "INVALID_PARAMETER_VALUE"
1335                    },
1336                    {
1337                        "value": "INVALID_VOLUME_SIZE",
1338                        "name": "INVALID_VOLUME_SIZE"
1339                    }
1340                ]
1341            }
1342        },
1343        "com.amazonaws.ebs#VolumeSize": {
1344            "type": "long",
1345            "traits": {
1346                "smithy.api#box": {},
1347                "smithy.api#range": {
1348                    "min": 1
1349                }
1350            }
1351        }
1352    }
1353}
1354