AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-04-11 · Documentation low

File: code-library/latest/ug/dynamodb_example_dynamodb_CreateTableWarmThroughput_section.md

Summary

Code formatting changes including parameter wrapping and array initialization style adjustments

Security assessment

Changes are purely code style/formatting improvements with no security context or vulnerability mentions

Diff

diff --git a/code-library/latest/ug/dynamodb_example_dynamodb_CreateTableWarmThroughput_section.md b/code-library/latest/ug/dynamodb_example_dynamodb_CreateTableWarmThroughput_section.md
index 2227d4777..78aec70d2 100644
--- a//code-library/latest/ug/dynamodb_example_dynamodb_CreateTableWarmThroughput_section.md
+++ b//code-library/latest/ug/dynamodb_example_dynamodb_CreateTableWarmThroughput_section.md
@@ -32,2 +32 @@ Create DynamoDB table with warm throughput setting using AWS SDK for Java 2.x.
-        public static WarmThroughput buildWarmThroughput(final Long readUnitsPerSecond,
-                                                         final Long writeUnitsPerSecond) {
+        public static WarmThroughput buildWarmThroughput(final Long readUnitsPerSecond, final Long writeUnitsPerSecond) {
@@ -47,2 +46,2 @@ Create DynamoDB table with warm throughput setting using AWS SDK for Java 2.x.
-        public static ProvisionedThroughput buildProvisionedThroughput(final Long readCapacityUnits,
-                                                                       final Long writeCapacityUnits) {
+        public static ProvisionedThroughput buildProvisionedThroughput(
+            final Long readCapacityUnits, final Long writeCapacityUnits) {
@@ -62,2 +61,2 @@ Create DynamoDB table with warm throughput setting using AWS SDK for Java 2.x.
-        private static AttributeDefinition buildAttributeDefinition(final String attributeName,
-                                                                    final ScalarAttributeType scalarAttributeType) {
+        private static AttributeDefinition buildAttributeDefinition(
+            final String attributeName, final ScalarAttributeType scalarAttributeType) {
@@ -77,2 +76 @@ Create DynamoDB table with warm throughput setting using AWS SDK for Java 2.x.
-        private static KeySchemaElement buildKeySchemaElement(final String attributeName,
-                                                              final KeyType keyType) {
+        private static KeySchemaElement buildKeySchemaElement(final String attributeName, final KeyType keyType) {
@@ -104 +102,2 @@ Create DynamoDB table with warm throughput setting using AWS SDK for Java 2.x.
-        public static void createDynamoDBTable(final DynamoDbClient ddb,
+        public static void createDynamoDBTable(
+            final DynamoDbClient ddb,
@@ -125,2 +124,3 @@ Create DynamoDB table with warm throughput setting using AWS SDK for Java 2.x.
-            final AttributeDefinition[] attributeDefinitions = 
-                {partitionKeyAttribute, sortKeyAttribute, miscellaneousKeyAttributeDefinition};
+            final AttributeDefinition[] attributeDefinitions = {
+                partitionKeyAttribute, sortKeyAttribute, miscellaneousKeyAttributeDefinition
+            };
@@ -141,2 +141,3 @@ Create DynamoDB table with warm throughput setting using AWS SDK for Java 2.x.
-            final KeySchemaElement[] gsiKeySchema = 
-                {globalSecondaryIndexPartitionKeyElement, globalSecondaryIndexSortKeyElement};
+            final KeySchemaElement[] gsiKeySchema = {
+                globalSecondaryIndexPartitionKeyElement, globalSecondaryIndexSortKeyElement
+            };
@@ -154,2 +155 @@ Create DynamoDB table with warm throughput setting using AWS SDK for Java 2.x.
-                    globalSecondaryIndexWarmReadUnitsPerSecond, 
-                    globalSecondaryIndexWarmWriteUnitsPerSecond);
+                globalSecondaryIndexWarmReadUnitsPerSecond, globalSecondaryIndexWarmWriteUnitsPerSecond);