boto3で接続のタイムアウトを設定する

  • 1
    Like
  • 0
    Comment

python 3.7
boto3 1.4.4

http://botocore.readthedocs.io/en/latest/reference/config.html

from boto3.session import Session
from botocore.client import Config

session = Session()
config = Config(read_timeout=65)
client = session.client('stepfunctions', config=config)