@@ -465,6 +465,60 @@ union VirtualTransform {
465
465
segments : GetSegments
466
466
}
467
467
468
+ //= specification/searchable-encryption/beacons.md#partonly-initialization
469
+ //= type=implication
470
+ //# On initialization of a PartOnly, the caller MUST NOT provide any
471
+ //# additional parameters to the PartOnly.
472
+ @javadoc (" Attribute must be used as part of a Compound Beacon, never alone." )
473
+ structure PartOnly {}
474
+
475
+ //= specification/searchable-encryption/beacons.md#asset-initialization
476
+ //= type=implication
477
+ //# On initialization of as AsSet, the caller MUST NOT provide any
478
+ //# additional parameters to the AsSet.
479
+ @javadoc (" Attribute must be a Set. Beacon value will also be a Set." )
480
+ structure AsSet {}
481
+
482
+ //= specification/searchable-encryption/beacons.md#twinned-initialization
483
+ //= type=implication
484
+ //# On initialization of a Twinned, the caller MUST provide:
485
+ //#
486
+ //# * other : a beacon name
487
+ @javadoc (" This beacon should calculate values like another beacon, so they can be compared." )
488
+ structure Twinned {
489
+ @required
490
+ @javadoc (" Calculate beacon values as for this beacon." )
491
+ other : String ,
492
+ }
493
+
494
+ //= specification/searchable-encryption/beacons.md#twinnedset-initialization
495
+ //= type=implication
496
+ //# On initialization of a TwinnedSet, the caller MUST provide:
497
+ //#
498
+ //# * other : a beacon name
499
+ @javadoc (" Both Twinned and AsSet." )
500
+ structure TwinnedSet {
501
+ @required
502
+ @javadoc (" Calculate beacon values as for this beacon." )
503
+ other : String ,
504
+ }
505
+
506
+ //= specification/searchable-encryption/beacons.md#beacon-style-initialization
507
+ //= type=implication
508
+ //# On initialization of a Beacon Style, the caller MUST provide exactly one of
509
+ //#
510
+ //# * a [PartOnly](#partonly-initialization)
511
+ //# * a [Twinned](#twinned-initialization)
512
+ //# * an [AsSet](#asset-initialization)
513
+ //# * a [TwinnedSet](#twinnedset-initialization)
514
+
515
+ union BeaconStyle {
516
+ partOnly : PartOnly ,
517
+ twinned : Twinned ,
518
+ asSet : AsSet ,
519
+ twinnedSet : TwinnedSet ,
520
+ }
521
+
468
522
//= specification/searchable-encryption/beacons.md#encrypted-part-initialization
469
523
//= type=implication
470
524
//# On initialization of a [encrypted part](#encrypted-part-initialization), the caller MUST provide:
@@ -552,7 +606,9 @@ structure StandardBeacon {
552
606
@javadoc (" The length of the calculated beacon." )
553
607
length : BeaconBitLength ,
554
608
@javadoc (" The DynamoDB document path to the value this beacon will calculate over. If not specified, the beacon will calculate values for the attribute with the name specified in 'name'." )
555
- loc : TerminalLocation
609
+ loc : TerminalLocation ,
610
+ @javadoc (" Optional augmented behavior." )
611
+ style : BeaconStyle ,
556
612
}
557
613
558
614
//= specification/searchable-encryption/beacons.md#compound-beacon-initialization
0 commit comments