Skip to content

Commit

Permalink
updated v1 Redshift Java files with newer message
Browse files Browse the repository at this point in the history
  • Loading branch information
scmacdon authored and DavidSouther committed Oct 8, 2024
1 parent f2c0cbf commit 5882621
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 26 deletions.
7 changes: 3 additions & 4 deletions java/example_code/redshift/ConnectToCluster.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@

package connection;
public class ConnectToCluster {
/*
The AWS SDK for Java v1 is on path to deprection. See:
https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/
/*
The AWS SDK for Java v1 is approaching end-of-support. For more information, see:
https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/
See the V2 version here:
https://github.com/awsdocs/aws-doc-sdk-examples/blob/main/javav2/example_code/redshift
*/


}
// snippet-end:[redshift.java.ConnectToCluster.complete]
6 changes: 3 additions & 3 deletions java/example_code/redshift/CreateAndDescribeSnapshot.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// snippet-start:[redshift.java.CreateAndDescribeSnapshot.complete]

public class CreateAndDescribeSnapshot {
/*
The AWS SDK for Java v1 is on path to deprection. See:
https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/
/*
The AWS SDK for Java v1 is approaching end-of-support. For more information, see:
https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/
See the V2 version here:
https://github.com/awsdocs/aws-doc-sdk-examples/blob/main/javav2/example_code/redshift
Expand Down
7 changes: 3 additions & 4 deletions java/example_code/redshift/CreateAndModifyCluster.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@
// snippet-start:[redshift.java.CreateAndModifyCluster.complete]

public class CreateAndModifyCluster {
/*
The AWS SDK for Java v1 is on path to deprection. See:
https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/
/*
The AWS SDK for Java v1 is approaching end-of-support. For more information, see:
https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/
See the V2 version here:
https://github.com/awsdocs/aws-doc-sdk-examples/blob/main/javav2/example_code/redshift
*/

}

// snippet-end:[redshift.java.CreateAndModifyCluster.complete]
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
import com.amazonaws.services.redshift.model.*;

public class CreateAndModifyClusterParameterGroup {
/*
The AWS SDK for Java v1 is on path to deprection. See:
https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/
/*
The AWS SDK for Java v1 is approaching end-of-support. For more information, see:
https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/
See the V2 version here:
https://github.com/awsdocs/aws-doc-sdk-examples/blob/main/javav2/example_code/redshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

public class CreateAndModifyClusterSecurityGroup {

/*
The AWS SDK for Java v1 is on path to deprection. See:
https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/
/*
The AWS SDK for Java v1 is approaching end-of-support. For more information, see:
https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/
See the V2 version here:
https://github.com/awsdocs/aws-doc-sdk-examples/blob/main/javav2/example_code/redshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
import com.amazonaws.services.redshift.model.*;

public class CreateAndModifyClusterSubnetGroup {
/*
The AWS SDK for Java v1 is on path to deprection. See:
https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/
/*
The AWS SDK for Java v1 is approaching end-of-support. For more information, see:
https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/
See the V2 version here:
https://github.com/awsdocs/aws-doc-sdk-examples/blob/main/javav2/example_code/redshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
import com.amazonaws.services.redshift.model.*;

public class ListAndPurchaseReservedNodeOffering {
/*
The AWS SDK for Java v1 is on path to deprection. See:
https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/
/*
The AWS SDK for Java v1 is approaching end-of-support. For more information, see:
https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/
See the V2 version here:
https://github.com/awsdocs/aws-doc-sdk-examples/blob/main/javav2/example_code/redshift
Expand Down
6 changes: 3 additions & 3 deletions java/example_code/redshift/ListEvents.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

// snippet-start:[redshift.java.ListEvents.complete]
public class ListEvents {
/*
The AWS SDK for Java v1 is on path to deprection. See:
https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/
/*
The AWS SDK for Java v1 is approaching end-of-support. For more information, see:
https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/
See the V2 version here:
https://github.com/awsdocs/aws-doc-sdk-examples/blob/main/javav2/example_code/redshift
Expand Down

0 comments on commit 5882621

Please sign in to comment.