-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
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.newError
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.
Metadata
Metadata
Assignees
Labels
No labels