結論 import boto3 from botocore.config import Config config = Config(retries = { 'max_attempts': 10, 'mode': 'standard' } ) client = boto3.client('s3', config=config) でOKです。 巷では、 pip install retrying https://github.com/rholder/retrying をインストールして、回避する方法もありますが、lambdaであればlayer追加等の手順が必要なこともあるので、基本的には、aws …
↧