@@ -213,7 +213,7 @@ public static Consumer<AwsRequestOverrideConfiguration.Builder> withAdditionalCo
213213
214214 //= specification/s3-encryption/client.md#optional-api-operations
215215 //= type=implication
216- //# ReEncryptInstructionFile MAY be implemented by the S3EC.
216+ //# - ReEncryptInstructionFile MAY be implemented by the S3EC.
217217 /**
218218 * Re-encrypts an instruction file with a new keyring while preserving the original encrypted object in S3.
219219 * This enables:
@@ -253,7 +253,7 @@ public ReEncryptInstructionFileResponse reEncryptInstructionFile(ReEncryptInstru
253253 //Decrypt the data key using the current keyring
254254 //= specification/s3-encryption/client.md#optional-api-operations
255255 //= type=implication
256- //# ReEncryptInstructionFile MUST decrypt the instruction file's encrypted data key for the given object using the client's CMM.
256+ //# - ReEncryptInstructionFile MUST decrypt the instruction file's encrypted data key for the given object using the client's CMM.
257257 DecryptionMaterials decryptedMaterials = this ._cryptoMaterialsManager .decryptMaterials (
258258 DecryptMaterialsRequest .builder ()
259259 .algorithmSuite (algorithmSuite )
@@ -275,7 +275,7 @@ public ReEncryptInstructionFileResponse reEncryptInstructionFile(ReEncryptInstru
275275 //Re-encrypt the data key with the new keyring while preserving other cryptographic parameters
276276 //= specification/s3-encryption/client.md#optional-api-operations
277277 //= type=implication
278- //# ReEncryptInstructionFile MUST re-encrypt the plaintext data key with a provided keyring.
278+ //# - ReEncryptInstructionFile MUST re-encrypt the plaintext data key with a provided keyring.
279279 RawKeyring newKeyring = reEncryptInstructionFileRequest .newKeyring ();
280280 EncryptionMaterials encryptedMaterials = newKeyring .onEncrypt (encryptionMaterials );
281281
@@ -319,7 +319,7 @@ private void enforceRotation(EncryptionMaterials newEncryptionMaterials, GetObje
319319
320320 //= specification/s3-encryption/client.md#required-api-operations
321321 //= type=implication
322- //# PutObject MUST be implemented by the S3EC.
322+ //# - PutObject MUST be implemented by the S3EC.
323323 /**
324324 * See {@link S3EncryptionClient#putObject(PutObjectRequest, RequestBody)}.
325325 * <p>
@@ -359,7 +359,7 @@ public PutObjectResponse putObject(PutObjectRequest putObjectRequest, RequestBod
359359 try {
360360 //= specification/s3-encryption/client.md#required-api-operations
361361 //= type=implication
362- //# PutObject MUST encrypt its input data before it is uploaded to S3.
362+ //# - PutObject MUST encrypt its input data before it is uploaded to S3.
363363 CompletableFuture <PutObjectResponse > futurePut = pipeline .putObject (putObjectRequest ,
364364 AsyncRequestBody .fromInputStream (
365365 requestBody .contentStreamProvider ().newStream (),
@@ -386,7 +386,7 @@ public PutObjectResponse putObject(PutObjectRequest putObjectRequest, RequestBod
386386
387387 //= specification/s3-encryption/client.md#required-api-operations
388388 //= type=implication
389- //# GetObject MUST be implemented by the S3EC.
389+ //# - GetObject MUST be implemented by the S3EC.
390390 /**
391391 * See {@link S3EncryptionClient#getObject(GetObjectRequest, ResponseTransformer)}
392392 * <p>
@@ -410,7 +410,7 @@ public <T> T getObject(GetObjectRequest getObjectRequest,
410410
411411 //= specification/s3-encryption/client.md#required-api-operations
412412 //= type=implication
413- //# GetObject MUST decrypt data received from the S3 server and return it as plaintext.
413+ //# - GetObject MUST decrypt data received from the S3 server and return it as plaintext.
414414 GetEncryptedObjectPipeline pipeline = GetEncryptedObjectPipeline .builder ()
415415 .s3AsyncClient (_wrappedAsyncClient )
416416 .cryptoMaterialsManager (_cryptoMaterialsManager )
@@ -520,7 +520,7 @@ private <T extends Throwable> T onAbort(UploadObjectObserver observer, T t) {
520520
521521 //= specification/s3-encryption/client.md#required-api-operations
522522 //= type=implication
523- //# DeleteObject MUST be implemented by the S3EC.
523+ //# - DeleteObject MUST be implemented by the S3EC.
524524 /**
525525 * See {@link S3Client#deleteObject(DeleteObjectRequest)}.
526526 * <p>
@@ -540,11 +540,11 @@ public DeleteObjectResponse deleteObject(DeleteObjectRequest deleteObjectRequest
540540 try {
541541 //= specification/s3-encryption/client.md#required-api-operations
542542 //= type=implementation
543- //# DeleteObject MUST delete the given object key.
543+ //# - DeleteObject MUST delete the given object key.
544544 DeleteObjectResponse deleteObjectResponse = _wrappedAsyncClient .deleteObject (actualRequest ).join ();
545545 //= specification/s3-encryption/client.md#required-api-operations
546546 //= type=implementation
547- //# DeleteObject MUST delete the associated instruction file using the default instruction file suffix.
547+ //# - DeleteObject MUST delete the associated instruction file using the default instruction file suffix.
548548 String instructionObjectKey = deleteObjectRequest .key () + DEFAULT_INSTRUCTION_FILE_SUFFIX ;
549549 _wrappedAsyncClient .deleteObject (builder -> builder
550550 .overrideConfiguration (API_NAME_INTERCEPTOR )
@@ -561,7 +561,7 @@ public DeleteObjectResponse deleteObject(DeleteObjectRequest deleteObjectRequest
561561
562562 //= specification/s3-encryption/client.md#required-api-operations
563563 //= type=implication
564- //# DeleteObjects MUST be implemented by the S3EC.
564+ //# - DeleteObjects MUST be implemented by the S3EC.
565565 /**
566566 * See {@link S3Client#deleteObjects(DeleteObjectsRequest)}.
567567 * <p>
@@ -580,11 +580,11 @@ public DeleteObjectsResponse deleteObjects(DeleteObjectsRequest deleteObjectsReq
580580 try {
581581 //= specification/s3-encryption/client.md#required-api-operations
582582 //= type=implementation
583- //# DeleteObjects MUST delete each of the given objects.
583+ //# - DeleteObjects MUST delete each of the given objects.
584584 DeleteObjectsResponse deleteObjectsResponse = _wrappedAsyncClient .deleteObjects (actualRequest ).join ();
585585 //= specification/s3-encryption/client.md#required-api-operations
586586 //= type=implementation
587- //# DeleteObjects MUST delete each of the corresponding instruction files using the default instruction file suffix.
587+ //# - DeleteObjects MUST delete each of the corresponding instruction files using the default instruction file suffix.
588588 List <ObjectIdentifier > deleteObjects = instructionFileKeysToDelete (deleteObjectsRequest );
589589 _wrappedAsyncClient .deleteObjects (DeleteObjectsRequest .builder ()
590590 .overrideConfiguration (API_NAME_INTERCEPTOR )
@@ -601,7 +601,7 @@ public DeleteObjectsResponse deleteObjects(DeleteObjectsRequest deleteObjectsReq
601601
602602 //= specification/s3-encryption/client.md#optional-api-operations
603603 //= type=implication
604- //# CreateMultipartUpload MAY be implemented by the S3EC.
604+ //# - CreateMultipartUpload MAY be implemented by the S3EC.
605605 /**
606606 * See {@link S3Client#createMultipartUpload(CreateMultipartUploadRequest)}
607607 * <p>
@@ -625,7 +625,7 @@ public CreateMultipartUploadResponse createMultipartUpload(CreateMultipartUpload
625625
626626 //= specification/s3-encryption/client.md#optional-api-operations
627627 //= type=implication
628- //# UploadPart MAY be implemented by the S3EC.
628+ //# - UploadPart MAY be implemented by the S3EC.
629629 /**
630630 * See {@link S3Client#uploadPart(UploadPartRequest, RequestBody)}
631631 *
@@ -651,7 +651,7 @@ public UploadPartResponse uploadPart(UploadPartRequest request, RequestBody requ
651651
652652 //= specification/s3-encryption/client.md#optional-api-operations
653653 //= type=implication
654- //# CompleteMultipartUpload MAY be implemented by the S3EC.
654+ //# - CompleteMultipartUpload MAY be implemented by the S3EC.
655655 /**
656656 * See {@link S3Client#completeMultipartUpload(CompleteMultipartUploadRequest)}
657657 * @param request the request instance
@@ -671,7 +671,7 @@ public CompleteMultipartUploadResponse completeMultipartUpload(CompleteMultipart
671671
672672 //= specification/s3-encryption/client.md#optional-api-operations
673673 //= type=implication
674- //# AbortMultipartUpload MAY be implemented by the S3EC.
674+ //# - AbortMultipartUpload MAY be implemented by the S3EC.
675675 /**
676676 * See {@link S3Client#abortMultipartUpload(AbortMultipartUploadRequest)}
677677 * @param request the request instance
@@ -765,7 +765,7 @@ private Builder() {
765765 @ SuppressFBWarnings (value = "EI_EXPOSE_REP2" , justification = "Pass mutability into wrapping client" )
766766 public Builder wrappedClient (S3Client _wrappedClient ) {
767767 //= specification/s3-encryption/client.md#wrapped-s3-client-s
768- //= type=exception
768+ //= type=implementation
769769 //# The S3EC MUST NOT support use of S3EC as the provided S3 client during its initialization; it MUST throw an exception in this case.
770770 if (_wrappedClient instanceof S3EncryptionClient ) {
771771 throw new S3EncryptionClientException ("Cannot use S3EncryptionClient as wrapped client" );
@@ -787,7 +787,7 @@ public Builder wrappedClient(S3Client _wrappedClient) {
787787 @ SuppressFBWarnings (value = "EI_EXPOSE_REP2" , justification = "Pass mutability into wrapping client" )
788788 public Builder wrappedAsyncClient (S3AsyncClient _wrappedAsyncClient ) {
789789 //= specification/s3-encryption/client.md#wrapped-s3-client-s
790- //= type=exception
790+ //= type=implementation
791791 //# The S3EC MUST NOT support use of S3EC as the provided S3 client during its initialization; it MUST throw an exception in this case.
792792 if (_wrappedAsyncClient instanceof S3AsyncEncryptionClient ) {
793793 throw new S3EncryptionClientException ("Cannot use S3AsyncEncryptionClient as wrapped client" );
@@ -887,7 +887,7 @@ private void checkKeyOptions() {
887887 }
888888
889889 //= specification/s3-encryption/client.md#cryptographic-materials
890- //= type=exception
890+ //= type=implementation
891891 //# If both a CMM and a Keyring are provided, the S3EC MUST throw an exception.
892892 throw new S3EncryptionClientException ("Only one may be set of: crypto materials manager, keyring, AES key, RSA key pair, KMS key id" );
893893 }
0 commit comments