Skip to content

Commit 296fca6

Browse files
authored
Updated S3 Metadata file so all MPU under one section to address a tic (#7004)
1 parent 0750cb8 commit 296fca6

File tree

2 files changed

+23
-50
lines changed

2 files changed

+23
-50
lines changed

.doc_gen/metadata/s3_metadata.yaml

Lines changed: 23 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -2542,6 +2542,29 @@ s3_Scenario_UsingLargeFiles:
25422542
- description: Upload a single file.
25432543
snippet_tags:
25442544
- s3.tm.java2.uploadfile.main
2545+
- description: The code examples use the following imports.
2546+
snippet_tags:
2547+
- s3.java2.performMultiPartUpload.import
2548+
- description: >-
2549+
Use the <ulink url="sdk-for-java/latest/developer-guide/transfer-manager.html"
2550+
type="documentation">S3 Transfer Manager</ulink> on top of the <ulink
2551+
url="sdk-for-java/latest/developer-guide/crt-based-s3-client.html" type="documentation">&AWS;
2552+
CRT-based S3 client</ulink> to transparently perform a multipart upload when the size of the
2553+
content exceeds a threshold. The default threshold size is 8 MB.
2554+
snippet_tags:
2555+
- s3.java2.performMultiPartUpload.transferManager
2556+
- description: >-
2557+
Use the <ulink
2558+
url="https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/s3/S3Client.html">S3Client
2559+
API</ulink> to perform a multipart upload.
2560+
snippet_tags:
2561+
- s3.java2.performMultiPartUpload.s3Client
2562+
- description: >-
2563+
Use the <ulink
2564+
url="https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/s3/S3AsyncClient.html">S3AsyncClient
2565+
API</ulink> with multipart support enabled to perform a multipart upload.
2566+
snippet_tags:
2567+
- s3.java2.performMultiPartUpload.s3AsyncClient
25452568
.NET:
25462569
versions:
25472570
- sdk_version: 3
@@ -3148,43 +3171,6 @@ s3_Scenario_UploadStream:
31483171

31493172
services:
31503173
s3: {}
3151-
s3_Scenario_MultipartUpload:
3152-
title: Perform a multipart upload of an &S3; object using an &AWS; SDK
3153-
title_abbrev: Perform a multipart upload
3154-
synopsis: perform a multipart upload to an &S3; object.
3155-
category: Scenarios
3156-
languages:
3157-
Java:
3158-
versions:
3159-
- sdk_version: 2
3160-
github: javav2/example_code/s3
3161-
sdkguide:
3162-
excerpts:
3163-
- description: The code examples use the following imports.
3164-
snippet_tags:
3165-
- s3.java2.performMultiPartUpload.import
3166-
- description: >-
3167-
Use the <ulink url="sdk-for-java/latest/developer-guide/transfer-manager.html"
3168-
type="documentation">S3 Transfer Manager</ulink> on top of the <ulink
3169-
url="sdk-for-java/latest/developer-guide/crt-based-s3-client.html" type="documentation">&AWS;
3170-
CRT-based S3 client</ulink> to transparently perform a multipart upload when the size of the
3171-
content exceeds a threshold. The default threshold size is 8 MB.
3172-
snippet_tags:
3173-
- s3.java2.performMultiPartUpload.transferManager
3174-
- description: >-
3175-
Use the <ulink
3176-
url="https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/s3/S3Client.html">S3Client
3177-
API</ulink> to perform a multipart upload.
3178-
snippet_tags:
3179-
- s3.java2.performMultiPartUpload.s3Client
3180-
- description: >-
3181-
Use the <ulink
3182-
url="https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/s3/S3AsyncClient.html">S3AsyncClient
3183-
API</ulink> with multipart support enabled to perform a multipart upload.
3184-
snippet_tags:
3185-
- s3.java2.performMultiPartUpload.s3AsyncClient
3186-
services:
3187-
s3: {CreateMultipartUpload, UploadPart, CompleteMultipartUpload}
31883174
s3_Scenario_UseChecksums:
31893175
title: Use checksums to work with an &S3; object using an &AWS; SDK
31903176
title_abbrev: Use checksums

javav2/example_code/s3/README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ functions within the same service.
8383
- [Download objects to a local directory](src/main/java/com/example/s3/transfermanager/DownloadToDirectory.java)
8484
- [Lock Amazon S3 objects](src/main/java/com/example/s3/lockscenario/S3ObjectLockWorkflow.java)
8585
- [Parse URIs](src/main/java/com/example/s3/ParseUri.java)
86-
- [Perform a multipart upload](src/main/java/com/example/s3/PerformMultiPartUpload.java)
8786
- [Process S3 event notifications](src/main/java/com/example/s3/ProcessS3EventNotification.java)
8887
- [Send event notifications to EventBridge](src/main/java/com/example/s3/PutBucketS3EventNotificationEventBridge.java)
8988
- [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
177176
<!--custom.scenarios.s3_Scenario_URIParsing.start-->
178177
<!--custom.scenarios.s3_Scenario_URIParsing.end-->
179178

180-
#### Perform a multipart upload
181-
182-
This example shows you how to perform a multipart upload to an Amazon S3 object.
183-
184-
185-
<!--custom.scenario_prereqs.s3_Scenario_MultipartUpload.start-->
186-
<!--custom.scenario_prereqs.s3_Scenario_MultipartUpload.end-->
187-
188-
189-
<!--custom.scenarios.s3_Scenario_MultipartUpload.start-->
190-
<!--custom.scenarios.s3_Scenario_MultipartUpload.end-->
191-
192179
#### Process S3 event notifications
193180

194181
This example shows you how to work with S3 event notifications in an object-oriented way.

0 commit comments

Comments
 (0)