From 5aff189fcd48bb2d6080627676e8626b9cdc2c45 Mon Sep 17 00:00:00 2001 From: scmacdon Date: Mon, 7 Oct 2024 16:39:15 -0400 Subject: [PATCH] updated v1 Redshift Java files with newer message --- java/example_code/redshift/ConnectToCluster.java | 7 +++---- java/example_code/redshift/CreateAndDescribeSnapshot.java | 6 +++--- java/example_code/redshift/CreateAndModifyCluster.java | 7 +++---- .../redshift/CreateAndModifyClusterParameterGroup.java | 6 +++--- .../redshift/CreateAndModifyClusterSecurityGroup.java | 6 +++--- .../redshift/CreateAndModifyClusterSubnetGroup.java | 6 +++--- .../redshift/ListAndPurchaseReservedNodeOffering.java | 6 +++--- java/example_code/redshift/ListEvents.java | 6 +++--- 8 files changed, 24 insertions(+), 26 deletions(-) diff --git a/java/example_code/redshift/ConnectToCluster.java b/java/example_code/redshift/ConnectToCluster.java index 234137e3655..a7fc103f75b 100644 --- a/java/example_code/redshift/ConnectToCluster.java +++ b/java/example_code/redshift/ConnectToCluster.java @@ -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] \ No newline at end of file diff --git a/java/example_code/redshift/CreateAndDescribeSnapshot.java b/java/example_code/redshift/CreateAndDescribeSnapshot.java index e44a6122982..6990c9d3e51 100644 --- a/java/example_code/redshift/CreateAndDescribeSnapshot.java +++ b/java/example_code/redshift/CreateAndDescribeSnapshot.java @@ -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 diff --git a/java/example_code/redshift/CreateAndModifyCluster.java b/java/example_code/redshift/CreateAndModifyCluster.java index 291ff17d913..aacddba59ca 100644 --- a/java/example_code/redshift/CreateAndModifyCluster.java +++ b/java/example_code/redshift/CreateAndModifyCluster.java @@ -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] diff --git a/java/example_code/redshift/CreateAndModifyClusterParameterGroup.java b/java/example_code/redshift/CreateAndModifyClusterParameterGroup.java index 5f3bdf4ca4a..a7f79f730ee 100644 --- a/java/example_code/redshift/CreateAndModifyClusterParameterGroup.java +++ b/java/example_code/redshift/CreateAndModifyClusterParameterGroup.java @@ -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 diff --git a/java/example_code/redshift/CreateAndModifyClusterSecurityGroup.java b/java/example_code/redshift/CreateAndModifyClusterSecurityGroup.java index 069c58a29e9..4464dd5f8d0 100644 --- a/java/example_code/redshift/CreateAndModifyClusterSecurityGroup.java +++ b/java/example_code/redshift/CreateAndModifyClusterSecurityGroup.java @@ -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 diff --git a/java/example_code/redshift/CreateAndModifyClusterSubnetGroup.java b/java/example_code/redshift/CreateAndModifyClusterSubnetGroup.java index 850a599e4f5..f1694108353 100644 --- a/java/example_code/redshift/CreateAndModifyClusterSubnetGroup.java +++ b/java/example_code/redshift/CreateAndModifyClusterSubnetGroup.java @@ -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 diff --git a/java/example_code/redshift/ListAndPurchaseReservedNodeOffering.java b/java/example_code/redshift/ListAndPurchaseReservedNodeOffering.java index 72e7d58f68f..6c8d6191dd9 100644 --- a/java/example_code/redshift/ListAndPurchaseReservedNodeOffering.java +++ b/java/example_code/redshift/ListAndPurchaseReservedNodeOffering.java @@ -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 diff --git a/java/example_code/redshift/ListEvents.java b/java/example_code/redshift/ListEvents.java index 125deafddbe..c22f4895153 100644 --- a/java/example_code/redshift/ListEvents.java +++ b/java/example_code/redshift/ListEvents.java @@ -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