module Aws::ClientStubs
def api_requests(options = {})
-
(NotImplementedError)
- Raises `NotImplementedError` when the client
Returns:
-
(Array)
- Returns an array of the api requests made. Each request
Options Hash:
(**options)
-
:exclude_presign
(Boolean
) -- Set to true to filter
Parameters:
-
options
(Hash
) -- The options for the api requests.
def api_requests(options = {}) if config.stub_responses if options[:exclude_presign] @api_requests.reject {|req| req[:context][:presigned_url] } else @api_requests end else msg = 'This method is only implemented for stubbed clients, and is '\ 'available when you enable stubbing in the constructor with `stub_responses: true`' raise NotImplementedError.new(msg) end end