AWS Security ChangesHomeSearch

AWS amazondynamodb documentation change

Service: amazondynamodb · 2025-04-11 · Documentation low

File: amazondynamodb/latest/developerguide/example_dynamodb_UpdateItemConditionalTTL_section.md

Summary

Code formatting changes including import reorganization, string formatting adjustments, and try-with-resources statement reformatting

Security assessment

Changes are purely code style improvements and formatting adjustments without any security-related context or documentation additions

Diff

diff --git a/amazondynamodb/latest/developerguide/example_dynamodb_UpdateItemConditionalTTL_section.md b/amazondynamodb/latest/developerguide/example_dynamodb_UpdateItemConditionalTTL_section.md
index 554e90224..0850a42d8 100644
--- a//amazondynamodb/latest/developerguide/example_dynamodb_UpdateItemConditionalTTL_section.md
+++ b//amazondynamodb/latest/developerguide/example_dynamodb_UpdateItemConditionalTTL_section.md
@@ -20,3 +19,0 @@ Update TTL on on an existing DynamoDB Item in a table, with a condition.
-    import java.util.Map;
-    import java.util.Optional;
-    
@@ -33,0 +30,3 @@ Update TTL on on an existing DynamoDB Item in a table, with a condition.
+    import java.util.Map;
+    import java.util.Optional;
+    
@@ -40 +39,2 @@ Update TTL on on an existing DynamoDB Item in a table, with a condition.
-        private static final String USAGE = """
+        private static final String USAGE =
+            """
@@ -123,2 +123 @@ Update TTL on on an existing DynamoDB Item in a table, with a condition.
-                    SORT_KEY_ATTR, AttributeValue.builder().s(sortKey).build()
-            );
+                SORT_KEY_ATTR, AttributeValue.builder().s(sortKey).build());
@@ -129,2 +128 @@ Update TTL on on an existing DynamoDB Item in a table, with a condition.
-                    ":e", AttributeValue.builder().n(String.valueOf(expireDate)).build()
-            );
+                ":e", AttributeValue.builder().n(String.valueOf(expireDate)).build());
@@ -140,2 +138,3 @@ Update TTL on on an existing DynamoDB Item in a table, with a condition.
-            try (DynamoDbClient ddb = dynamoDbClient != null ? dynamoDbClient : 
-                    DynamoDbClient.builder().region(region).build()) {
+            try (DynamoDbClient ddb = dynamoDbClient != null
+                ? dynamoDbClient
+                : DynamoDbClient.builder().region(region).build()) {