@@ -210,7 +210,7 @@ public static Consumer<AwsRequestOverrideConfiguration.Builder> withAdditionalCo
210210 .putExecutionAttribute (S3EncryptionClient .CONFIGURATION , multipartConfiguration );
211211 }
212212
213- //= specification/s3-encryption/client.md#api-operations
213+ //= specification/s3-encryption/client.md#optional- api-operations
214214 //= type=implication
215215 //# ReEncryptInstructionFile MAY be implemented by the S3EC.
216216 /**
@@ -250,7 +250,7 @@ public ReEncryptInstructionFileResponse reEncryptInstructionFile(ReEncryptInstru
250250 final byte [] iv = contentMetadata .contentIv ();
251251
252252 //Decrypt the data key using the current keyring
253- //= specification/s3-encryption/client.md#api-operations
253+ //= specification/s3-encryption/client.md#optional- api-operations
254254 //= type=implication
255255 //# ReEncryptInstructionFile MUST decrypt the instruction file's encrypted data key for the given object using the client's CMM.
256256 DecryptionMaterials decryptedMaterials = this ._cryptoMaterialsManager .decryptMaterials (
@@ -271,7 +271,7 @@ public ReEncryptInstructionFileResponse reEncryptInstructionFile(ReEncryptInstru
271271 .build ();
272272
273273 //Re-encrypt the data key with the new keyring while preserving other cryptographic parameters
274- //= specification/s3-encryption/client.md#api-operations
274+ //= specification/s3-encryption/client.md#optional- api-operations
275275 //= type=implication
276276 //# ReEncryptInstructionFile MUST re-encrypt the plaintext data key with a provided keyring.
277277 RawKeyring newKeyring = reEncryptInstructionFileRequest .newKeyring ();
@@ -315,7 +315,7 @@ private void enforceRotation(EncryptionMaterials newEncryptionMaterials, GetObje
315315 throw new S3EncryptionClientException ("Re-encryption failed due to enforced rotation! Old keyring is still able to decrypt the newly encrypted data key" );
316316 }
317317
318- //= specification/s3-encryption/client.md#api-operations
318+ //= specification/s3-encryption/client.md#required- api-operations
319319 //= type=implication
320320 //# PutObject MUST be implemented by the S3EC.
321321 /**
@@ -355,7 +355,7 @@ public PutObjectResponse putObject(PutObjectRequest putObjectRequest, RequestBod
355355 ExecutorService singleThreadExecutor = Executors .newSingleThreadExecutor ();
356356
357357 try {
358- //= specification/s3-encryption/client.md#api-operations
358+ //= specification/s3-encryption/client.md#required- api-operations
359359 //= type=implication
360360 //# PutObject MUST encrypt its input data before it is uploaded to S3.
361361 CompletableFuture <PutObjectResponse > futurePut = pipeline .putObject (putObjectRequest ,
@@ -382,7 +382,7 @@ public PutObjectResponse putObject(PutObjectRequest putObjectRequest, RequestBod
382382
383383 }
384384
385- //= specification/s3-encryption/client.md#api-operations
385+ //= specification/s3-encryption/client.md#required- api-operations
386386 //= type=implication
387387 //# GetObject MUST be implemented by the S3EC.
388388 /**
@@ -406,7 +406,7 @@ public <T> T getObject(GetObjectRequest getObjectRequest,
406406 ResponseTransformer <GetObjectResponse , T > responseTransformer )
407407 throws AwsServiceException , SdkClientException {
408408
409- //= specification/s3-encryption/client.md#api-operations
409+ //= specification/s3-encryption/client.md#required- api-operations
410410 //= type=implication
411411 //# GetObject MUST decrypt data received from the S3 server and return it as plaintext.
412412 GetEncryptedObjectPipeline pipeline = GetEncryptedObjectPipeline .builder ()
@@ -516,7 +516,7 @@ private <T extends Throwable> T onAbort(UploadObjectObserver observer, T t) {
516516 throw new S3EncryptionClientException (t .getMessage (), t );
517517 }
518518
519- //= specification/s3-encryption/client.md#api-operations
519+ //= specification/s3-encryption/client.md#required- api-operations
520520 //= type=implication
521521 //# DeleteObject MUST be implemented by the S3EC.
522522 /**
@@ -536,11 +536,11 @@ public DeleteObjectResponse deleteObject(DeleteObjectRequest deleteObjectRequest
536536 .build ();
537537
538538 try {
539- //= specification/s3-encryption/client.md#api-operations
539+ //= specification/s3-encryption/client.md#required- api-operations
540540 //= type=implementation
541541 //# DeleteObject MUST delete the given object key.
542542 DeleteObjectResponse deleteObjectResponse = _wrappedAsyncClient .deleteObject (actualRequest ).join ();
543- //= specification/s3-encryption/client.md#api-operations
543+ //= specification/s3-encryption/client.md#required- api-operations
544544 //= type=implementation
545545 //# DeleteObject MUST delete the associated instruction file using the default instruction file suffix.
546546 String instructionObjectKey = deleteObjectRequest .key () + DEFAULT_INSTRUCTION_FILE_SUFFIX ;
@@ -557,7 +557,7 @@ public DeleteObjectResponse deleteObject(DeleteObjectRequest deleteObjectRequest
557557 }
558558 }
559559
560- //= specification/s3-encryption/client.md#api-operations
560+ //= specification/s3-encryption/client.md#required- api-operations
561561 //= type=implication
562562 //# DeleteObjects MUST be implemented by the S3EC.
563563 /**
@@ -576,11 +576,11 @@ public DeleteObjectsResponse deleteObjects(DeleteObjectsRequest deleteObjectsReq
576576 .overrideConfiguration (API_NAME_INTERCEPTOR )
577577 .build ();
578578 try {
579- //= specification/s3-encryption/client.md#api-operations
579+ //= specification/s3-encryption/client.md#required- api-operations
580580 //= type=implementation
581581 //# DeleteObjects MUST delete each of the given objects.
582582 DeleteObjectsResponse deleteObjectsResponse = _wrappedAsyncClient .deleteObjects (actualRequest ).join ();
583- //= specification/s3-encryption/client.md#api-operations
583+ //= specification/s3-encryption/client.md#required- api-operations
584584 //= type=implementation
585585 //# DeleteObjects MUST delete each of the corresponding instruction files using the default instruction file suffix.
586586 List <ObjectIdentifier > deleteObjects = instructionFileKeysToDelete (deleteObjectsRequest );
@@ -597,7 +597,7 @@ public DeleteObjectsResponse deleteObjects(DeleteObjectsRequest deleteObjectsReq
597597 }
598598 }
599599
600- //= specification/s3-encryption/client.md#api-operations
600+ //= specification/s3-encryption/client.md#optional- api-operations
601601 //= type=implication
602602 //# CreateMultipartUpload MAY be implemented by the S3EC.
603603 /**
@@ -621,7 +621,7 @@ public CreateMultipartUploadResponse createMultipartUpload(CreateMultipartUpload
621621 }
622622 }
623623
624- //= specification/s3-encryption/client.md#api-operations
624+ //= specification/s3-encryption/client.md#optional- api-operations
625625 //= type=implication
626626 //# UploadPart MAY be implemented by the S3EC.
627627 /**
@@ -647,7 +647,7 @@ public UploadPartResponse uploadPart(UploadPartRequest request, RequestBody requ
647647 }
648648 }
649649
650- //= specification/s3-encryption/client.md#api-operations
650+ //= specification/s3-encryption/client.md#optional- api-operations
651651 //= type=implication
652652 //# CompleteMultipartUpload MAY be implemented by the S3EC.
653653 /**
@@ -667,7 +667,7 @@ public CompleteMultipartUploadResponse completeMultipartUpload(CompleteMultipart
667667 }
668668 }
669669
670- //= specification/s3-encryption/client.md#api-operations
670+ //= specification/s3-encryption/client.md#optional- api-operations
671671 //= type=implication
672672 //# AbortMultipartUpload MAY be implemented by the S3EC.
673673 /**
@@ -965,7 +965,7 @@ public Builder enableMultipartPutObject(boolean _enableMultipartPutObject) {
965965
966966 //= specification/s3-encryption/client.md#set-buffer-size
967967 //= type=implication
968- //# The S3EC SHOULD accept a configurable buffer size which refers to the maximum ciphertext length to store in memory when delayed authentication mode is disabled.
968+ //# The S3EC SHOULD accept a configurable buffer size which refers to the maximum ciphertext length in bytes to store in memory when Delayed Authentication mode is disabled.
969969 /**
970970 * Sets the buffer size for safe authentication used when delayed authentication mode is disabled.
971971 * If buffer size is not given during client configuration, default buffer size is set to 64MiB.
0 commit comments