class Aws::Plugins::StubResponses
requests are made, and retries are disabled.
** Please note ** When response stubbing is enabled, no HTTP
{ClientStubs#stub_responses}. See {ClientStubs} for more information.
the response data to return or errors to raise by calling
fake responses are generated and returned. You can specify
Causes the client to return stubbed responses. By default
@seahorse.client.option [Boolean] :stub_responses (false)
def add_handlers(handlers, config)
def add_handlers(handlers, config) handlers.add(Handler, step: :send) if config.stub_responses end
def after_initialize(client)
def after_initialize(client) if client.config.stub_responses client.setup_stubbing client.handlers.remove(RetryErrors::Handler) end end