Complete the code to specify the unit for Lambda memory pricing.
lambda_memory_price_per_[1] = 0.00001667
The Lambda pricing for memory is charged per GB-second, which means per gigabyte of memory used per second of execution.
Complete the code to calculate the total Lambda cost given memory in GB and duration in seconds.
total_cost = memory_in_[1] * duration_in_[2] * price_per_gb_second
Memory must be in GB and duration in seconds to correctly calculate Lambda cost using the GB-second pricing model.
Fix the error in the Lambda cost calculation by choosing the correct unit for duration.
cost = memory_gb * duration_in_[1] * price_per_gb_secondLambda duration is billed in seconds, so duration must be in seconds for correct cost calculation.
Fill both blanks to complete the Lambda pricing formula for total cost.
total_cost = [1] * [2] * price_per_gb_second
The total cost is calculated by multiplying memory in GB by duration in seconds and the price per GB-second.
Fill all three blanks to complete the Lambda pricing calculation including request count.
total_cost = ([1] * [2] * price_per_gb_second) + ([3] * price_per_request)
The total Lambda cost includes the compute cost (memory GB * duration seconds * price per GB-second) plus the request cost (number of requests * price per request).