class Aws::Plugins::RetryErrors::Handler
def get_send_token(config)
def get_send_token(config) # either fail fast or block until a token becomes available # must be configurable # need a maximum rate at which we can send requests (max_send_rate) # is unset until a throttle is seen if config.retry_mode == 'adaptive' config.client_rate_limiter.token_bucket_acquire( 1, config.adaptive_retry_wait_to_fill ) end end