Sha256: df6d450cf80756d0d230272bb9c5df27d365c5fe61fe05a513f505d80264c042
Contents?: true
Size: 452 Bytes
Versions: 44
Compression:
Stored size: 452 Bytes
Contents
# frozen_string_literal: true require 'securerandom' module Aws module Plugins # @api private class InvocationId < Seahorse::Client::Plugin # @api private class Handler < Seahorse::Client::Handler def call(context) context.http_request.headers['amz-sdk-invocation-id'] = SecureRandom.uuid @handler.call(context) end end handler(Handler, step: :initialize) end end end
Version data entries
44 entries across 44 versions & 1 rubygems