# File lib/aws-sdk-core/plugins/s3_bucket_name_restrictions.rb, line 7 def call(context) if context.params.key?(:bucket) && context.params[:bucket].include?('/') msg = ":bucket option must not contain a forward-slash (/)" raise ArgumentError, msg end @handler.call(context) end