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
skipIfNoE2EDatabase
()
workshops/modernizer/backend/src/test-configs/e2e-database-setup.ts:54
Function
stopVideo
()
workshops/global-serverless/web/player.js:419
Method
takeScreenshot
* Take screenshot (placeholder for future implementation)
workshops/modernizer/clean-start/backend/src/test-configs/test-helpers/e2e-helpers.ts:534
Method
takeScreenshot
* Take screenshot (placeholder for future implementation)
workshops/modernizer/backend/src/test-configs/test-helpers/e2e-helpers.ts:534
Method
tearDown
()
examples/hedging/java/ddb-hedging-sample/src/test/java/com/example/dynamodbhedging/DynamoDBHedgedQueryTest.java:45
Function
temp_csv_file
Create a temporary CSV file for testing. Returns: Path to temporary CSV file
scripts/dynamodb-local-bulk-loader/tests/integration/test_async_loader_e2e.py:56
Function
testAsyncFunction
()
workshops/modernizer/clean-start/backend/src/__tests__/unit/utils/performanceMonitor.test.ts:135
Function
testAsyncFunction
()
workshops/modernizer/backend/src/__tests__/unit/utils/performanceMonitor.test.ts:135
Method
testAuthenticationPerformance
* Test authentication endpoint performance
workshops/modernizer/clean-start/backend/src/test-configs/test-helpers/performance-helpers.ts:140
Method
testAuthenticationPerformance
* Test authentication endpoint performance
workshops/modernizer/backend/src/test-configs/test-helpers/performance-helpers.ts:140
Method
testClose_CallsUnderlyingResourcesClose
()
examples/hedging/java/ddb-hedging-sample/src/test/java/com/example/dynamodbhedging/DynamoDBHedgedQueryTest.java:87
Function
testDatabaseQuery
()
workshops/modernizer/clean-start/backend/src/config/database.ts:271
Function
testDatabaseQuery
()
workshops/modernizer/backend/src/config/database.ts:271
Method
testDefaultConstructor
()
examples/hedging/java/ddb-hedging-sample/src/test/java/com/example/dynamodbhedging/DynamoDBHedgedQueryTest.java:111
Function
testFunction
()
workshops/modernizer/clean-start/backend/src/__tests__/unit/utils/performanceMonitor.test.ts:115
Function
testFunction
()
workshops/modernizer/backend/src/__tests__/unit/utils/performanceMonitor.test.ts:115
Method
testProductSearchPerformance
* Test product search performance
workshops/modernizer/clean-start/backend/src/test-configs/test-helpers/performance-helpers.ts:171
Method
testProductSearchPerformance
* Test product search performance
workshops/modernizer/backend/src/test-configs/test-helpers/performance-helpers.ts:171
Method
testQueryWithHedging_HandlesException
()
examples/hedging/java/ddb-hedging-sample/src/test/java/com/example/dynamodbhedging/DynamoDBHedgedQueryTest.java:70
Method
testQueryWithHedging_Success
()
examples/hedging/java/ddb-hedging-sample/src/test/java/com/example/dynamodbhedging/DynamoDBHedgedQueryTest.java:51
Method
testQueryWithHedging_VerifiesCorrectRequestParameters
()
examples/hedging/java/ddb-hedging-sample/src/test/java/com/example/dynamodbhedging/DynamoDBHedgedQueryTest.java:97
Method
testShoppingCartPerformance
* Test shopping cart performance
workshops/modernizer/clean-start/backend/src/test-configs/test-helpers/performance-helpers.ts:196
Method
testShoppingCartPerformance
* Test shopping cart performance
workshops/modernizer/backend/src/test-configs/test-helpers/performance-helpers.ts:196
Method
test_10k_records
Test generating CSV with 10,000 records. This is the default development testing size. Validates: Requirements 4.5, 4.6
scripts/dynamodb-local-bulk-loader/tests/unit/test_csv_generator.py:150
Method
test_1m_records
Test generating CSV with 1,000,000 records. This is the production-scale testing size. Marked as slow test. Validates: Requirements
scripts/dynamodb-local-bulk-loader/tests/unit/test_csv_generator.py:190
Method
test_access_denied_is_permanent
Test that AccessDeniedException is categorized as permanent.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:49
Method
test_all_fields_present
Test that all required fields are present in generated CSV. Validates: Requirements 4.3
scripts/dynamodb-local-bulk-loader/tests/unit/test_csv_generator.py:229
Method
test_all_valid_regions_accepted
Test that all valid AWS regions are accepted.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:119
Function
test_async_loader_batch_processing
Test batch processing with different batch sizes. Validates that the loader correctly handles batching logic. Args: dynamodb_table:
scripts/dynamodb-local-bulk-loader/tests/integration/test_async_loader_e2e.py:305
Function
test_async_loader_empty_csv
Test async loader with empty CSV file. Validates that the loader handles empty files gracefully. Args: dynamodb_table: Name of the m
scripts/dynamodb-local-bulk-loader/tests/integration/test_async_loader_e2e.py:181
Function
test_async_loader_end_to_end
Test complete workflow: Generate CSV → Load → Verify DynamoDB contents. This test validates: - CSV generation with realistic data - CSV r
scripts/dynamodb-local-bulk-loader/tests/integration/test_async_loader_e2e.py:76
Function
test_async_loader_error_isolation
Test that async loader isolates errors and continues processing other batches. Property: When some batches fail, successful batches should comple
scripts/dynamodb-local-bulk-loader/tests/property/test_error_isolation.py:50
Function
test_async_loader_shuffle_verification
Test that data shuffling prevents sequential writes. This test validates Requirement 1.2: Data shuffling to prevent hot partitions. While we
scripts/dynamodb-local-bulk-loader/tests/integration/test_async_loader_e2e.py:239
Function
test_batch_processing_correctness
Property 3: Batch Processing Correctness For any record count N and batch size B, the number of batches created should equal ceil(N / B),
scripts/dynamodb-local-bulk-loader/tests/property/test_async_loader.py:172
Method
test_conditional_check_failed_is_permanent
Test that ConditionalCheckFailedException is categorized as permanent.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:64
Method
test_connection_error_is_transient
Test that ConnectionError is categorized as transient.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:157
Method
test_create_batches_with_empty_records
Test batch creation with empty record list.
scripts/dynamodb-local-bulk-loader/tests/unit/test_threaded_loader.py:132
Method
test_create_batches_with_empty_records
Test batch creation with empty record list.
scripts/dynamodb-local-bulk-loader/tests/unit/test_async_loader.py:134
Method
test_create_batches_with_exact_multiple
Test batch creation when record count is exact multiple of batch size.
scripts/dynamodb-local-bulk-loader/tests/unit/test_threaded_loader.py:108
Method
test_create_batches_with_exact_multiple
Test batch creation when record count is exact multiple of batch size.
scripts/dynamodb-local-bulk-loader/tests/unit/test_async_loader.py:110
Method
test_create_batches_with_remainder
Test batch creation when record count has remainder.
scripts/dynamodb-local-bulk-loader/tests/unit/test_threaded_loader.py:119
Method
test_create_batches_with_remainder
Test batch creation when record count has remainder.
scripts/dynamodb-local-bulk-loader/tests/unit/test_async_loader.py:121
Function
test_csv_format_round_trip
Property test: CSV format must support round-trip read/write operations. This test verifies that a CSV file can be read and its data structure
scripts/dynamodb-local-bulk-loader/tests/property/test_csv_generator.py:210
Method
test_csv_format_valid
Test that generated CSV has valid format. Validates: Requirements 4.8
scripts/dynamodb-local-bulk-loader/tests/unit/test_csv_generator.py:325
Function
test_csv_reading_completeness
Property 1: CSV Reading Completeness For any valid CSV file with N records, reading the file should produce exactly N records with all fi
scripts/dynamodb-local-bulk-loader/tests/property/test_async_loader.py:65
Function
test_csv_record_required_fields_present
Property test: All required fields must be present and non-empty. This test verifies that CSVRecord instances always have all required fields
scripts/dynamodb-local-bulk-loader/tests/property/test_data_models.py:48
Method
test_empty_table_name
Test that empty table_name is rejected.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:44
Method
test_error_action_members
Test that ErrorAction enum has exactly three members.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:289
Method
test_error_action_values
Test that ErrorAction enum has expected values.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:283
Method
test_error_messages_are_descriptive
Test that error messages clearly describe the problem.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:221
Method
test_error_messages_include_actual_values
Test that error messages include the actual invalid values.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:210
Method
test_error_messages_suggest_valid_range
Test that error messages indicate valid ranges.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:233
Method
test_initialization_validates_config
Test that initialization validates configuration parameters.
scripts/dynamodb-local-bulk-loader/tests/unit/test_threaded_loader.py:44
Method
test_initialization_validates_config
Test that initialization validates configuration parameters.
scripts/dynamodb-local-bulk-loader/tests/unit/test_async_loader.py:46
Method
test_initialization_validates_immediately
Test that AsyncDynamoDBLoader validates on initialization.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:166
Method
test_initialization_validates_immediately
Test that ThreadedDynamoDBLoader validates on initialization.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:190
Method
test_initialization_with_valid_config
Test that loader initializes correctly with valid configuration.
scripts/dynamodb-local-bulk-loader/tests/unit/test_threaded_loader.py:28
Method
test_initialization_with_valid_config
Test that loader initializes correctly with valid configuration.
scripts/dynamodb-local-bulk-loader/tests/unit/test_async_loader.py:30
Method
test_internal_failure_is_transient
Test that InternalFailure is categorized as transient.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:142
Method
test_internal_server_error_is_transient
Test that InternalServerError is categorized as transient.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:137
Method
test_invalid_parameter_is_permanent
Test that InvalidParameterException is categorized as permanent.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:59
Method
test_invalid_region_format
Test that invalid AWS region is rejected.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:104
Method
test_load_csv_with_empty_file
Test loading an empty CSV file.
scripts/dynamodb-local-bulk-loader/tests/unit/test_threaded_loader.py:209
Method
test_load_csv_with_empty_file
Test loading an empty CSV file.
scripts/dynamodb-local-bulk-loader/tests/unit/test_async_loader.py:215
Method
test_log_client_error_details
Test logging of ClientError details.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:238
Method
test_log_generic_error_details
Test logging of generic error details.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:250
Method
test_log_includes_request_id_for_client_errors
Test that AWS request ID is logged for ClientErrors.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:261
Method
test_max_delay_less_than_base_delay
Test that max_delay < base_delay is rejected.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:151
Method
test_max_retries_reached_fails_after_retries
Test that exhausted retries result in FAIL_AFTER_RETRIES action.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:192
Method
test_multiple_validation_errors_reported_first
Test that first validation error is reported when multiple exist.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:176
Method
test_negative_base_delay
Test that negative base_delay is rejected.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:144
Method
test_negative_batch_size
Test that negative batch_size is rejected.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:66
Method
test_negative_max_retries
Test that negative max_retries is rejected.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:90
Method
test_negative_max_workers
Test that negative max_workers is rejected.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:82
Method
test_non_client_error_is_not_throttling
Test that non-ClientError exceptions are not categorized as throttling.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:123
Method
test_nonexistent_region
Test that non-existent AWS region is rejected.
scripts/dynamodb-local-bulk-loader/tests/unit/test_validation.py:112
Method
test_one_record
Test generating CSV with exactly 1 record. Validates: Requirements 4.1, 4.3, 4.4, 4.5
scripts/dynamodb-local-bulk-loader/tests/unit/test_csv_generator.py:63
Method
test_os_error_is_transient
Test that OSError is categorized as transient.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:167
Method
test_permanent_error_fails_immediately
Test that permanent errors result in FAIL_IMMEDIATELY action.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:186
Method
test_permanent_error_ignores_retry_count
Test that permanent errors fail immediately regardless of retry count.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:216
Method
test_permanent_error_is_not_throttling
Test that permanent errors are not categorized as throttling.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:113
Method
test_permanent_error_is_not_transient
Test that permanent errors are not categorized as transient.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:172
Function
test_property_async_loader_validates_on_init
Property: AsyncDynamoDBLoader should validate configuration on initialization. For any valid configuration, AsyncDynamoDBLoader should initialize
scripts/dynamodb-local-bulk-loader/tests/property/test_input_validation.py:155
Function
test_property_empty_table_name_rejected
Property: Empty or whitespace-only table_name should be rejected. For any table_name that is empty or contains only whitespace, the system sh
scripts/dynamodb-local-bulk-loader/tests/property/test_input_validation.py:88
Function
test_property_invalid_batch_size_rejected
Property: Invalid batch_size (<=0) should be rejected with clear error. For any batch_size <= 0, the system should reject the configuration a
scripts/dynamodb-local-bulk-loader/tests/property/test_input_validation.py:42
Function
test_property_invalid_max_workers_rejected
Property: Invalid max_workers (<=0) should be rejected with clear error. For any max_workers <= 0, the system should reject the configuration
scripts/dynamodb-local-bulk-loader/tests/property/test_input_validation.py:65
Function
test_property_invalid_region_rejected
Property: Invalid AWS region should be rejected with clear error. For any region that is not a valid AWS region, the system should reject the
scripts/dynamodb-local-bulk-loader/tests/property/test_input_validation.py:110
Function
test_property_negative_max_retries_rejected
Property: Negative max_retries should be rejected with clear error. For any max_retries < 0, the system should reject the configuration and p
scripts/dynamodb-local-bulk-loader/tests/property/test_input_validation.py:131
Function
test_property_threaded_loader_validates_on_init
Property: ThreadedDynamoDBLoader should validate configuration on initialization. For any valid configuration, ThreadedDynamoDBLoader should init
scripts/dynamodb-local-bulk-loader/tests/property/test_input_validation.py:191
Method
test_provisioned_throughput_exceeded_is_throttling
Test that ProvisionedThroughputExceededException is categorized as throttling.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:93
Method
test_read_csv_with_empty_file
Test reading an empty CSV file.
scripts/dynamodb-local-bulk-loader/tests/unit/test_threaded_loader.py:88
Method
test_read_csv_with_empty_file
Test reading an empty CSV file.
scripts/dynamodb-local-bulk-loader/tests/unit/test_async_loader.py:90
Method
test_read_csv_with_valid_file
Test reading a valid CSV file.
scripts/dynamodb-local-bulk-loader/tests/unit/test_threaded_loader.py:62
Method
test_read_csv_with_valid_file
Test reading a valid CSV file.
scripts/dynamodb-local-bulk-loader/tests/unit/test_async_loader.py:64
Function
test_record_count_accuracy
Property test: Generated CSV must contain exactly the requested number of records. This test verifies that the CSV generator produces exactly the
scripts/dynamodb-local-bulk-loader/tests/property/test_csv_generator.py:155
Function
test_reporting_accuracy
Property 4: Reporting Accuracy For any set of write operations, the sum of successful writes and failed writes should equal the total num
scripts/dynamodb-local-bulk-loader/tests/property/test_async_loader.py:240
Method
test_request_limit_exceeded_is_throttling
Test that RequestLimitExceeded is categorized as throttling.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:103
Method
test_request_timeout_is_transient
Test that RequestTimeout is categorized as transient.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:152
Method
test_resource_cleanup_on_error
Test that resources are properly cleaned up even when errors occur.
scripts/dynamodb-local-bulk-loader/tests/unit/test_threaded_loader.py:299
Method
test_resource_not_found_is_permanent
Test that ResourceNotFoundException is categorized as permanent.
scripts/dynamodb-local-bulk-loader/tests/unit/test_error_handler.py:44
← previous
next →
2,501–2,600 of 2,858, ranked by callers