Hello team — I’m seeing an ArgumentError when initializing Aws::Ivschat::Client with the :xray_recorder option.
Summary
Aws::Ivschat::Client.new raises ArgumentError (invalid configuration option :xray_recorder) when the X-Ray Ruby SDK is configured.
Steps to Reproduce
require 'aws-xray-sdk'
require 'aws-sdk-ivschat'
# NG if passing patch argument
XRay.recorder.configure(name: 'demo', patch: %i[aws_sdk])
Aws::Ivschat::Client.new
# OK if not passing patch argument
XRay.recorder.configure(name: 'demo')
Aws::Ivschat::Client.new
Error
aws-sdk-core-3.224.1/lib/seahorse/client/configuration.rb:168:in 'block in Seahorse::Client::Configuration#apply_options': invalid configuration option `:xray_recorder' (ArgumentError)
Possible Cause
IVSChat might be missing from the allow-list in
aws/aws-xray-sdk-ruby ➜ aws_services_allowlist.rb.
Hello team — I’m seeing an
ArgumentErrorwhen initializingAws::Ivschat::Clientwith the:xray_recorderoption.Summary
Aws::Ivschat::Client.newraisesArgumentError (invalid configuration option :xray_recorder)when the X-Ray Ruby SDK is configured.Steps to Reproduce
Error
Possible Cause
IVSChatmight be missing from the allow-list inaws/aws-xray-sdk-ruby ➜ aws_services_allowlist.rb.