AWS Security ChangesHomeSearch

AWS Route53 documentation change

Service: Route53 · 2026-01-10 · Documentation low

File: Route53/latest/DeveloperGuide/service_code_examples_route-53-domains.md

Summary

Removed all code examples for Route 53 Domains' ListPrices API across .NET, Java, and Kotlin SDKs, including introductory explanations and implementation details.

Security assessment

The change removes non-sensitive pricing API examples without any evidence of security vulnerabilities. The ListPrices operation displays public domain registration costs and doesn't involve authentication, data handling, or security configurations. No security implications exist as this is purely documentation cleanup.

Diff

diff --git a/Route53/latest/DeveloperGuide/service_code_examples_route-53-domains.md b/Route53/latest/DeveloperGuide/service_code_examples_route-53-domains.md
index 0aa85f3d7..4ecacb0f3 100644
--- a//Route53/latest/DeveloperGuide/service_code_examples_route-53-domains.md
+++ b//Route53/latest/DeveloperGuide/service_code_examples_route-53-domains.md
@@ -15,209 +14,0 @@ For a complete list of AWS SDK developer guides and code examples, see [Using Ro
-**Get started**
-
-The following code examples show how to get started using Route 53 domain registration.
-
-.NET
-    
-
-**SDK for .NET**
-    
-
-###### Note
-
-There's more on GitHub. Find the complete example and learn how to set up and run in the [AWS Code Examples Repository](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/dotnetv3/Route53#code-examples). 
-    
-    
-    public static class HelloRoute53Domains
-    {
-        static async Task Main(string[] args)
-        {
-            // Use the AWS .NET Core Setup package to set up dependency injection for the Amazon Route 53 domain registration service.
-            // Use your AWS profile name, or leave it blank to use the default profile.
-            using var host = Host.CreateDefaultBuilder(args)
-                .ConfigureServices((_, services) =>
-                    services.AddAWSService<IAmazonRoute53Domains>()
-                ).Build();
-    
-            // Now the client is available for injection.
-            var route53Client = host.Services.GetRequiredService<IAmazonRoute53Domains>();
-    
-            // You can use await and any of the async methods to get a response.
-            var response = await route53Client.ListPricesAsync(new ListPricesRequest { Tld = "com" });
-            Console.WriteLine($"Hello Amazon Route 53 Domains! Following are prices for .com domain operations:");
-            var comPrices = response.Prices.FirstOrDefault();
-            if (comPrices != null)
-            {
-                Console.WriteLine($"\tRegistration: {comPrices.RegistrationPrice?.Price} {comPrices.RegistrationPrice?.Currency}");
-                Console.WriteLine($"\tRenewal: {comPrices.RenewalPrice?.Price} {comPrices.RenewalPrice?.Currency}");
-            }
-        }
-    }
-    
-    
-
-  * For API details, see [ListPrices](https://docs.aws.amazon.com/goto/DotNetSDKV3/route53domains-2014-05-15/ListPrices) in _AWS SDK for .NET API Reference_. 
-
-
-
-
-Java
-    
-
-**SDK for Java 2.x**
-    
-
-###### Note
-
-There's more on GitHub. Find the complete example and learn how to set up and run in the [AWS Code Examples Repository](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javav2/example_code/route53#code-examples). 
-    
-    
-    import software.amazon.awssdk.regions.Region;
-    import software.amazon.awssdk.services.route53domains.Route53DomainsClient;
-    import software.amazon.awssdk.services.route53.model.Route53Exception;
-    import software.amazon.awssdk.services.route53domains.model.DomainPrice;
-    import software.amazon.awssdk.services.route53domains.model.ListPricesRequest;
-    import software.amazon.awssdk.services.route53domains.model.ListPricesResponse;
-    import java.util.List;
-    
-    /**
-     * Before running this Java V2 code example, set up your development
-     * environment, including your credentials.
-     *
-     * For more information, see the following documentation topic:
-     *
-     * https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/get-started.html
-     *
-     * This Java code examples performs the following operation:
-     *
-     * 1. Invokes ListPrices for at least one domain type, such as the “com” type
-     * and displays the prices for Registration and Renewal.
-     *
-     */
-    public class HelloRoute53 {
-        public static final String DASHES = new String(new char[80]).replace("\0", "-");
-    
-        public static void main(String[] args) {
-            final String usage = "\n" +
-                    "Usage:\n" +
-                    "    <hostedZoneId> \n\n" +
-                    "Where:\n" +
-                    "    hostedZoneId - The id value of an existing hosted zone. \n";
-    
-            if (args.length != 1) {
-                System.out.println(usage);
-                System.exit(1);
-            }
-    
-            String domainType = args[0];
-            Region region = Region.US_EAST_1;
-            Route53DomainsClient route53DomainsClient = Route53DomainsClient.builder()
-                    .region(region)
-                    .build();
-    
-            System.out.println(DASHES);
-            System.out.println("Invokes ListPrices for at least one domain type.");
-            listPrices(route53DomainsClient, domainType);
-            System.out.println(DASHES);
-        }
-    
-        public static void listPrices(Route53DomainsClient route53DomainsClient, String domainType) {
-            try {
-                ListPricesRequest pricesRequest = ListPricesRequest.builder()
-                        .maxItems(10)
-                        .tld(domainType)
-                        .build();
-    
-                ListPricesResponse response = route53DomainsClient.listPrices(pricesRequest);
-                List<DomainPrice> prices = response.prices();
-                for (DomainPrice pr : prices) {
-                    System.out.println("Name: " + pr.name());
-                    System.out.println(
-                            "Registration: " + pr.registrationPrice().price() + " " + pr.registrationPrice().currency());
-                    System.out.println("Renewal: " + pr.renewalPrice().price() + " " + pr.renewalPrice().currency());
-                    System.out.println("Transfer: " + pr.transferPrice().price() + " " + pr.transferPrice().currency());
-                    System.out.println("Transfer: " + pr.transferPrice().price() + " " + pr.transferPrice().currency());
-                    System.out.println("Change Ownership: " + pr.changeOwnershipPrice().price() + " "
-                            + pr.changeOwnershipPrice().currency());
-                    System.out.println(
-                            "Restoration: " + pr.restorationPrice().price() + " " + pr.restorationPrice().currency());
-                    System.out.println(" ");
-                }
-    
-            } catch (Route53Exception e) {
-                System.err.println(e.getMessage());
-                System.exit(1);
-            }
-        }
-    }
-    
-    
-
-  * For API details, see [ListPrices](https://docs.aws.amazon.com/goto/SdkForJavaV2/route53domains-2014-05-15/ListPrices) in _AWS SDK for Java 2.x API Reference_. 
-
-
-
-
-Kotlin
-    
-
-**SDK for Kotlin**
-    
-
-###### Note
-
-There's more on GitHub. Find the complete example and learn how to set up and run in the [AWS Code Examples Repository](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/kotlin/services/route53#code-examples). 
-    
-    
-    /**
-     Before running this Kotlin code example, set up your development environment,
-     including your credentials.
-    
-     For more information, see the following documentation topic:
-     https://docs.aws.amazon.com/sdk-for-kotlin/latest/developer-guide/setup.html
-     */
-    suspend fun main(args: Array<String>) {
-        val usage = """
-            Usage:
-               <domainType> 
-    
-           Where:
-               domainType - The domain type (for example, com). 
-        """
-    
-        if (args.size != 1) {
-            println(usage)
-            exitProcess(0)
-        }
-    
-        val domainType = args[0]
-        println("Invokes ListPrices using a Paginated method.")
-        listPricesPaginated(domainType)
-    }
-    
-    suspend fun listPricesPaginated(domainType: String) {
-        val pricesRequest =
-            ListPricesRequest {
-                maxItems = 10
-                tld = domainType
-            }
-    
-        Route53DomainsClient.fromEnvironment { region = "us-east-1" }.use { route53DomainsClient ->
-            route53DomainsClient
-                .listPricesPaginated(pricesRequest)
-                .transform { it.prices?.forEach { obj -> emit(obj) } }
-                .collect { pr ->
-                    println("Registration: ${pr.registrationPrice} ${pr.registrationPrice?.currency}")