Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark code that has been deleted in V4 as obsolete in V3 #3685

Merged
merged 2 commits into from
Mar 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions generator/.DevConfigs/B065642D-B26D-4814-989D-053713461D9B.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"services": [
{
"serviceName": "CloudFront",
"type": "patch",
"changeLogMessages": [
"Mark AmazonCloudFrontUtil as obsolete and will be removed in the next major version."
]
},
{
"serviceName": "EC2",
"type": "patch",
"changeLogMessages": [
"Mark ImageUtilities as obsolete and will be removed in the next major version.",
"Mark VPCUtilities as obsolete and will be removed in the next major version."
]
}
]
}
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@
*
*/

using System;
using System.Collections.Specialized;

using Amazon.Util;
@@ -29,6 +30,7 @@ namespace Amazon.CloudFront.Util
/// <summary>
/// Provides utilities used by the Amazon CloudFront client implementation.
/// </summary>
[Obsolete("This utility class is no longer maintained and will be removed in the next major version.")]
public static class AmazonCloudFrontUtil
{
/// <summary>
2 changes: 2 additions & 0 deletions sdk/src/Services/EC2/Custom/Util/ImageUtilities.cs
Original file line number Diff line number Diff line change
@@ -37,6 +37,8 @@ namespace Amazon.EC2.Util
/// <summary>
/// This class has utility methods for finding common Amazon machine images.
/// </summary>
///
[Obsolete("This utility class is no longer maintained and will be removed in the next major version.")]
public static partial class ImageUtilities
{
#region ImageKeys
Original file line number Diff line number Diff line change
@@ -28,6 +28,7 @@ namespace Amazon.EC2.Util
/// <summary>
/// Request class to launch a NAT instance
/// </summary>
[Obsolete("This utility class is no longer maintained and will be removed in the next major version.")]
public class LaunchNATInstanceRequest
{
string subnetId;
Original file line number Diff line number Diff line change
@@ -28,6 +28,7 @@ namespace Amazon.EC2.Util
/// The properties used to create a VPC, a public subnet, private subnet and a NAT EC2 instance to allow EC2 instances in the private
/// subnet to establish outbound connections to the internet.
/// </summary>
[Obsolete("This utility class is no longer maintained and will be removed in the next major version.")]
public class LaunchVPCWithPublicAndPrivateSubnetsRequest : LaunchVPCWithPublicSubnetRequest
{
string privateSubnetCiderBlock = "10.0.1.0/24";
Original file line number Diff line number Diff line change
@@ -28,6 +28,7 @@ namespace Amazon.EC2.Util
/// <summary>
/// This object contains the VPC objects that were created as part of the launch VPC with public and private subnets operation.
/// </summary>
[Obsolete("This utility class is no longer maintained and will be removed in the next major version.")]
public class LaunchVPCWithPublicAndPrivateSubnetsResponse : LaunchVPCWithPublicSubnetResponse
{
/// <summary>
Original file line number Diff line number Diff line change
@@ -27,6 +27,7 @@ namespace Amazon.EC2.Util
/// <summary>
/// The properties used to create a VPC with a subnet that will have an internet gateway attached making instances available to the internet.
/// </summary>
[Obsolete("This utility class is no longer maintained and will be removed in the next major version.")]
public class LaunchVPCWithPublicSubnetRequest
{
string vpcName;
Original file line number Diff line number Diff line change
@@ -29,6 +29,7 @@ namespace Amazon.EC2.Util
/// <summary>
/// This object contains the VPC objects that were created as part of the launch VPC with public subnet operation.
/// </summary>
[Obsolete("This utility class is no longer maintained and will be removed in the next major version.")]
public class LaunchVPCWithPublicSubnetResponse
{
/// <summary>
1 change: 1 addition & 0 deletions sdk/src/Services/EC2/Custom/Util/VPCUtilities.cs
Original file line number Diff line number Diff line change
@@ -33,6 +33,7 @@ namespace Amazon.EC2.Util
/// <summary>
/// This class has utility methods used for setting up a VPC.
/// </summary>
[Obsolete("This utility class is no longer maintained and will be removed in the next major version.")]
public static partial class VPCUtilities
{
/// <summary>