Skip to content

Commit beab404

Browse files
authoredMar 4, 2025
Mark code that has been deleted in V4 as obsolete in V3 (#3685)
* Mark code that has been deleted in V4 as obsolete in V3 * Add CloudFront and change log file
1 parent 43086a3 commit beab404

9 files changed

+29
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"services": [
3+
{
4+
"serviceName": "CloudFront",
5+
"type": "patch",
6+
"changeLogMessages": [
7+
"Mark AmazonCloudFrontUtil as obsolete and will be removed in the next major version."
8+
]
9+
},
10+
{
11+
"serviceName": "EC2",
12+
"type": "patch",
13+
"changeLogMessages": [
14+
"Mark ImageUtilities as obsolete and will be removed in the next major version.",
15+
"Mark VPCUtilities as obsolete and will be removed in the next major version."
16+
]
17+
}
18+
]
19+
}

‎sdk/src/Services/CloudFront/Custom/Util/_bcl/AmazonCloudFrontUtil.cs

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
*
2121
*/
2222

23+
using System;
2324
using System.Collections.Specialized;
2425

2526
using Amazon.Util;
@@ -29,6 +30,7 @@ namespace Amazon.CloudFront.Util
2930
/// <summary>
3031
/// Provides utilities used by the Amazon CloudFront client implementation.
3132
/// </summary>
33+
[Obsolete("This utility class is no longer maintained and will be removed in the next major version.")]
3234
public static class AmazonCloudFrontUtil
3335
{
3436
/// <summary>

‎sdk/src/Services/EC2/Custom/Util/ImageUtilities.cs

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ namespace Amazon.EC2.Util
3737
/// <summary>
3838
/// This class has utility methods for finding common Amazon machine images.
3939
/// </summary>
40+
///
41+
[Obsolete("This utility class is no longer maintained and will be removed in the next major version.")]
4042
public static partial class ImageUtilities
4143
{
4244
#region ImageKeys

‎sdk/src/Services/EC2/Custom/Util/LaunchNATInstanceRequest.cs

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ namespace Amazon.EC2.Util
2828
/// <summary>
2929
/// Request class to launch a NAT instance
3030
/// </summary>
31+
[Obsolete("This utility class is no longer maintained and will be removed in the next major version.")]
3132
public class LaunchNATInstanceRequest
3233
{
3334
string subnetId;

‎sdk/src/Services/EC2/Custom/Util/LaunchVPCWithPublicAndPrivateSubnetsRequest.cs

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ namespace Amazon.EC2.Util
2828
/// The properties used to create a VPC, a public subnet, private subnet and a NAT EC2 instance to allow EC2 instances in the private
2929
/// subnet to establish outbound connections to the internet.
3030
/// </summary>
31+
[Obsolete("This utility class is no longer maintained and will be removed in the next major version.")]
3132
public class LaunchVPCWithPublicAndPrivateSubnetsRequest : LaunchVPCWithPublicSubnetRequest
3233
{
3334
string privateSubnetCiderBlock = "10.0.1.0/24";

‎sdk/src/Services/EC2/Custom/Util/LaunchVPCWithPublicAndPrivateSubnetsResponse.cs

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ namespace Amazon.EC2.Util
2828
/// <summary>
2929
/// This object contains the VPC objects that were created as part of the launch VPC with public and private subnets operation.
3030
/// </summary>
31+
[Obsolete("This utility class is no longer maintained and will be removed in the next major version.")]
3132
public class LaunchVPCWithPublicAndPrivateSubnetsResponse : LaunchVPCWithPublicSubnetResponse
3233
{
3334
/// <summary>

‎sdk/src/Services/EC2/Custom/Util/LaunchVPCWithPublicSubnetRequest.cs

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ namespace Amazon.EC2.Util
2727
/// <summary>
2828
/// The properties used to create a VPC with a subnet that will have an internet gateway attached making instances available to the internet.
2929
/// </summary>
30+
[Obsolete("This utility class is no longer maintained and will be removed in the next major version.")]
3031
public class LaunchVPCWithPublicSubnetRequest
3132
{
3233
string vpcName;

‎sdk/src/Services/EC2/Custom/Util/LaunchVPCWithPublicSubnetResponse.cs

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ namespace Amazon.EC2.Util
2929
/// <summary>
3030
/// This object contains the VPC objects that were created as part of the launch VPC with public subnet operation.
3131
/// </summary>
32+
[Obsolete("This utility class is no longer maintained and will be removed in the next major version.")]
3233
public class LaunchVPCWithPublicSubnetResponse
3334
{
3435
/// <summary>

‎sdk/src/Services/EC2/Custom/Util/VPCUtilities.cs

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ namespace Amazon.EC2.Util
3333
/// <summary>
3434
/// This class has utility methods used for setting up a VPC.
3535
/// </summary>
36+
[Obsolete("This utility class is no longer maintained and will be removed in the next major version.")]
3637
public static partial class VPCUtilities
3738
{
3839
/// <summary>

0 commit comments

Comments
 (0)
Failed to load comments.