Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws-samples/aws-dynamodb-examples
/ functions
Functions
2,858 in github.com/aws-samples/aws-dynamodb-examples
⨍
Functions
2,858
◇
Types & classes
598
↳
Endpoints
15
Function
test_retry_count_limits_async
Property test: Retry count is limited to configured maximum (async). This test verifies that the async retry handler respects the maximum retry
scripts/dynamodb-local-bulk-loader/tests/property/test_retry_logic.py:129
Function
test_retry_count_limits_sync
Property test: Retry count is limited to configured maximum (sync). This test verifies that the retry handler respects the maximum retry coun
scripts/dynamodb-local-bulk-loader/tests/property/test_retry_logic.py:90
Function
test_retry_delays_increase_exponentially
Property test: Retry delays increase exponentially across attempts. This test verifies that delays increase exponentially with each retry att
scripts/dynamodb-local-bulk-loader/tests/property/test_retry_logic.py:250
Function
test_retry_exponential_backoff
Property test: Retry delays follow exponential backoff with jitter. This test verifies that the retry delay calculation follows the correct e
scripts/dynamodb-local-bulk-loader/tests/property/test_retry_logic.py:39
Function
test_retry_succeeds_before_limit_async
Property test: Retry succeeds when operation succeeds before limit (async). This test verifies that the async retry handler returns successfully
scripts/dynamodb-local-bulk-loader/tests/property/test_retry_logic.py:210
Function
test_retry_succeeds_before_limit_sync
Property test: Retry succeeds when operation succeeds before limit (sync). This test verifies that the retry handler returns successfully when th
scripts/dynamodb-local-bulk-loader/tests/property/test_retry_logic.py:173
Method
test_service_exception_is_transient
Test that ServiceException is categorized as transient.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:147
Method
test_service_unavailable_is_transient
Test that ServiceUnavailable is categorized as transient.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:132
Function
test_shuffle_changes_order
Property 2: Shuffle Changes Order For any list of records with more than 2 elements and at least 2 distinct values, shuffling the list sh
scripts/dynamodb-local-bulk-loader/tests/property/test_async_loader.py:128
Method
test_special_characters_in_data
Test that special characters are properly escaped in CSV. This test verifies that the CSV generator properly handles special characte
scripts/dynamodb-local-bulk-loader/tests/unit/test_csv_generator.py:110
Method
test_thread_pool_management
Test that thread pool is properly managed and cleaned up.
scripts/dynamodb-local-bulk-loader/tests/unit/test_threaded_loader.py:239
Function
test_thread_safety
Property 5: Thread Safety For any concurrent write operations using the threaded loader, no race conditions should occur, and all writes
scripts/dynamodb-local-bulk-loader/tests/property/test_threaded_loader.py:37
Function
test_threaded_loader_error_isolation
Test that threaded loader isolates errors and continues processing other batches. Property: When some batches fail, successful batches should com
scripts/dynamodb-local-bulk-loader/tests/property/test_error_isolation.py:172
Method
test_throttling_error_is_not_permanent
Test that throttling errors are not categorized as permanent.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:79
Method
test_throttling_error_is_not_transient
Test that throttling errors are not categorized as transient.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:177
Method
test_throttling_error_retries_with_backoff
Test that throttling errors result in RETRY_WITH_BACKOFF action.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:198
Method
test_throttling_error_with_retries_remaining
Test throttling error with retries remaining.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:222
Method
test_throttling_exception_is_throttling
Test that ThrottlingException is categorized as throttling.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:98
Method
test_timeout_error_is_transient
Test that TimeoutError is categorized as transient.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:162
Function
test_timestamp_sorting
Property test: Generated timestamps must be in ascending chronological order. This test verifies that timestamps in the generated CSV are sorted
scripts/dynamodb-local-bulk-loader/tests/property/test_csv_generator.py:95
Method
test_timestamps_are_sorted
Test that timestamps are in ascending chronological order. Validates: Requirements 4.4
scripts/dynamodb-local-bulk-loader/tests/unit/test_csv_generator.py:269
Method
test_too_many_requests_is_throttling
Test that TooManyRequestsException is categorized as throttling.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:108
Method
test_transient_error_at_max_retries
Test transient error at maximum retry count.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:228
Method
test_transient_error_is_not_permanent
Test that transient errors are not categorized as permanent.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:84
Method
test_transient_error_is_not_throttling
Test that transient errors are not categorized as throttling.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:118
Method
test_transient_error_retries_with_backoff
Test that transient errors result in RETRY_WITH_BACKOFF action.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:204
Method
test_type_error_is_permanent
Test that TypeError is categorized as permanent.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:74
Method
test_unknown_error_fails_immediately
Test that unknown errors result in FAIL_IMMEDIATELY action.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:210
Method
test_unrecognized_client_is_permanent
Test that UnrecognizedClientException is categorized as permanent.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:54
Function
test_uuid_generation_validity
Property test: All generated IDs must be valid UUID v4 format. This test verifies that every record generated by the CSV generator has a vali
scripts/dynamodb-local-bulk-loader/tests/property/test_csv_generator.py:37
Method
test_uuids_are_unique
Test that all generated UUIDs are unique. Validates: Requirements 4.1
scripts/dynamodb-local-bulk-loader/tests/unit/test_csv_generator.py:296
Method
test_valid_configuration
Test that valid configuration passes validation.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:32
Method
test_validation_exception_is_permanent
Test that ValidationException is categorized as permanent.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:39
Method
test_validation_prevents_resource_allocation
Test that validation happens before any resource allocation.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:200
Method
test_value_error_is_permanent
Test that ValueError is categorized as permanent.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:69
Method
test_whitespace_only_table_name
Test that whitespace-only table_name is rejected.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:51
Method
test_write_batch_success
Test successful batch write operation.
scripts/dynamodb-local-bulk-loader/tests/unit/test_threaded_loader.py:141
Method
test_write_batch_success
Test successful batch write operation.
scripts/dynamodb-local-bulk-loader/tests/unit/test_async_loader.py:144
Method
test_write_batch_with_client_error
Test batch write with ClientError.
scripts/dynamodb-local-bulk-loader/tests/unit/test_threaded_loader.py:162
Method
test_write_batch_with_client_error
Test batch write with ClientError.
scripts/dynamodb-local-bulk-loader/tests/unit/test_async_loader.py:166
Method
test_write_batch_with_generic_exception
Test batch write with generic exception.
scripts/dynamodb-local-bulk-loader/tests/unit/test_threaded_loader.py:188
Method
test_write_batch_with_generic_exception
Test batch write with generic exception.
scripts/dynamodb-local-bulk-loader/tests/unit/test_async_loader.py:193
Method
test_zero_batch_size
Test that batch_size of 0 is rejected.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:58
Method
test_zero_max_retries_allowed
Test that max_retries of 0 is allowed (no retries).
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:98
Method
test_zero_max_workers
Test that max_workers of 0 is rejected.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:74
Method
test_zero_records
Test generating CSV with 0 records. Validates: Requirements 4.5
scripts/dynamodb-local-bulk-loader/tests/unit/test_csv_generator.py:35
Function
trace
(...args)
examples/tester/jobs/lib/database.js:12
Function
trackLazyLoadPerformance
(componentName: string)
workshops/modernizer/clean-start/frontend/src/utils/lazyLoad.tsx:58
Function
trackLazyLoadPerformance
(componentName: string)
workshops/modernizer/frontend/src/utils/lazyLoad.tsx:58
Method
transformForDynamoDB
(mysqlData: string)
workshops/modernizer/backend/src/__tests__/unit/database/wrappers/DualWriteWrapper.test.ts:8
Function
transformId
(id: number)
workshops/modernizer/backend/src/database/wrappers/DualWriteWrapper.ts:155
Function
transformProduct
(apiProduct: ApiProduct)
workshops/modernizer/clean-start/frontend/src/pages/ProductsPage.tsx:60
Function
transformProduct
(apiProduct: ApiProduct)
workshops/modernizer/frontend/src/pages/ProductsPage.tsx:60
Function
update
(PK, SK, VAL)
workshops/global-serverless/app.py:87
Method
update
(id: number, userData: UpdateUserRequest)
workshops/modernizer/clean-start/backend/src/repositories/UserRepository.ts:90
Method
update
* Update a category
workshops/modernizer/clean-start/backend/src/repositories/CategoryRepository.ts:105
Method
update
(id: number, userData: UpdateUserRequest)
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBUserRepository.ts:93
Method
update
(id: number, categoryData: UpdateCategoryRequest)
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBCategoryRepository.ts:117
Method
update
(id: number, categoryData: UpdateCategoryRequest)
workshops/modernizer/backend/src/database/implementations/mysql/MySQLCategoryRepository.ts:36
Method
update
(id: number, userData: UpdateUserRequest)
workshops/modernizer/backend/src/database/implementations/mysql/MySQLUserRepository.ts:28
Method
update
(id: number, userData: UpdateUserRequest)
workshops/modernizer/backend/src/database/wrappers/UserDualReadWrapper.ts:104
Method
update
(id: number, userData: UpdateUserRequest)
workshops/modernizer/backend/src/database/wrappers/UserDualWriteWrapper.ts:28
Method
update
(id: number, categoryData: UpdateCategoryRequest)
workshops/modernizer/backend/src/database/wrappers/CategoryDualWriteWrapper.ts:28
Method
update
* Update category information * @param id Category ID * @param categoryData Updated category data * @returns Promise resolving to updated Cat
workshops/modernizer/backend/src/database/interfaces/ICategoryRepository.ts:54
Method
update
(id: number, userData: UpdateUserRequest)
workshops/modernizer/backend/src/repositories/UserRepository.ts:90
Method
update
* Update a category
workshops/modernizer/backend/src/repositories/CategoryRepository.ts:105
Method
updateInventory
* Update product inventory
workshops/modernizer/clean-start/backend/src/services/ProductService.ts:250
Method
updateInventory
* Update product inventory
workshops/modernizer/clean-start/backend/src/repositories/ProductRepository.ts:377
Method
updateInventory
(productId: number, quantity: number)
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBProductRepository.ts:262
Method
updateInventory
(productId: number, quantity: number)
workshops/modernizer/backend/src/database/implementations/mysql/MySQLProductRepository.ts:48
Method
updateInventory
(productId: number, quantity: number)
workshops/modernizer/backend/src/database/wrappers/ProductDualWriteWrapper.ts:69
Method
updateInventory
* Update product inventory
workshops/modernizer/backend/src/services/ProductService.ts:253
Method
updateInventory
* Update product inventory
workshops/modernizer/backend/src/repositories/ProductRepository.ts:377
Function
updateItem
( key: Record<string, any>, updateExpression: string, expressionAttributeValues: Record<string,
workshops/modernizer/backend/src/database/implementations/dynamodb/BaseDynamoDBRepository.ts:65
Method
updateItemQuantity
(userId: number, productId: number, quantity: number)
workshops/modernizer/clean-start/backend/src/repositories/ShoppingCartRepository.ts:123
Method
updateItemQuantity
(userId: number, productId: number, quantity: number)
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBShoppingCartRepository.ts:137
Method
updateItemQuantity
(userId: number, productId: number, quantity: number)
workshops/modernizer/backend/src/database/implementations/mysql/MySQLShoppingCartRepository.ts:20
Method
updateItemQuantity
(userId: number, productId: number, quantity: number)
workshops/modernizer/backend/src/database/wrappers/CartDualWriteWrapper.ts:37
Method
updateItemQuantity
(userId: number, productId: number, quantity: number)
workshops/modernizer/backend/src/repositories/ShoppingCartRepository.ts:123
Method
updateOrderStatus
(orderId: number, status: string, userId: number)
workshops/modernizer/clean-start/backend/src/services/OrderService.ts:157
Method
updateOrderStatus
(orderId: number, status: 'pending' | 'completed' | 'cancelled')
workshops/modernizer/clean-start/backend/src/repositories/OrderRepository.ts:240
Method
updateOrderStatus
(orderId: number, status: 'pending' | 'completed' | 'cancelled')
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBOrderRepository.ts:308
Method
updateOrderStatus
(orderId: number, status: 'pending' | 'completed' | 'cancelled')
workshops/modernizer/backend/src/database/implementations/mysql/MySQLOrderRepository.ts:28
Method
updateOrderStatus
(orderId: number, status: 'pending' | 'completed' | 'cancelled')
workshops/modernizer/backend/src/database/wrappers/OrderDualWriteWrapper.ts:45
Method
updateOrderStatus
(orderId: number, status: string, userId: number)
workshops/modernizer/backend/src/services/OrderService.ts:182
Method
updateOrderStatus
(orderId: number, status: 'pending' | 'completed' | 'cancelled')
workshops/modernizer/backend/src/repositories/OrderRepository.ts:240
Method
updatePaymentMethod
(id: number, paymentMethod: string)
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBOrderRepository.ts:277
Method
updateProduct
* Update product
workshops/modernizer/clean-start/backend/src/services/ProductService.ts:61
Method
updateProduct
* Update product
workshops/modernizer/clean-start/backend/src/repositories/ProductRepository.ts:130
Method
updateProduct
(productId: number, sellerId: number, productData: UpdateProductRequest)
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBProductRepository.ts:68
Method
updateProduct
(productId: number, sellerId: number, productData: UpdateProductRequest)
workshops/modernizer/backend/src/database/implementations/mysql/MySQLProductRepository.ts:24
Method
updateProduct
(productId: number, sellerId: number, productData: UpdateProductRequest)
workshops/modernizer/backend/src/database/wrappers/ProductDualWriteWrapper.ts:29
Method
updateProduct
* Update product
workshops/modernizer/backend/src/services/ProductService.ts:64
Method
updateProduct
* Update product
workshops/modernizer/backend/src/repositories/ProductRepository.ts:130
Function
updateProgress
()
workshops/global-serverless/web/player.js:453
Method
updateShippingAddress
(id: number, shippingAddress: string)
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBOrderRepository.ts:255
Function
updateTask
(taskId, updatedTaskData)
examples/NERDS/enhanced-template/enhanced-frontend/src/App.jsx:74
Function
update_record
(table)
workshops/relational-migration/app.py:66
Function
update_record
(table, request)
workshops/relational-migration/chalicelib/mysql_calls.py:229
Function
update_record
(table, request)
workshops/relational-migration/chalicelib/dynamodb_calls.py:197
← previous
next →
2,601–2,700 of 2,858, ranked by callers