@@ -101,7 +101,7 @@ list OverWriteEncryptedHierarchicalKeys {
101
101
}
102
102
103
103
@documentation (
104
- " To avoid information loss, overwrites to any itme in the Key Store
104
+ " To avoid information loss, overwrites to any item in the Key Store
105
105
are done conditioned on the old value." )
106
106
structure OverWriteMutationIndex {
107
107
@required
@@ -130,22 +130,22 @@ structure MutationCommitment {
130
130
UUID : String
131
131
132
132
@required
133
- @documentation (" A commitment of the Original Mutable Properities of the Branch Key." )
133
+ @documentation (" A commitment of the Original Mutable Properties of the Branch Key." )
134
134
Original : Blob
135
135
136
136
@required
137
- @documentation (" A commitment of the Terminal Mutable Properities of the Branch Key." )
137
+ @documentation (" A commitment of the Terminal Mutable Properties of the Branch Key." )
138
138
Terminal : Blob
139
139
140
140
@required
141
- @documentation (" Description of the input to Initizlize Mutation." )
141
+ @documentation (" Description of the input to initialize a Mutation." )
142
142
Input : Blob
143
143
144
144
@required
145
145
CiphertextBlob : Blob
146
146
}
147
147
148
- @documentation (" Information on an in-flight Mutation of a Branch Key." )
148
+ @documentation (" Information of an in-flight Mutation of a Branch Key." )
149
149
structure MutationIndex {
150
150
@required
151
151
@documentation (" The Branch Key under Mutation." )
@@ -256,9 +256,11 @@ operation GetKeyStorageInfo {
256
256
}
257
257
258
258
@documentation (
259
- " Gets the ACTIVE branch key and the beacon key,
260
- and looks for a Mutation Commitment & Index,
261
- returning them if found." )
259
+ " Retrieves the items necessary to initialize a Mutation,
260
+ while checking for any in-flight Mutations.
261
+ These items are the ACTIVE branch key and the beacon key.
262
+ If a Mutation is already in-flight for this Branch Key,
263
+ the in-flight Mutation's Commitment and Index are also returned." )
262
264
operation GetItemsForInitializeMutation {
263
265
input : GetItemsForInitializeMutationInput
264
266
output : GetItemsForInitializeMutationOutput
@@ -286,7 +288,7 @@ operation WriteInitializeMutation {
286
288
@documentation (
287
289
" Creates a Mutation Index, conditioned on the Mutation Commitment.
288
290
Used in the edge case where the Commitment exists and Index does not.
289
- The Index may have been deleted to restart the mutation from the very begining .
291
+ The Index may have been deleted to restart the mutation from the very beginning .
290
292
" )
291
293
operation WriteMutationIndex {
292
294
input : WriteMutationIndexInput
@@ -329,9 +331,16 @@ operation QueryForVersions {
329
331
in the terminal state of a Mutation,
330
332
a page of version (decrypt only) items,
331
333
conditioned on:
332
- - every version already exsisting
333
- - every version's enc has not changed
334
+ - every version already existing
335
+ - every version's cipher-text had not changed
334
336
- the Mutation Commitment has not changed
337
+
338
+ If the Mutation is complete,
339
+ the Mutation Index and Mutation Commitment are deleted.
340
+ Otherwise,
341
+ the Mutation Index is updated,
342
+ conditioned on it not having been changed since
343
+ it was last read.
335
344
" )
336
345
operation WriteMutatedVersions {
337
346
input : WriteMutatedVersionsInput
@@ -509,20 +518,20 @@ structure WriteInitializeMutationInput {
509
518
@required
510
519
@documentation ("
511
520
The active representation of this branch key,
512
- generated with the Mutation's terminal properities.
521
+ generated with the Mutation's terminal properties.
513
522
The plain-text cryptographic material of the Active must be the same as the Version." )
514
523
Active : OverWriteEncryptedHierarchicalKey ,
515
524
@required
516
525
@documentation ("
517
526
The decrypt representation of this branch key version,
518
- generated with the Mutation's terminal properities.
527
+ generated with the Mutation's terminal properties.
519
528
The plain-text cryptographic material of the `Version` must be the same as the `Active`." )
520
529
Version : WriteInitializeMutationVersion ,
521
530
@required
522
531
@documentation ("
523
532
The mutated HMAC key used to support searchable encryption.
524
533
The cryptographic material is identical to the existing beacon,
525
- but is now authorized with the Mutation's terminal properities ." )
534
+ but is now authorized with the Mutation's terminal properties ." )
526
535
Beacon : OverWriteEncryptedHierarchicalKey ,
527
536
@required // Smithy will copy documentation traits from existing shapes
528
537
MutationCommitment : MutationCommitment
@@ -543,20 +552,20 @@ structure WriteAtomicMutationInput {
543
552
@required
544
553
@documentation ("
545
554
The active representation of this branch key,
546
- generated with the Mutation's terminal properities.
555
+ generated with the Mutation's terminal properties.
547
556
The plain-text cryptographic material of the Active must be the same as the Version." )
548
557
Active : OverWriteEncryptedHierarchicalKey ,
549
558
@required
550
559
@documentation ("
551
560
The decrypt representation of this branch key version,
552
- generated with the Mutation's terminal properities.
561
+ generated with the Mutation's terminal properties.
553
562
The plain-text cryptographic material of the `Version` must be the same as the `Active`." )
554
563
Version : WriteInitializeMutationVersion ,
555
564
@required
556
565
@documentation ("
557
566
The mutated HMAC key used to support searchable encryption.
558
567
The cryptographic material is identical to the existing beacon,
559
- but is now authorized with the Mutation's terminal properities ." )
568
+ but is now authorized with the Mutation's terminal properties ." )
560
569
Beacon : OverWriteEncryptedHierarchicalKey
561
570
@documentation (
562
571
" List of version (decrypt only) items of a Branch Key to overwrite conditionally." )
@@ -569,9 +578,9 @@ structure QueryForVersionsInput {
569
578
@documentation (
570
579
" Optional.
571
580
If set, Query will start at this index and read forward.
572
- Otherwise, Query will start at the indexes begining .
581
+ Otherwise, Query will start at the indexes beginning .
573
582
The Default Storage is DDB;
574
- see Amazon DynamoDB's defination of exclusiveStartKey for details.
583
+ see Amazon DynamoDB's definition of exclusiveStartKey for details.
575
584
Note: While the Default Storage is DDB,
576
585
the Key Store transforms the exclusiveStartKey into an opaque representation." )
577
586
ExclusiveStartKey : Blob
@@ -588,7 +597,7 @@ structure QueryForVersionsOutput {
588
597
" If none-empty, Query did not finish searching storage.
589
598
Next Query should resume from here.
590
599
The Default Storage is DDB;
591
- see Amazon DynamoDB's defination of exclusiveStartKey for details.
600
+ see Amazon DynamoDB's definition of exclusiveStartKey for details.
592
601
Note: While the Default Storage is DDB,
593
602
the Key Store transforms the exclusiveStartKey into an opaque representation." )
594
603
@required
0 commit comments