Justin Plock

Results 84 comments of Justin Plock

There's a lot of overlap between the [Event Handler](https://docs.powertools.aws.dev/lambda/python/latest/core/event_handler/api_gateway/), [Event Source Data Classes](https://docs.powertools.aws.dev/lambda/python/latest/utilities/data_classes/), [Parser](https://docs.powertools.aws.dev/lambda/python/latest/utilities/parser/), and [Validation](https://docs.powertools.aws.dev/lambda/python/latest/utilities/validation/) Is there a nice way to unify it all somehow?

To add additional context, I’m looking for easier ways to construct DynamoDB operations that doesn’t involve defining models or creating an ORM. It would be neat to have a layer...

I just found https://github.com/nayaverdier/dyntastic. It's missing transaction support but maybe the author would be willing to add it.

More regions added for signer? https://github.com/boto/botocore/commit/65dc6b6

```python from typing import List, Any import boto3 # https://stackoverflow.com/a/1751478 def chunks(l, n): n = max(1, n) return (l[i:i+n] for i in range(0, len(l), n)) DYNAMODB_BATCH_WRITE_ITEM_LIMIT = 25 SQS_SEND_MESSAGE_BATCH_LIMIT =...

Here's a more flushed out example of a DynamoDB `batch_write_item` helper: ``` dynamodb = boto3.client("dynamodb") max_retries = 15 min_sleep_time = 1e-2 @tracer.capture_method(capture_response=False) def batch_write(items: Dict[str, Any], retry_count: int = 0)...

Would you be open to submitting a pull request for this list?

Hi @jarrettj , apologies for the delay. Can you provide the error message you are receiving?

Did you name the signing profile `OrganizationSetupProfile` ?

The Lambda functions are using scoped down roles and the Amplify role is only used for deployment. Is there another area you’d like to see least privileged followed?