Как изменить Aws Cli DynamodB Max_attempts или повторных попыток?

Я использую aws dynamodb Cli и хотел бы это количество повторов. Сегодня я получаю:

2018-04-17 19:54:38,889 - MainThread - botocore.retryhandler - DEBUG - retry needed: matching HTTP status and error code seen: 400, ProvisionedThroughputExceededException 2018-04-17 19:54:38,889 - MainThread - botocore.retryhandler - DEBUG - Reached the maximum number of retry attempts: 10 2018-04-17 19:54:38,889 - MainThread - botocore.retryhandler - DEBUG - No retry needed. 2

Я хотел бы ограничить количество повторных попыток до 2. Я искал ученика aws configure set вариант безрезультатный. Я старался:

aws configure set max_attempts 2 aws configure set default.max_attempts 2 aws configure set default.dynamodb.max_attempts 2

botocore кажется, есть код на Python, чтобы уважать max_attempts в https://github.com/boto/botocore/pull/1260/files

0 ответов

Другие вопросы по тегам