MCPcopy Create free account

hub / github.com/aws-samples/aws-dynamodb-examples / functions

Functions2,858 in github.com/aws-samples/aws-dynamodb-examples

Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Methodtest_service_exception_is_transient
Test that ServiceException is categorized as transient.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:147
Methodtest_service_unavailable_is_transient
Test that ServiceUnavailable is categorized as transient.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:132
Functiontest_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
Methodtest_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
Methodtest_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
Functiontest_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
Functiontest_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
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_throttling_error_with_retries_remaining
Test throttling error with retries remaining.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:222
Methodtest_throttling_exception_is_throttling
Test that ThrottlingException is categorized as throttling.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:98
Methodtest_timeout_error_is_transient
Test that TimeoutError is categorized as transient.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:162
Functiontest_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
Methodtest_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
Methodtest_too_many_requests_is_throttling
Test that TooManyRequestsException is categorized as throttling.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:108
Methodtest_transient_error_at_max_retries
Test transient error at maximum retry count.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:228
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_type_error_is_permanent
Test that TypeError is categorized as permanent.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:74
Methodtest_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
Methodtest_unrecognized_client_is_permanent
Test that UnrecognizedClientException is categorized as permanent.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:54
Functiontest_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
Methodtest_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
Methodtest_valid_configuration
Test that valid configuration passes validation.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:32
Methodtest_validation_exception_is_permanent
Test that ValidationException is categorized as permanent.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:39
Methodtest_validation_prevents_resource_allocation
Test that validation happens before any resource allocation.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:200
Methodtest_value_error_is_permanent
Test that ValueError is categorized as permanent.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:69
Methodtest_whitespace_only_table_name
Test that whitespace-only table_name is rejected.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:51
Methodtest_write_batch_success
Test successful batch write operation.
scripts/dynamodb-local-bulk-loader/tests/unit/test_threaded_loader.py:141
Methodtest_write_batch_success
Test successful batch write operation.
scripts/dynamodb-local-bulk-loader/tests/unit/test_async_loader.py:144
Methodtest_write_batch_with_client_error
Test batch write with ClientError.
scripts/dynamodb-local-bulk-loader/tests/unit/test_threaded_loader.py:162
Methodtest_write_batch_with_client_error
Test batch write with ClientError.
scripts/dynamodb-local-bulk-loader/tests/unit/test_async_loader.py:166
Methodtest_write_batch_with_generic_exception
Test batch write with generic exception.
scripts/dynamodb-local-bulk-loader/tests/unit/test_threaded_loader.py:188
Methodtest_write_batch_with_generic_exception
Test batch write with generic exception.
scripts/dynamodb-local-bulk-loader/tests/unit/test_async_loader.py:193
Methodtest_zero_batch_size
Test that batch_size of 0 is rejected.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:58
Methodtest_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
Methodtest_zero_max_workers
Test that max_workers of 0 is rejected.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:74
Methodtest_zero_records
Test generating CSV with 0 records. Validates: Requirements 4.5
scripts/dynamodb-local-bulk-loader/tests/unit/test_csv_generator.py:35
Functiontrace
(...args)
examples/tester/jobs/lib/database.js:12
FunctiontrackLazyLoadPerformance
(componentName: string)
workshops/modernizer/clean-start/frontend/src/utils/lazyLoad.tsx:58
FunctiontrackLazyLoadPerformance
(componentName: string)
workshops/modernizer/frontend/src/utils/lazyLoad.tsx:58
MethodtransformForDynamoDB
(mysqlData: string)
workshops/modernizer/backend/src/__tests__/unit/database/wrappers/DualWriteWrapper.test.ts:8
FunctiontransformId
(id: number)
workshops/modernizer/backend/src/database/wrappers/DualWriteWrapper.ts:155
FunctiontransformProduct
(apiProduct: ApiProduct)
workshops/modernizer/clean-start/frontend/src/pages/ProductsPage.tsx:60
FunctiontransformProduct
(apiProduct: ApiProduct)
workshops/modernizer/frontend/src/pages/ProductsPage.tsx:60
Functionupdate
(PK, SK, VAL)
workshops/global-serverless/app.py:87
Methodupdate
(id: number, userData: UpdateUserRequest)
workshops/modernizer/clean-start/backend/src/repositories/UserRepository.ts:90
Methodupdate
* Update a category
workshops/modernizer/clean-start/backend/src/repositories/CategoryRepository.ts:105
Methodupdate
(id: number, userData: UpdateUserRequest)
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBUserRepository.ts:93
Methodupdate
(id: number, categoryData: UpdateCategoryRequest)
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBCategoryRepository.ts:117
Methodupdate
(id: number, categoryData: UpdateCategoryRequest)
workshops/modernizer/backend/src/database/implementations/mysql/MySQLCategoryRepository.ts:36
Methodupdate
(id: number, userData: UpdateUserRequest)
workshops/modernizer/backend/src/database/implementations/mysql/MySQLUserRepository.ts:28
Methodupdate
(id: number, userData: UpdateUserRequest)
workshops/modernizer/backend/src/database/wrappers/UserDualReadWrapper.ts:104
Methodupdate
(id: number, userData: UpdateUserRequest)
workshops/modernizer/backend/src/database/wrappers/UserDualWriteWrapper.ts:28
Methodupdate
(id: number, categoryData: UpdateCategoryRequest)
workshops/modernizer/backend/src/database/wrappers/CategoryDualWriteWrapper.ts:28
Methodupdate
* 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
Methodupdate
(id: number, userData: UpdateUserRequest)
workshops/modernizer/backend/src/repositories/UserRepository.ts:90
Methodupdate
* Update a category
workshops/modernizer/backend/src/repositories/CategoryRepository.ts:105
MethodupdateInventory
* Update product inventory
workshops/modernizer/clean-start/backend/src/services/ProductService.ts:250
MethodupdateInventory
* Update product inventory
workshops/modernizer/clean-start/backend/src/repositories/ProductRepository.ts:377
MethodupdateInventory
(productId: number, quantity: number)
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBProductRepository.ts:262
MethodupdateInventory
(productId: number, quantity: number)
workshops/modernizer/backend/src/database/implementations/mysql/MySQLProductRepository.ts:48
MethodupdateInventory
(productId: number, quantity: number)
workshops/modernizer/backend/src/database/wrappers/ProductDualWriteWrapper.ts:69
MethodupdateInventory
* Update product inventory
workshops/modernizer/backend/src/services/ProductService.ts:253
MethodupdateInventory
* Update product inventory
workshops/modernizer/backend/src/repositories/ProductRepository.ts:377
FunctionupdateItem
( key: Record<string, any>, updateExpression: string, expressionAttributeValues: Record<string,
workshops/modernizer/backend/src/database/implementations/dynamodb/BaseDynamoDBRepository.ts:65
MethodupdateItemQuantity
(userId: number, productId: number, quantity: number)
workshops/modernizer/clean-start/backend/src/repositories/ShoppingCartRepository.ts:123
MethodupdateItemQuantity
(userId: number, productId: number, quantity: number)
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBShoppingCartRepository.ts:137
MethodupdateItemQuantity
(userId: number, productId: number, quantity: number)
workshops/modernizer/backend/src/database/implementations/mysql/MySQLShoppingCartRepository.ts:20
MethodupdateItemQuantity
(userId: number, productId: number, quantity: number)
workshops/modernizer/backend/src/database/wrappers/CartDualWriteWrapper.ts:37
MethodupdateItemQuantity
(userId: number, productId: number, quantity: number)
workshops/modernizer/backend/src/repositories/ShoppingCartRepository.ts:123
MethodupdateOrderStatus
(orderId: number, status: string, userId: number)
workshops/modernizer/clean-start/backend/src/services/OrderService.ts:157
MethodupdateOrderStatus
(orderId: number, status: 'pending' | 'completed' | 'cancelled')
workshops/modernizer/clean-start/backend/src/repositories/OrderRepository.ts:240
MethodupdateOrderStatus
(orderId: number, status: 'pending' | 'completed' | 'cancelled')
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBOrderRepository.ts:308
MethodupdateOrderStatus
(orderId: number, status: 'pending' | 'completed' | 'cancelled')
workshops/modernizer/backend/src/database/implementations/mysql/MySQLOrderRepository.ts:28
MethodupdateOrderStatus
(orderId: number, status: 'pending' | 'completed' | 'cancelled')
workshops/modernizer/backend/src/database/wrappers/OrderDualWriteWrapper.ts:45
MethodupdateOrderStatus
(orderId: number, status: string, userId: number)
workshops/modernizer/backend/src/services/OrderService.ts:182
MethodupdateOrderStatus
(orderId: number, status: 'pending' | 'completed' | 'cancelled')
workshops/modernizer/backend/src/repositories/OrderRepository.ts:240
MethodupdatePaymentMethod
(id: number, paymentMethod: string)
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBOrderRepository.ts:277
MethodupdateProduct
* Update product
workshops/modernizer/clean-start/backend/src/services/ProductService.ts:61
MethodupdateProduct
* Update product
workshops/modernizer/clean-start/backend/src/repositories/ProductRepository.ts:130
MethodupdateProduct
(productId: number, sellerId: number, productData: UpdateProductRequest)
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBProductRepository.ts:68
MethodupdateProduct
(productId: number, sellerId: number, productData: UpdateProductRequest)
workshops/modernizer/backend/src/database/implementations/mysql/MySQLProductRepository.ts:24
MethodupdateProduct
(productId: number, sellerId: number, productData: UpdateProductRequest)
workshops/modernizer/backend/src/database/wrappers/ProductDualWriteWrapper.ts:29
MethodupdateProduct
* Update product
workshops/modernizer/backend/src/services/ProductService.ts:64
MethodupdateProduct
* Update product
workshops/modernizer/backend/src/repositories/ProductRepository.ts:130
FunctionupdateProgress
()
workshops/global-serverless/web/player.js:453
MethodupdateShippingAddress
(id: number, shippingAddress: string)
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBOrderRepository.ts:255
FunctionupdateTask
(taskId, updatedTaskData)
examples/NERDS/enhanced-template/enhanced-frontend/src/App.jsx:74
Functionupdate_record
(table)
workshops/relational-migration/app.py:66
Functionupdate_record
(table, request)
workshops/relational-migration/chalicelib/mysql_calls.py:229
Functionupdate_record
(table, request)
workshops/relational-migration/chalicelib/dynamodb_calls.py:197
← previousnext →2,601–2,700 of 2,858, ranked by callers