diff --git a/.doc_gen/metadata/s3_metadata.yaml b/.doc_gen/metadata/s3_metadata.yaml index 3dc7a565b33..ec065404228 100644 --- a/.doc_gen/metadata/s3_metadata.yaml +++ b/.doc_gen/metadata/s3_metadata.yaml @@ -2542,6 +2542,29 @@ s3_Scenario_UsingLargeFiles: - description: Upload a single file. snippet_tags: - s3.tm.java2.uploadfile.main + - description: The code examples use the following imports. + snippet_tags: + - s3.java2.performMultiPartUpload.import + - description: >- + Use the S3 Transfer Manager on top of the &AWS; + CRT-based S3 client to transparently perform a multipart upload when the size of the + content exceeds a threshold. The default threshold size is 8 MB. + snippet_tags: + - s3.java2.performMultiPartUpload.transferManager + - description: >- + Use the S3Client + API to perform a multipart upload. + snippet_tags: + - s3.java2.performMultiPartUpload.s3Client + - description: >- + Use the S3AsyncClient + API with multipart support enabled to perform a multipart upload. + snippet_tags: + - s3.java2.performMultiPartUpload.s3AsyncClient .NET: versions: - sdk_version: 3 @@ -3148,43 +3171,6 @@ s3_Scenario_UploadStream: services: s3: {} -s3_Scenario_MultipartUpload: - title: Perform a multipart upload of an &S3; object using an &AWS; SDK - title_abbrev: Perform a multipart upload - synopsis: perform a multipart upload to an &S3; object. - category: Scenarios - languages: - Java: - versions: - - sdk_version: 2 - github: javav2/example_code/s3 - sdkguide: - excerpts: - - description: The code examples use the following imports. - snippet_tags: - - s3.java2.performMultiPartUpload.import - - description: >- - Use the S3 Transfer Manager on top of the &AWS; - CRT-based S3 client to transparently perform a multipart upload when the size of the - content exceeds a threshold. The default threshold size is 8 MB. - snippet_tags: - - s3.java2.performMultiPartUpload.transferManager - - description: >- - Use the S3Client - API to perform a multipart upload. - snippet_tags: - - s3.java2.performMultiPartUpload.s3Client - - description: >- - Use the S3AsyncClient - API with multipart support enabled to perform a multipart upload. - snippet_tags: - - s3.java2.performMultiPartUpload.s3AsyncClient - services: - s3: {CreateMultipartUpload, UploadPart, CompleteMultipartUpload} s3_Scenario_UseChecksums: title: Use checksums to work with an &S3; object using an &AWS; SDK title_abbrev: Use checksums diff --git a/javav2/example_code/s3/README.md b/javav2/example_code/s3/README.md index c6700d14e52..6690b9e2817 100644 --- a/javav2/example_code/s3/README.md +++ b/javav2/example_code/s3/README.md @@ -83,7 +83,6 @@ functions within the same service. - [Download objects to a local directory](src/main/java/com/example/s3/transfermanager/DownloadToDirectory.java) - [Lock Amazon S3 objects](src/main/java/com/example/s3/lockscenario/S3ObjectLockWorkflow.java) - [Parse URIs](src/main/java/com/example/s3/ParseUri.java) -- [Perform a multipart upload](src/main/java/com/example/s3/PerformMultiPartUpload.java) - [Process S3 event notifications](src/main/java/com/example/s3/ProcessS3EventNotification.java) - [Send event notifications to EventBridge](src/main/java/com/example/s3/PutBucketS3EventNotificationEventBridge.java) - [Track uploads and downloads](src/main/java/com/example/s3/transfermanager/UploadFile.java) @@ -177,18 +176,6 @@ This example shows you how to parse Amazon S3 URIs to extract important componen -#### Perform a multipart upload - -This example shows you how to perform a multipart upload to an Amazon S3 object. - - - - - - - - - #### Process S3 event notifications This example shows you how to work with S3 event notifications in an object-oriented way.