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
↓ 3 callers
Method
detectSecurityThreats
(input: string, context?: string)
workshops/modernizer/clean-start/frontend/src/services/errorService.ts:383
↓ 3 callers
Method
detectSecurityThreats
(input: string, context?: string)
workshops/modernizer/frontend/src/services/errorService.ts:383
↓ 3 callers
Function
fetchTasks
()
examples/NERDS/basic-template/basic-frontend/src/App.js:18
↓ 3 callers
Method
formatOrderSummaryResponse
(orders: OrderWithItems[])
workshops/modernizer/clean-start/backend/src/models/Order.ts:120
↓ 3 callers
Method
formatOrderSummaryResponse
(orders: OrderWithItems[])
workshops/modernizer/backend/src/models/Order.ts:120
↓ 3 callers
Method
formatPaymentMethod
* Format payment method for display
workshops/modernizer/clean-start/backend/src/services/PaymentService.ts:186
↓ 3 callers
Method
formatPaymentMethod
* Format payment method for display
workshops/modernizer/backend/src/services/PaymentService.ts:197
↓ 3 callers
Function
getBookmark
(cookie, start, region)
workshops/global-serverless/web/player.js:106
↓ 3 callers
Method
getCategoryById
* Get a specific category by ID
workshops/modernizer/clean-start/backend/src/services/CategoryService.ts:36
↓ 3 callers
Method
getCategoryById
* Get a specific category by ID
workshops/modernizer/backend/src/services/CategoryService.ts:39
↓ 3 callers
Method
getCategoryTree
* Get categories organized in a hierarchical tree structure
workshops/modernizer/clean-start/backend/src/services/CategoryService.ts:28
↓ 3 callers
Method
getCategoryTree
* Get categories organized in a hierarchical tree structure
workshops/modernizer/backend/src/services/CategoryService.ts:31
↓ 3 callers
Method
getChildCategories
* Get child categories for a specific parent category
workshops/modernizer/clean-start/backend/src/services/CategoryService.ts:50
↓ 3 callers
Method
getChildCategories
* Get child categories for a specific parent category
workshops/modernizer/backend/src/services/CategoryService.ts:53
↓ 3 callers
Function
getCookiesForList
()
workshops/global-serverless/web/index.js:203
↓ 3 callers
Function
getCookiesForList
()
workshops/global-serverless/web/globalflix.js:203
↓ 3 callers
Method
getDynamoDBConfig
()
workshops/modernizer/backend/src/database/config/DatabaseConfig.ts:102
↓ 3 callers
Function
getPoolStats
()
workshops/modernizer/clean-start/backend/src/config/database.ts:188
↓ 3 callers
Function
getPoolStats
()
workshops/modernizer/backend/src/config/database.ts:188
↓ 3 callers
Method
getProductById
(productId: number)
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBProductRepository.ts:50
↓ 3 callers
Method
getProducts
* Get products with filtering, search, and pagination
workshops/modernizer/clean-start/backend/src/repositories/ProductRepository.ts:246
↓ 3 callers
Method
getProducts
(filters?: ProductSearchFilters, page: number = 1, limit: number = 10)
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBProductRepository.ts:131
↓ 3 callers
Method
getProducts
* Get products with filtering, search, and pagination
workshops/modernizer/backend/src/repositories/ProductRepository.ts:246
↓ 3 callers
Method
getSellerProductStats
* Get product statistics for seller dashboard
workshops/modernizer/clean-start/backend/src/services/ProductService.ts:330
↓ 3 callers
Method
getSellerProductStats
* Get product statistics for seller dashboard
workshops/modernizer/backend/src/services/ProductService.ts:333
↓ 3 callers
Method
getServerUrl
* Get server URL
workshops/modernizer/clean-start/backend/src/test-configs/test-helpers/server.ts:184
↓ 3 callers
Method
getServerUrl
* Get server URL
workshops/modernizer/backend/src/test-configs/test-helpers/server.ts:184
↓ 3 callers
Method
getTableName
(tableName: string)
workshops/modernizer/backend/src/database/config/DynamoDBClient.ts:76
↓ 3 callers
Function
get_user
(email)
examples/SDK/python/data_plane/WorkingWithItems/update_item_conditional.py:61
↓ 3 callers
Function
handlePageChange
(page: number)
workshops/modernizer/clean-start/frontend/src/pages/OrderHistoryPage.tsx:117
↓ 3 callers
Function
handlePageChange
(page: number)
workshops/modernizer/frontend/src/pages/OrderHistoryPage.tsx:117
↓ 3 callers
Method
handleSecurityEvent
(event: SecurityEvent)
workshops/modernizer/clean-start/frontend/src/services/errorService.ts:251
↓ 3 callers
Method
handleSecurityEvent
(event: SecurityEvent)
workshops/modernizer/frontend/src/services/errorService.ts:251
↓ 3 callers
Method
initializeWithToken
* Initialize token refresh service with current token
workshops/modernizer/clean-start/frontend/src/services/tokenRefreshService.ts:147
↓ 3 callers
Method
initializeWithToken
* Initialize token refresh service with current token
workshops/modernizer/frontend/src/services/tokenRefreshService.ts:147
↓ 3 callers
Function
insertItem
(tableName, skType, skValue)
scripts/PrintDistinctPKs/LoadMaxValues/nodejs/loadMaxValues.js:64
↓ 3 callers
Method
insertItem
(String tableName, AttributeValue skValue)
scripts/PrintDistinctPKs/java/loader/src/main/java/org/example/LoadMaxValues.java:131
↓ 3 callers
Function
insertRowForm
(table, itemKey, existingItem)
workshops/relational-migration/webapp/form.js:2
↓ 3 callers
Function
insert_item
(tableName, skType, skValue)
scripts/PrintDistinctPKs/LoadMaxValues/python/load_max_values.py:54
↓ 3 callers
Function
is_excluded
(name)
infrastructure_as_code/cdk/DynamoDBCustomMetrics/lambda/lambda_function.py:117
↓ 3 callers
Function
is_included
(name)
infrastructure_as_code/cdk/DynamoDBCustomMetrics/lambda/lambda_function.py:102
↓ 3 callers
Function
loadFlagsStatus
()
workshops/modernizer/frontend/src/pages/AdminMigrationControlPage.tsx:32
↓ 3 callers
Function
load_config
Load configuration from JSON file
workshops/modernizer/tools/contract_driven_migration_glue_mcp.py:14
↓ 3 callers
Function
load_config
Load configuration from JSON file
workshops/modernizer/clean-start/tools/contract_driven_migration_glue_mcp.py:14
↓ 3 callers
Function
logWarn
(message: string, data?: any)
workshops/modernizer/clean-start/frontend/src/services/logger.ts:335
↓ 3 callers
Function
logWarn
(message: string, data?: any)
workshops/modernizer/frontend/src/services/logger.ts:335
↓ 3 callers
Function
log_error_details
Log detailed error information for troubleshooting. Args: error: Exception that occurred context: Additional context information
scripts/dynamodb-local-bulk-loader/src/error_handler.py:186
↓ 3 callers
Method
mapDbRowToUser
* Map database row to User model * Converts 'is_seller' tinyint to boolean
workshops/modernizer/clean-start/backend/src/repositories/UserRepository.ts:147
↓ 3 callers
Function
queryPaginatedData
(pageSize, lastKey, scanForward)
examples/SDK/node.js/sdk_v3/data_plane/WorkingWithQueries/query-with-pagination-backwards.js:10
↓ 3 callers
Method
recordRequest
(endpoint: string, responseTime: number, success: boolean)
workshops/modernizer/clean-start/backend/src/utils/performanceMonitor.ts:61
↓ 3 callers
Method
recordRequest
(endpoint: string, responseTime: number, success: boolean)
workshops/modernizer/backend/src/utils/performanceMonitor.ts:61
↓ 3 callers
Method
refreshToken
* Refresh the authentication token
workshops/modernizer/clean-start/frontend/src/services/tokenRefreshService.ts:79
↓ 3 callers
Method
refreshToken
* Refresh the authentication token
workshops/modernizer/frontend/src/services/tokenRefreshService.ts:79
↓ 3 callers
Method
removeToken
()
workshops/modernizer/clean-start/frontend/src/services/secureStorage.ts:184
↓ 3 callers
Method
removeToken
()
workshops/modernizer/frontend/src/services/secureStorage.ts:184
↓ 3 callers
Method
render
()
workshops/modernizer/frontend/src/components/ErrorBoundary.tsx:106
↓ 3 callers
Method
requiresPaymentDetails
* Check if payment method requires additional details
workshops/modernizer/clean-start/backend/src/services/PaymentService.ts:179
↓ 3 callers
Method
requiresPaymentDetails
* Check if payment method requires additional details
workshops/modernizer/backend/src/services/PaymentService.ts:190
↓ 3 callers
Method
retry_async
Retry async function with exponential backoff. Args: func: Async function to retry *args: Positional arguments for fu
scripts/dynamodb-local-bulk-loader/src/retry_handler.py:77
↓ 3 callers
Method
retry_sync
Retry sync function with exponential backoff. Args: func: Synchronous function to retry *args: Positional arguments f
scripts/dynamodb-local-bulk-loader/src/retry_handler.py:121
↓ 3 callers
Method
runLoadTest
* Run load test with multiple concurrent requests
workshops/modernizer/clean-start/backend/src/test-configs/test-helpers/performance-helpers.ts:56
↓ 3 callers
Method
runLoadTest
* Run load test with multiple concurrent requests
workshops/modernizer/backend/src/test-configs/test-helpers/performance-helpers.ts:56
↓ 3 callers
Method
sanitizeInput
* Sanitize text input based on type
workshops/modernizer/clean-start/frontend/src/services/sanitizationService.ts:153
↓ 3 callers
Method
sanitizeInput
* Sanitize text input based on type
workshops/modernizer/frontend/src/services/sanitizationService.ts:153
↓ 3 callers
Method
searchCategories
* Search categories by name
workshops/modernizer/clean-start/backend/src/services/CategoryService.ts:207
↓ 3 callers
Method
searchCategories
* Search categories by name
workshops/modernizer/backend/src/services/CategoryService.ts:210
↓ 3 callers
Function
setTableTitle
(title)
workshops/relational-migration/webapp/form.js:380
↓ 3 callers
Method
setupAutoRefresh
* Set up automatic token refresh based on expiration time
workshops/modernizer/clean-start/frontend/src/services/tokenRefreshService.ts:23
↓ 3 callers
Method
setupAutoRefresh
* Set up automatic token refresh based on expiration time
workshops/modernizer/frontend/src/services/tokenRefreshService.ts:23
↓ 3 callers
Function
setupIntegrationTests
()
workshops/modernizer/backend/src/test-configs/integration-setup.ts:18
↓ 3 callers
Method
setupTestDatabase
* Set up test database with schema and initial data
workshops/modernizer/clean-start/backend/src/test-configs/test-helpers/database.ts:11
↓ 3 callers
Method
setupTestDatabase
* Set up test database with schema and initial data
workshops/modernizer/backend/src/test-configs/test-helpers/database.ts:11
↓ 3 callers
Method
sleep
* Wait for a specific amount of time
workshops/modernizer/clean-start/backend/src/test-configs/test-helpers/reliability.ts:72
↓ 3 callers
Function
strip_quotes
(str)
workshops/relational-migration/chalicelib/mysql_calls.py:391
↓ 3 callers
Method
transformForDynamoDB
(mysqlData: Product)
workshops/modernizer/backend/src/database/wrappers/ProductDualWriteWrapper.ts:119
↓ 3 callers
Method
transformForDynamoDB
(mysqlData: User)
workshops/modernizer/backend/src/database/wrappers/UserDualWriteWrapper.ts:142
↓ 3 callers
Method
transformForDynamoDB
(mysqlData: Category)
workshops/modernizer/backend/src/database/wrappers/CategoryDualWriteWrapper.ts:92
↓ 3 callers
Method
transformFromDynamoDB
(item: any)
workshops/modernizer/backend/src/database/implementations/dynamodb/DynamoDBProductRepository.ts:299
↓ 3 callers
Method
validateForm
(data: Record<string, any>, rules: Record<string, any>)
workshops/modernizer/clean-start/frontend/src/services/errorService.ts:513
↓ 3 callers
Method
validateForm
(data: Record<string, any>, rules: Record<string, any>)
workshops/modernizer/frontend/src/services/errorService.ts:513
↓ 2 callers
Method
CreateTable
()
examples/SDK/dotnet/sdk_v2/WorkingWithTables/CreateTableProvisioned.cs:12
↓ 2 callers
Method
DeleteItem
()
examples/SDK/dotnet/sdk_v2/WorkingWithItems/DeleteItem.cs:15
↓ 2 callers
Method
PutItem
()
examples/SDK/dotnet/sdk_v2/WorkingWithItems/PutItem.cs:15
↓ 2 callers
Method
UpdateItem
()
examples/SDK/dotnet/sdk_v2/WorkingWithItems/UpdateItem.cs:15
↓ 2 callers
Method
_process_query
Process and record a single query.
workshops/modernizer/clean-start/database/mysql_log_parser.py:118
↓ 2 callers
Method
_process_query
Process and record a single query.
workshops/modernizer/database/mysql_log_parser.py:118
↓ 2 callers
Function
addToCart
(productId: number, quantity: number)
workshops/modernizer/clean-start/frontend/src/contexts/CartContext.tsx:80
↓ 2 callers
Function
addToCart
(productId: number, quantity: number)
workshops/modernizer/frontend/src/contexts/CartContext.tsx:80
↓ 2 callers
Method
authenticationFailure
(username: string, reason: string)
workshops/modernizer/clean-start/frontend/src/services/logger.ts:246
↓ 2 callers
Method
authenticationFailure
(username: string, reason: string)
workshops/modernizer/frontend/src/services/logger.ts:246
↓ 2 callers
Function
batch_write_to_dynamodb
(items)
infrastructure_as_code/cdk/ddb-migration/lambda/write-cdc/index.py:66
↓ 2 callers
Function
build_calculation_expression
Build SQL expression for calculations
workshops/modernizer/tools/generate_mysql_views.py:77
↓ 2 callers
Function
build_join_expression
Build SQL expression for join patterns
workshops/modernizer/tools/generate_mysql_views.py:33
↓ 2 callers
Function
build_statement
This method builds an update statement that is later executed in batch :param item: element returned when performing a read operation in Dyna
examples/SDK/python/data_plane/WorkingWithPartiQL/paginated-query-batch-execute-statement.py:25
↓ 2 callers
Function
build_transformation_expression
Build SQL expression for transformations
workshops/modernizer/tools/generate_mysql_views.py:101
↓ 2 callers
Method
cleanupCartData
* Clean up only cart and order data (preserve users and products)
workshops/modernizer/clean-start/backend/src/test-configs/test-helpers/e2e-helpers.ts:358
↓ 2 callers
Method
cleanupCartData
* Clean up only cart and order data (preserve users and products)
workshops/modernizer/backend/src/test-configs/test-helpers/e2e-helpers.ts:358
↓ 2 callers
Function
cleanupTestData
()
workshops/modernizer/backend/src/__tests__/integration/database/MigrationPhasesIntegration.test.ts:140
↓ 2 callers
Method
clearAllTables
* Clear all tables in proper order
workshops/modernizer/clean-start/backend/src/test-configs/test-helpers/database.ts:99
↓ 2 callers
Method
clearAllTables
* Clear all tables in proper order
workshops/modernizer/backend/src/test-configs/test-helpers/database.ts:99
← previous
next →
301–400 of 2,858, ranked by callers