def METHOD_NAME(session, case_configuration):
    config = botocore.config.Config(
        retries={'max_attempts': case_configuration['maxRetries']}
    )
    session.set_default_client_config(config)