Skip to content

Commit 9d4fea3

Browse files
authoredMar 6, 2025
Remove S3 code that was obsolete in V3 for V4. (#3686)
The GetACL and PutACL obsoletes were left since they were only obsolete in V4.
1 parent 1e44507 commit 9d4fea3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+68
-1373
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"services": [
3+
{
4+
"serviceName": "S3",
5+
"type": "patch",
6+
"changeLogMessages": [
7+
"Remove obsolete DisableMD5Stream property. Code should be updated to use DisableDefaultChecksumValidation property.",
8+
"Remove obsolete ServerSideEncryptionMethod and ServerSideEncryptionKeyManagementServiceKeyId from CopyPart. This should be set in the InitiateMultipartUpload method.",
9+
"Remove obsolete Expires property from GetObjectResponse. Code should be updated to use ExpiresString. Since the string may not be in a valid timestamp format code shoud use TryParse when converting to DateTime.",
10+
"Remove obsolete region identifiers from S3Region enumeration",
11+
"Remove obsolete Prefix property from LifecycleConfiguration. Code should be updated to use Filter property.",
12+
"Remove obsolete Transition and NoncurrentVersionTransition from LifecycleRule. Could should be updated to use the collection versions Transitions and NoncurrentVersionTransitions.",
13+
"Remove obsolete Event property from TopicConfiguration. Code should be updated to use the collection property Events.",
14+
"Remove obsolete CalculateContentMD5Header property. This property no longer needed to be set because the SDK will compute a checksum by default.",
15+
"Remove obsolete Bucket property from SelectObjectContentRequest. Code should be updated to use BucketName.",
16+
"Remove obsolete NumberOfUploadThreads property from TransferUtilityConfig. Code should be updated to use ConcurrentServiceRequests.",
17+
"Remove obsolete DoesS3BucketExist method. Code should be updated to use DoesS3BucketExistV2"
18+
]
19+
}
20+
]
21+
}

‎sdk/src/Core/Amazon.Runtime/SharedInterfaces/_bcl/ICoreAmazonS3.cs

-7
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,5 @@ public partial interface ICoreAmazonS3
8989
/// </summary>
9090
/// <param name="bucketName"></param>
9191
void EnsureBucketExists(string bucketName);
92-
93-
/// <summary>
94-
/// Check to see if the bucket exists.
95-
/// </summary>
96-
/// <param name="bucketName"></param>
97-
/// <returns></returns>
98-
bool DoesS3BucketExist(string bucketName);
9992
}
10093
}

0 commit comments

Comments
 (0)
Failed to load comments.