In my case I'm using DynamoDB to back an AppSync endpoint and Cognito for auth.
The Appsync Pricing indicates "You are billed separately for query and data modification operations, and for performing real-time updates on your data".
I'd like to confirm that "query and data modification operations" applies only to DynamoDB operations and not to other data manipulations that might be done within functions along a pipeline.
So, in the following example, function one is not billable?
- Pipeline Before : some authentication checks
- Function 1 : data validation, stashes result (datasource type = NONE)
- Function 2 : DynamoDB PutItem (datasource type = AMAZON_DYNAMODB)
- Pipeline After : returns $ctx.result
And... in the following completely ridiculous, manufactured-to-make-a-point, contrived example, Functions 1-9 would not be billable?
- Pipeline Before : some authentication checks
- Function 1 : data validation, stashes result (datasource type = NONE)
- Function 2 : something else, stashes result (datasource type = NONE)
- Function 3 : something else, stashes result (datasource type = NONE)
- Function 4 : something else, stashes result (datasource type = NONE)
- Function 5 : something else, stashes result (datasource type = NONE)
- Function 6 : something else, stashes result (datasource type = NONE)
- Function 7 : something else, stashes result (datasource type = NONE)
- Function 8 : something else, stashes result (datasource type = NONE)
- Function 9 : something else, stashes result (datasource type = NONE)
- Function 10 : DynamoDB PutItem (datasource type = AMAZON_DYNAMODB)
- Pipeline After : returns $ctx.result